← Back to linear algebra 1

Systems of Linear Equations

Linear Equations

A linear equation in nn variables x1,x2,,xnx_1, x_2, \ldots, x_n is an equation that can be written in the form:

a1x1+a2x2++anxn=ba_1x_1 + a_2x_2 + \cdots + a_nx_n = b

where a1,a2,,ana_1, a_2, \ldots, a_n and bb are constants, and at least one coefficient aia_i is non-zero.

Geometric Interpretation

  • A linear equation in two variables xx and yy represents a line in the 2D plane.
  • A linear equation in three variables xx, yy, and zz represents a plane in the 3D space.
  • A linear equation in more variables represents a hyperplane.

Interactive Graph


Systems of Linear Equations

A system of linear equations is a collection of linear equations. For example:

{2x+y=153x2y=5\begin{cases} 2x + y = 15 \\ 3x - 2y = 5 \end{cases}

A solution to a system is an assignment of values to the variables that satisfies all equations simultaneously.

Geometrically, they corresponds to intersection of the geometric objects represented by each equation. For example, the solution (5,5)(5, 5) to the above system is the point where these two lines intersect:

Interactive Graph


Number of Solutions

A linear system is called inconsistent if it has no solutions; otherwise, it is called consistent. A consistent linear system has either a unique solution or infinitely many solutions.