Courses / Physics I
Linear Algebra and Geometry

Systems of Linear Equations and Gaussian Elimination

A system of linear equations in matrix form: Gaussian elimination reduces the augmented matrix [A|b] to row echelon form: 1.

Physics I 176 words Free to read

A system of linear equations in matrix form:

Ax=bA\vec{x} = \vec{b}

Gaussian elimination reduces the augmented matrix [Ab][A|\vec{b}] to row echelon form:

  1. Swap two rows: RiRjR_i \leftrightarrow R_j.
  2. Scale a row: RiαRiR_i \to \alpha R_i, α0\alpha \neq 0.
  3. Add a multiple: RiRi+αRjR_i \to R_i + \alpha R_j.

Example — Solve the 2×22\times 2 system:

(215411)R22R1(215039)\begin{pmatrix} 2 & 1 & | & 5 \\ 4 & -1 & | & 1 \end{pmatrix} \xrightarrow{R_2 - 2R_1} \begin{pmatrix} 2 & 1 & | & 5 \\ 0 & -3 & | & -9 \end{pmatrix}

Back-substitution gives y=3y = 3, x=1x = 1.

Solution types

Tip: Always check the rank of both AA and [Ab][A|\vec{b}] before interpreting the solution.
Common pitfall: Row operations preserve the solution set, not the matrix: the echelon form is a different matrix telling the same story. And a row 0  0    c0\;0\;|\;c with c0c \ne 0 ends that story — no solution, stop.
Placeholder: Systems of Linear Equations and Gaussian Elimination

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

13practice questions
2interactive scenes
Start Physics I free

Linear Algebra and Geometry