Teleport

Main features

On this page

Topics

Arithmetic drills
Grade 7
Grade 8
Grade 9
Math I
Math A
Math II
Math B
Math C
Math III
Calculus
Linear algebra
Differential equations

Display

Theme
Linear algebra

Systems of linear equations

Row-reducing the augmented matrix solves any linear system systematically, and the rank tells you whether solutions exist.

Basic, Standard, Advanced: University Year 1 · 1st semester

Math problem generator

Level

Gaussian elimination

The three elementary row operations do not change the solutions:

  • swap two rows;
  • multiply a row by a nonzero number;
  • add a multiple of one row to another.

Reduce the augmented matrix (A∣b)(A \mid \boldsymbol{b}) until each pivot is 11 with zeros above and below it (reduced row echelon form); then read off the solution.

(1002010−10013)⇒x=2, y=−1, z=3\left(\begin{array}{ccc|c} 1 & 0 & 0 & 2 \\ 0 & 1 & 0 & -1 \\ 0 & 0 & 1 & 3 \end{array}\right) \quad\Rightarrow\quad x = 2,\ y = -1,\ z = 3

Rank and solvability

The number of nonzero rows in an echelon form is the rank. With nn unknowns:

Solvability
  • rank⁡A=rank⁡(A∣b)=n\operatorname{rank} A = \operatorname{rank}(A \mid \boldsymbol{b}) = n: exactly one solution
  • rank⁡A=rank⁡(A∣b)<n\operatorname{rank} A = \operatorname{rank}(A \mid \boldsymbol{b}) < n: infinitely many solutions (n−rank⁡An - \operatorname{rank} A free parameters)
  • rank⁡A<rank⁡(A∣b)\operatorname{rank} A < \operatorname{rank}(A \mid \boldsymbol{b}): no solution

A homogeneous system Ax=0A\boldsymbol{x} = \boldsymbol{0} always has x=0\boldsymbol{x} = \boldsymbol{0}; for square AA it has a nontrivial solution exactly when ∣A∣=0|A| = 0.

Parametric solutions and solution spaces

When there are infinitely many solutions, set each free variable (a column without a pivot) equal to a parameter such as tt and express the others in terms of it. If the reduced form is x+2z=2x + 2z = 2 and y−3z=−3y - 3z = -3, then with z=tz = t:

x=2−2t,y=−3+3t,z=tx = 2 - 2t,\quad y = -3 + 3t,\quad z = t

The solution space of Ax=0A\boldsymbol{x} = \boldsymbol{0} has dimension n−rank⁡An - \operatorname{rank} A.