Courses / Physics I
Linear Algebra and Geometry

Systems of Linear Equations and Gaussian Elimination

Physics I 266 words Free to read

Linear Systems & Gaussian Form

A system of linear equations in matrix form is written as Ax⃗=b⃗A\vec{x} = \vec{b}, where AA is the coefficient matrix, x⃗\vec{x} is the variable vector, and b⃗\vec{b} is the constant vector.

Gaussian elimination solves this by reducing the augmented matrix [A∣b⃗][A|\vec{b}] into row echelon form using three safe operations:

OperationNotationRule
SwapRi↔RjR_i \leftrightarrow R_jExchange rows
ScaleRi→αRiR_i \to \alpha R_iα≠0\alpha \neq 0
AddRi→Ri+αRjR_i \to R_i + \alpha R_jAdd multiple

Example: Solve a 2×22\times 2 system: (21∣54−1∣1)→R2−2R1(21∣50−3∣−9)\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 yields y=3y = 3 and x=1x = 1. Row operations preserve the solution set, but yield a different matrix telling the same story.

Solution Types & Ranks

Always check the rank of both AA and the augmented matrix [A∣b⃗][A|\vec{b}] before interpreting your final system outcome.

Solution TypeRank ConditionMeaning
Uniquerk(A)=rk([A∣b⃗])=n\mathrm{rk}(A) = \mathrm{rk}([A|\vec{b}]) = nExact fit
Infiniterk(A)=rk([A∣b⃗])<n\mathrm{rk}(A) = \mathrm{rk}([A|\vec{b}]) < nFree variables
Nonerk(A)<rk([A∣b⃗])\mathrm{rk}(A) < \mathrm{rk}([A|\vec{b}])Contradiction

Common pitfall: A resulting row of the form 0  0  ∣  c0\;0\;|\;c where c≠0c \neq 0 instantly means no solution. Stop immediately when this contradiction appears.

Placeholder: Systems of Linear Equations and Gaussian Elimination

Practise this lesson

Try the questions below, free, answers included. The full set, with its interactive scenes, is in the Tryals app.

13practice questions
2interactive scenes

Linear Algebra and Geometry