Finish back-substitution for an upper-triangular system
Work upward substituting the known unknowns. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
Back substitution is the same one-row step repeated until every unknown is found. The only thing that changes between steps is the amount of arithmetic: row 3 has one unknown, row 2 has two, row 1 has three.
Row 3., so.
Row 2.. Substitute:, so.
Row 1.. Substitute both:, so and.
Check. ✓
Three rows, three divisions, three substitutions. That is the whole algorithm.
Row of an upper triangular system contains and the unknowns after it. In the bottom row, "the unknowns after it" is the empty set. In the row above, it is one unknown. So the number of unknowns decreases as you move down, and exactly one row — the last — is solvable at the start.
This is not a convention about presentation; it is a statement about what is determined. Any attempt to solve row 1 first faces three unknowns and one equation, which has a two-parameter family of solutions, none of them the solution.
The division is by the pivot in that row, and the pivot is nonzero by construction — elimination refused to leave a zero on the diagonal. If one survives, the substitution stops there, and that is a failure of the elimination rather than of the substitution.
Solve with
Row 3. ⟹.
Row 2.. Write the term:, so and.
Row 1.. Write the terms:, so.
Check every row of the original system.
Row 1: ✓ Row 2: ✓ Row 3: ✓
Solution. Note that each step needed the previous answers, so a single error in row 2 would have corrupted row 1 as well — which is exactly why the check is against the original rows and not against the step you just did.
- Work upward substituting the known unknowns
- Confirm a back-substituted solution in the original equations
- Carry an exact fraction through the whole upward sweep
- 1.,. Solve.
- 2. In the same system, what is?
- 3. How many substitutions does row 2 of a triangular system need?
- 4. If and row 2 is, what is?
- 5. What does it mean if a diagonal entry of is zero when you reach it?
Answers
- 1., then so.
- 2..
- 3. Two — and appear in it.
- 4., so and.
- 5. That the row cannot be divided, so the substitution stops. It is a defect of the elimination that produced, which should have exchanged rows.