Augmented matrices and row reduction
An augmented matrix [A|b] places the coefficient table A beside the constants b. Each row represents one equation; each coefficient column follows one fixed variable order. The vertical line is a separator, not an operation.
What you will learn
- Translate equations into [A|b]
- Perform elimination
- Read solutions from echelon form
From equations to an augmented matrix and a solution
- Fix variable order x,y,z. The system is x+y+z=6; 2x+3y+z=11; x−y+2z=5.
- Read coefficients: A=[[1,1,1],[2,3,1],[1,−1,2]]. Constants form b=(6,11,5).
- Attach b: [A|b]=[[1,1,1|6],[2,3,1|11],[1,−1,2|5]]. The coefficient matrix is 3×3; the augmented matrix is 3×4.
- Allowed row operations: swap two rows; scale a row by a nonzero number; add a multiple of another row. Each operation is reversible and preserves the solution set.
- R₂←R₂−2R₁: [2,3,1|11]−2[1,1,1|6]=[0,1,−1|−1].
- R₃←R₃−R₁ gives [[1,1,1|6],[0,1,−1|−1],[0,−2,1|−1]].
- R₃←R₃+2R₂ gives [[1,1,1|6],[0,1,−1|−1],[0,0,−1|−3]]. The leading entries step to the right: echelon form.
- Last row: −z=−3, so z=3. Row 2: y−3=−1, so y=2.
- Row 1: x+2+3=6, so x=1. Check all equations: 1+2+3=6; 2+6+3=11; 1−2+6=5.
- If a variable is missing, write coefficient zero. For x+z=4, the augmented row in x,y,z order is [1,0,1|4].
Create and use an elimination matrix
- Start with A=[[1,1,0],[2,3,1],[1,0,2]]. To clear the 2 below the first pivot, replace row 2 by row 2−2 row 1.
- Apply that row operation to I: E₂₁=[[1,0,0],[−2,1,0],[0,0,1]]. This is the elimination matrix.
- Left multiplication performs the row operation: E₂₁A=[[1,1,0],[0,1,1],[1,0,2]]. Apply the same E₂₁ to b in an augmented system.
- Undoing the operation uses E₂₁⁻¹=[[1,0,0],[2,1,0],[0,0,1]]. The multiplier 2 is stored below the diagonal in L when elimination is recorded as LU.
Objective 1: Translate equations into [A|b]
- Write x+2y=5, 3x−y=4 as [A|b].
- In x,y order it is [[1,2|5],[3,−1|4]]. The right block stores constants.
Objective 2: Perform elimination
- Apply R₂←R₂−3R₁. What is the new row?
- [3,−1|4]−3[1,2|5]=[0,−7|−11], including the right-hand side.
Objective 3: Read solutions from echelon form
- Solve and check the resulting system.
- y=11/7; x=13/7. Then 3x−y=4 and x+2y=5.
A common mistake
A zero pivot may require a row exchange; it does not by itself prove no solution.
Review first
Continue learning
Linear systems and elimination · Pivots, consistency and free variables
Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.