The Timpson Lyceum seal

The Timpson Lyceum · Linear Algebra (2026)

Systems of Linear Equations and Echelon Forms – Lecture 1 (Linear Algebra)

Overview

This lecture begins the course proper, taking the familiar problem of finding where two lines cross and rebuilding it as a general procedure that works in any number of variables. It starts by pinning down exactly what makes an equation linear, then shows that a system of linear equations always falls into one of three cases — no solution, exactly one, or infinitely many — with no other possibility. The central move is to strip a system down to its coefficients and record it as a matrix, so that solving becomes a matter of manipulating rows rather than rewriting variables. Three elementary row operations drive the whole process, and running them to completion produces echelon form and then reduced echelon form. From those forms the lecture reads off the pivot positions, separates basic variables from free variables, and states the criterion that decides existence and uniqueness for any system at all.

Key Concepts

What makes an equation linear

a1x1+a2x2+⋯+anxn=ba_1 x_1 + a_2 x_2 + \cdots + a_n x_n = b

where the aia_i and bb are constants. The defining test is whether the equation can be rearranged into that shape — not whether it is already presented that way.

EquationLinear?Reason
2x+9y=112x + 9y = 11YesConstant times variable, summed, equal to a constant
19x1+3=−7x2+119x_1 + 3 = -7x_2 + 1YesRearranges to 19x1+7x2=−219x_1 + 7x_2 = -2
y=x2+1y = x^2 + 1Noxx carries an exponent of 22 — a parabola, not a line
x1x2=4x_1 x_2 = 4NoThe variables multiply each other; it cannot be split into a1x1+a2x2a_1x_1 + a_2x_2

Systems and their three outcomes

Matrix notation

x+y=32x−y=0\begin{aligned} x + y &= 3 \\ 2x - y &= 0 \end{aligned}

the coefficient matrix records only the left-hand sides, while the augmented matrix appends the constants from the right:

coefficient:[112−1]augmented:[1132−10]\begin{aligned} \text{coefficient:}\quad \begin{bmatrix} 1 & 1 \\ 2 & -1 \end{bmatrix} \qquad \text{augmented:}\quad \left[\begin{array}{cc|c} 1 & 1 & 3 \\ 2 & -1 & 0 \end{array}\right] \end{aligned}

The three elementary row operations

Echelon form and reduced echelon form

Theorem 1 (uniqueness of the reduced echelon form). Every matrix is row equivalent to one and only one matrix in reduced echelon form. Existence follows from the algorithm itself, which must terminate because each pass permanently retires one row and one column of a finite array. Uniqueness is proved by induction on the number of columns: deleting the last column of two reduced echelon forms of the same matrix makes them identical by the induction hypothesis, and examining whether the final column is a pivot column forces the last columns to agree as well.

Pivots, basic variables, and free variables

Theorem 2 (existence and uniqueness). A linear system is consistent if and only if the rightmost column of the augmented matrix is not a pivot column — equivalently, if and only if an echelon form has no row of the form

[00⋯0b]with b≠0\begin{bmatrix} 0 & 0 & \cdots & 0 & b \end{bmatrix} \quad \text{with } b \neq 0

Such a row asserts 0=b0 = b for some nonzero bb, which is never true, so the system has no solution. When a system is consistent, it has a unique solution if there are no free variables, and infinitely many solutions if there is at least one free variable.

Worked Example

Solve the system

x1−2x2+x3=02x2−8x3=85x1−5x3=10\begin{aligned} x_1 - 2x_2 + x_3 &= 0 \\ 2x_2 - 8x_3 &= 8 \\ 5x_1 - 5x_3 &= 10 \end{aligned}

Write the augmented matrix and drive it to reduced echelon form. The forward phase clears each pivot column below the diagonal; the backward phase clears above.

[1−21002−8850−510]∼[1−21002−88010−1010]R3→R3−5R1∼[1−21001−44010−1010]R2→12R2∼[1−21001−440030−30]R3→R3−10R2∼[1−21001−44001−1]R3→130R3∼[1−2010100001−1]R1→R1−R3,  R2→R2+4R3∼[10010100001−1]R1→R1+2R2\begin{aligned} \left[\begin{array}{ccc|c} 1 & -2 & 1 & 0 \\ 0 & 2 & -8 & 8 \\ 5 & 0 & -5 & 10 \end{array}\right] &\sim \left[\begin{array}{ccc|c} 1 & -2 & 1 & 0 \\ 0 & 2 & -8 & 8 \\ 0 & 10 & -10 & 10 \end{array}\right] && R_3 \to R_3 - 5R_1 \\ &\sim \left[\begin{array}{ccc|c} 1 & -2 & 1 & 0 \\ 0 & 1 & -4 & 4 \\ 0 & 10 & -10 & 10 \end{array}\right] && R_2 \to \tfrac{1}{2} R_2 \\ &\sim \left[\begin{array}{ccc|c} 1 & -2 & 1 & 0 \\ 0 & 1 & -4 & 4 \\ 0 & 0 & 30 & -30 \end{array}\right] && R_3 \to R_3 - 10R_2 \\ &\sim \left[\begin{array}{ccc|c} 1 & -2 & 1 & 0 \\ 0 & 1 & -4 & 4 \\ 0 & 0 & 1 & -1 \end{array}\right] && R_3 \to \tfrac{1}{30} R_3 \\ &\sim \left[\begin{array}{ccc|c} 1 & -2 & 0 & 1 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & -1 \end{array}\right] && R_1 \to R_1 - R_3,\; R_2 \to R_2 + 4R_3 \\ &\sim \left[\begin{array}{ccc|c} 1 & 0 & 0 & 1 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & -1 \end{array}\right] && R_1 \to R_1 + 2R_2 \end{aligned}

Every column of the coefficient part is a pivot column, so there are no free variables and the solution is unique. Reading the final matrix row by row gives x1=1x_1 = 1, x2=0x_2 = 0, x3=−1x_3 = -1, that is (1,0,−1)(1, 0, -1). Substituting back confirms all three equations: 1−0+(−1)=01 - 0 + (-1) = 0, 0+8=80 + 8 = 8, and 5+5=105 + 5 = 10.

For contrast, a system whose echelon form contains the row

[00015]\left[\begin{array}{ccc|c} 0 & 0 & 0 & 15 \end{array}\right]

asserts 0=150 = 15 and is therefore inconsistent — no amount of further work will produce a solution.

Summary