Solving Systems by Gaussian Elimination
How to find every solution of a linear system . We justify why row-reducing the augmented matrix never changes the solution set (Lemma 5.1 and Theorem 5.5), read off consistency by comparing with , and run the course's 4-step procedure to write the full solution as a particular solution plus a basis of . Along the way we meet the three possible outcomes: a unique solution, infinitely many, or none.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Solve the system and give the solution vector :
How many solutions does have?
What you’ll be able to do
- State Lemma 5.1 and Theorem 5.5 and explain why performing elementary row operations on the augmented matrix leaves the solution set unchanged.
- Use the comparison versus to decide whether is inconsistent, has a unique solution, or has infinitely many solutions.
- Carry out the course's 4-step procedure: reduce to reduced echelon form, set non-pivot columns as free variables , solve each pivot variable, and write .
- Interpret the solution set as a particular solution plus (an affine subspace), and connect to the number of free variables.
- Classify concrete small systems among the three cases of Examples 5.7-5.11: unique (nullity ), infinitely many (free variables), or inconsistent (rank mismatch).
In your course
· MATH2015 · Linear Algebra & Probability- Lemma 5.1Invertible transformations preserve solutionsFor an matrix , , and any invertible matrix , .
- Theorem 5.5Row operations on the augmented matrix preserve the solution setIf and are obtained from and by the same elementary row operations, then .
- Theorem 5.4Structure of the solution set; the system is consistent iff ; and if is one solution then .
- Examples 5.7-5.11The three cases worked outUnique solution with nullity (Ex. 5.11); infinitely many with free variables (Ex. 5.7, 5.9, 5.10); inconsistent with a rank mismatch (Ex. 5.8).
The augmented matrix and why row-reduction is legal
A system of equations in unknowns is written with coefficient matrix and right-hand side . We record it compactly in the augmented matrix . The whole method rests on one fact: elementary row operations (swap two rows, scale a row by a nonzero scalar, add a multiple of one row to another) do not change the solution set. Each such operation is multiplication on the left by an invertible matrix, and Lemma 5.1 says that multiplying both sides by an invertible turns into . Applied to the augmented matrix (same operation on and on simultaneously), this is Theorem 5.5: .
Consistency via rank
The solution set is . The system is consistent if this set is nonempty and inconsistent if it is empty. Theorem 5.4 gives the test: is consistent if and only if , equivalently . Appending can only keep the rank the same or raise it by one, so there are exactly two possibilities. If the reduced matrix has a row with , i.e. the impossible equation , and the system has no solution (Example 5.8).
Structure of the solution set: particular + homogeneous
When the system is consistent, Theorem 5.4 describes the shape of the answer. First, the homogeneous system always has the solution and its full solution set is , a subspace of of dimension (rank-nullity). Second, if is any one (particular) solution of , then . So the general solution is one particular solution plus all homogeneous solutions. For this is an affine subspace (a point, line, or plane shifted off the origin), not a subspace, because is not a solution.
The 4-step solving procedure
(1) Bring to reduced echelon form and compare with ; if they differ, stop -- there is no solution. (2) The columns of without a pivot correspond to free variables; name them where . (3) Each nonzero row of the reduced matrix solves one pivot variable in terms of the and the last column. (4) Collect the constant part and the -parts to write , where is a particular solution and form a basis of . Three outcomes: gives a unique solution (Example 5.11); with consistency gives infinitely many (Examples 5.7, 5.9, 5.10); rank mismatch gives none (Example 5.8).
Let be an matrix and . For any invertible matrix , .
If is obtained from by elementary row operations and is obtained from by the same operations, then .
Let with , . (1) , a subspace of with . (2) The following are equivalent: is consistent; ; . (3) If is one solution, then .
Worked examples
Unique solution (nullity ), in the spirit of Example 5.11. Solve and classify the solution set.
- 1
Write the augmented matrix . By Theorem 5.5 we may row-reduce it without changing the solution set.
- 2
Clear the first column with and : .
- 3
Clear the second column with and scale : . Every column of has a pivot, so and .
- 4
Back-substitute: , then , then . Since with no free variables, the solution is unique. Check: , , .
Infinitely many solutions (Example 5.9). Find the solution set of .
No solution (Example 5.8). Decide whether is consistent.