Linear Systems and Gauss's Method
- Translate a word problem into an augmented matrix and classify the system as consistent or inconsistent
- Apply Gaussian elimination to bring a matrix to echelon form, recording each row operation
- Identify pivot variables and free variables from echelon form and state what each implies about the solution set
- Determine existence and uniqueness of solutions directly from echelon form without back-substituting
Linear Systems
A linear equation in variables has the form
where the coefficients and the right-hand side are constants. A linear system is a collection of such equations that must hold simultaneously.
Three outcomes are possible for any linear system:
- Unique solution — exactly one assignment of values satisfies all equations
- No solution — the equations are inconsistent (a contradictory equation appears during reduction)
- Infinitely many solutions — at least one variable is free to range over
No other outcome is possible. This trichotomy is a theorem, not an assumption.
Matrix Form
A linear system is compactly written as , where is the coefficient matrix, is the column vector of unknowns, and is the column vector of right-hand sides.
The augmented matrix packages the coefficient matrix and right-hand side together:
All row operations are performed on the augmented matrix — we never need to write the variable names explicitly during elimination.
Row Operations
Three elementary row operations transform a system without changing its solution set:
| Operation | Notation | Effect |
|---|---|---|
| Swap two rows | Reorders equations | |
| Scale a row by | Multiplies equation by a nonzero constant | |
| Add a multiple of one row to another | Combines two equations |
The swap and scale operations are preparatory. The workhorse is the row combination: adding a multiple of one row to another is what actually eliminates variables.
Gauss's Method (Row Reduction)
Gauss's method applies row combinations to produce a staircase pattern where each row's first nonzero entry — called the pivot or leading entry — is strictly to the right of the pivot in the row above. This form is called echelon form (or row echelon form).
Algorithm
- Find the leftmost column with a nonzero entry. Swap rows if needed to place a nonzero entry at the top of that column.
- Use row combinations to zero out all entries below the pivot.
- Cover the top row and repeat on the remaining submatrix.
- Stop when no rows remain or all remaining rows are zero.
Example
Solve the system:
Augmented matrix and reduction:
This is echelon form. Back-substitution:
- Row 3:
- Row 2:
- Row 1:
Solution: .
Pivot Variables and Free Variables
After reduction to echelon form:
- A pivot variable (or leading variable) is one whose column contains a leading entry. It can be solved for in terms of the free variables.
- A free variable corresponds to a column with no leading entry. It can take any value, generating infinitely many solutions.
Decision rule:
- No free variables + no contradictory row → unique solution
- Any free variable + no contradictory row → infinitely many solutions
- Any row of the form with → no solution
Reduced Echelon Form and Gauss-Jordan
Reduced row echelon form (RREF) adds two requirements to echelon form:
- Each pivot equals 1
- All entries above each pivot are also zero
Gauss-Jordan reduction achieves RREF by additionally eliminating upward (above each pivot) after the forward pass. The result directly reads off the solution without back-substitution. For large systems, Gauss-Jordan is less numerically preferred than plain Gaussian elimination followed by back-substitution — but it is conceptually clean and useful for computing matrix inverses.