Chalk−1

Math · Precalculus · Worked example

Recognize infinitely many solutions in RREF

Solve x+y+z=4, 2⁢x+y−z=1, 3⁢x+2⁢y=5.

[111421−113205]

Try one — Chalk checks each line

Clear the first column

R2−2R1 and R3−3R1 put zeros below the first pivot, and they leave two identical rows.

[11140−1−3−70−1−3−7]

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.

[11140−1−3−70000]

Reduce to RREF

Scale R2 by −1 so that its pivot is 1, then replace R1 with R1−R2 to clear the entry above it.

[10−2−301370000]

Name the free variable

Column 3 has no pivot, so z is free, and any value t will do. The two rows say x−2⁢z=−3 and y+3⁢z=7, so solve each for its pivot variable.

x=−3+2⁢t,y=7−3⁢t,z=t

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+2⁢t, y=7−3⁢t, 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, 2⁢x+3⁢y+z=9 and 3⁢x+4⁢y=11. Give one particular solution as well.

Show the answer and explanation

x=−3+4⁢t, y=5−3⁢t, 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−3⁢t and x=−3+4⁢t. With t=0, check that −3+5=2, −6+15=9 and −9+20=11.

x+y−z=22⁢x+3⁢y+z=93⁢x+4⁢y=11y+3⁢z=5x−4⁢z=−3x=−3y=5z=0

2. A variation

How many solutions do x+y+z=3, x−y+2⁢z=1 and 2⁢x+3⁢z=5 have?

Show the answer and explanation

None.

Adding the first two equations gives 2⁢x+3⁢z=4, but the third says 2⁢x+3⁢z=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+2⁢z=12⁢x+3⁢z=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−2⁢t, z=t for t=0, 1, …, 50.

With x, y and z items at $1, $2 and $3, x+y+z=100 and x+2⁢y+3⁢z=200. R2−R1 gives y+2⁢z=100, and R1−R2 then gives x−z=0. With z=t, y=100−2⁢t and x=t. No count can be negative, so t runs from 0 to 50, which is 51 answers.

y+2⁢z=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.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Row-reduce it in Matrices & linear systems Check the reduced equations in Math Study the 10 key terms Open worked example on a board Matrix Transformations in Math Reference

Your existing work stays on this device. Examples open as editable copies.