R2−2R1 and R3−3R1 put zeros below the first pivot, and they leave two identical rows.
⎣⎡1001−1−11−3−3∣∣∣∣∣∣4−7−7⎦⎤
2
A row of zeros appears
R3−R2 gives the row 0, 0, 0 ∣ 0, which says 0=0. That is true, not a contradiction. The third equation was the sum of the first two, so it carried no new information.
⎣⎡1001−101−30∣∣∣∣∣∣4−70⎦⎤
3
Reduce to RREF
Scale R2by −1 so that its pivot is 1, then replace R1 with R1−R2 to clear the entry above it.
⎣⎡100010−230∣∣∣∣∣∣−370⎦⎤
4
Name the free variable
Column 3 has no pivot, so z is free, and any value t will do. The two rows say x−2z=−3 and y+3z=7, so solve each for its pivot variable.
x=−3+2t,y=7−3t,z=t
5
Check one solution
t=1 gives (−1,4,1), which satisfies all three original equations. Another value of t, such as t=0 with (−3,7,0), works too.
−1+4+1=42(−1)+4−1=13(−1)+2⋅4=5
Result
Infinitely many solutions: x=−3+2t,y=7−3t,z=t for any real number t. The three planes share a line.
Your turn
1. One like the example
Solve x+y−z=2,2x+3y+z=9 and 3x+4y=11. Give one particular solution as well.
Show the answer and explanation
x=−3+4t,y=5−3t,z=t for any t, such as (−3,5,0).
R2−2R1 and R3−3R1 both give 0, 1, 3 ∣ 5, so R3−R2 is a row of zeros. Then R1−R2 gives 1, 0, −4 ∣ −3. Column 3 has no pivot, so z=t,y=5−3t and x=−3+4t. With t=0, check that −3+5=2,−6+15=9and −9+20=11.
x+y−z=22x+3y+z=93x+4y=11y+3z=5x−4z=−3x=−3y=5z=0
2. A variation
How many solutions do x+y+z=3,x−y+2z=1 and 2x+3z=5 have?
Show the answer and explanation
None.
Adding the first two equations gives 2x+3z=4, but the third says 2x+3z=5. In the matrix, R1+R2−R3 leaves the row 0, 0, 0 ∣ −1, which says 0=−1, so the system is inconsistent. In a Math box the second and third equations read • as equations of the system, and “no solution” goes below them.
x+y+z=3x−y+2z=12x+3z=5no solution
3. Somewhere new
A shop sold 100 items priced $1,$2 and $3 for $200 in all. How many whole-number answers are there, and what are two of them?
Show the answer and explanation
51 answers, from (0,100,0) to (50,0,50), with x=t,y=100−2t,z=t for t=0,1,…, 50.
With x,y and z items at $1,$2 and $3,x+y+z=100 and x+2y+3z=200.R2−R1 gives y+2z=100, and R1−R2 then gives x−z=0. With z=t,y=100−2t and x=t. No count can be negative, so t runs from 0 to 50, which is 51 answers.
y+2z=100x−z=0x=50y=0z=50
Keep exploring
In Matrices & linear systems, the classification reads Infinitely many solutions. Change the last constant from 5 to 6 and the zero row becomes 0=1: no solution.