Unique, infinite and no solutions
What this lesson covers
- One point: a unique solution.
- A line: infinitely many solutions.
- A false statement like 0 = 1 means none.
Try it: turn the planes
- Each equation is a flat plane. Choose a case, then turn the view to see how the planes meet.
No solution
- x + y + z = 1 and x + y + z = 2.
- Subtract: 0 = 1
- Parallel planes, so no solution
Infinitely many
- x + y + z = 6, x − y + z = 2, 2x + 2z = 8.
- (1) + (2) gives equation (3) again
- (1) − (2): y = 2
- x + z = 4
- Let z = t: x = 4 − t, y = 2, z = t
3D grapher
Reading the bottom row
- After elimination, the bottom row tells you the type.
- [0 0 36]: z = 2, a unique solution
- [0 0 00]: infinitely many solutions
- [0 0 05]: 0 = 5, no solution
Try it: read the bottom row
Common mistakes
- Thinking 0 = 0 is an error.It shows dependent equations.
- Giving one value as the answer.Infinite solutions need a parameter.
Try it: one point, a line or none?
Your turn
Elimination gives 0 = 5. What does that mean?
Elimination gives 0 = 0. What does that mean?
The bottom row is [0 0 3 | 6]. What does that mean?
Two planes are parallel. Can there be a solution?
After elimination the bottom row is [0 0 4 | −8]. Find z.
Every solution of a system has y = 1 and x + z = 5. Let z = t. Which is the general solution?
What type of solution has x + y + z = 3, x − y + z = 1, 2x + 2z = 5?
For which k do x + y + z = 2, x + 2y + 3z = 5 and 2x + 3y + 4z = k have infinitely many solutions?
Show answer
1. No solution 2. Infinitely many solutions, if the other rows agree 3. A unique solution 4. No 5. z = −2. The row means 4z = −8, so divide both sides by 4. 6. x = 5 − t, y = 1, z = t. From x + z = 5, x = 5 − z = 5 − t, and y stays 1 for every t. 7. No solution. Adding the first two gives 2x + 2z = 4, but the third says 2x + 2z = 5, so 0 = 1. 8. k = 7. The first two equations add to 2x + 3y + 4z = 7, so the third repeats them only when k = 7; any other k gives no solution.
Sample question: Achieved
Show that the system x + y + z = 4, 2x + 2y + 2z = 9 and x − y + z = 2 has no solution, and describe the planes.
Hint
Compare the left-hand sides of the first two equations.
Answer
2 × (1) − (2) gives 0 = −1, which is false, so there is no solution. The first two planes are parallel
Step by step
- Look for a shortcut first: the left side of (2) is exactly 2 times the left side of (1).
- Do 2 × (1) − (2): (2x + 2y + 2z) − (2x + 2y + 2z) = 8 − 9.
- The left side is 0 and the right side is −1, so 0 = −1.
- That is false whatever x, y and z are, so no point satisfies both equations.
- So the system has no solution. The third equation cannot fix that.
- Geometrically, (1) and (2) are parallel planes: same direction, different distance from the origin.
- Classic mistake: carrying on solving with the third equation. Once two equations clash, stop.
Full working
- 2(1): 2x + 2y + 2z = 8
- 2(1) − (2): 0 = −1false
- planes (1) and (2) are parallel
- no solution
Sample questions: Merit
Show that the system x + y + z = 6, x − y + 2z = 5 and 2x + 3z = 11 has infinitely many solutions, and write the general solution using a parameter t.
Hint
Add the first two equations and compare with the third. Then let z = t.
Answer
x = 11 − 3t2, y = 1 + t2, z = t
Step by step
- Try combining equations. (1) + (2): 2x + 3z = 11, which is exactly equation (3).
- So (3) adds no new information. In elimination it would turn into 0 = 0.
- 0 = 0 is true, not an error. It means only two of the equations are independent, so there is a whole line of solutions.
- With three unknowns and two real equations, one letter is free. Let z = t.
- From (3): 2x + 3t = 11, so x = 11 − 3t2.
- From (1) − (2): 2y − z = 1, so y = 1 + t2.
- Check in (1): 11 − 3t2 + 1 + t2 + t = 12 − 2t2 + t = 6 − t + t = 6. Correct for every t.
- Check one value: t = 1 gives (4, 1, 1). Then 4 − 1 + 2 = 5 and 8 + 3 = 11. Correct.
- Geometrically, the three planes meet along a line, like pages of a book along the spine.
Full working
- (1) + (2): 2x + 3z = 11the same as (3)
- so 0 = 0 after eliminationdependent equations
- let z = t
- x = 11 − 3t2from (3)
- y = 1 + t2from (1) − (2): 2y − z = 1
- x = 11 − 3t2, y = 1 + t2, z = t
Show that the system x + 2y − z = 3, 2x + y + z = 4 and 4x + 5y − z = 11 has no solution, even though no two of the planes are parallel. Describe how the three planes are arranged.
Hint
Find numbers p and q so that p × (1) + q × (2) has the same left side as (3), then compare right sides.
Answer
2 × (1) + (2) = 4x + 5y − z = 10, but (3) says 11, so 0 = 1 and there is no solution. The planes form a triangular prism
Step by step
- No left side is a multiple of another, so no two planes are parallel. Something else must be going on.
- Try to build (3) from (1) and (2). 2 × (1) = 2x + 4y − 2z. Add (2): 4x + 5y − z.
- That is exactly the left side of (3). The right sides: 2 × 3 + 4 = 10.
- So any point on planes (1) and (2) has 4x + 5y − z = 10. But (3) needs 11.
- (3) − 2 × (1) − (2) gives 0 = 1, which is false. So there is no solution.
- Picture it: planes (1) and (2) meet in a line. Plane (3) is parallel to that line but misses it.
- Each pair of planes meets in a line, and the three lines are parallel. That is a triangular prism, like a Toblerone box.
- Classic mistake: saying no solution means parallel planes. Parallel planes are one way, but the prism is another.
- Check with Gaussian elimination: the bottom row comes out as [0 0 0 | 1], the same false 0 = 1.
Full working
- 2(1) + (2): 4x + 5y − z = 10same left side as (3)
- (3) − 2(1) − (2): 0 = 1false
- no left side is a multiple of anotherno parallel planes
- each pair meets in a line; the lines are parallel
- no solution: a triangular prism
Sample questions: Excellence
Consider the system x + y + 2z = 3, 2x − y + z = 4 and x + 4y + kz = m. Find the values of k and m for which the system has (a) a unique solution, (b) infinitely many solutions, (c) no solution. For case (b), give the general solution.
Hint
Eliminate x and then y. The last equation will be (something with k)z = (something with m).
Answer
(a) k ≠ 5; (b) k = 5 and m = 5, with x = 73 − t, y = 23 − t, z = t; (c) k = 5 and m ≠ 5
Step by step
- Eliminate x. (2) − 2 × (1): −3y − 3z = −2. Call it (4).
- (3) − (1): 3y + (k − 2)z = m − 3. Call it (5).
- Eliminate y: (4) + (5) gives (k − 5)z = m − 5.
- Case (a): if k ≠ 5, divide by k − 5 to get one value of z, then one y and one x. So a unique solution, whatever m is.
- If k = 5, the left side is 0 × z = 0, so the equation reads 0 = m − 5.
- Case (b): if m = 5 as well, it reads 0 = 0, which is always true. Infinitely many solutions.
- Case (c): if m ≠ 5, it reads 0 = a non-zero number, which is false. No solution.
- General solution for (b): let z = t. From (4), 3y = 2 − 3t, so y = 23 − t.
- From (1): x = 3 − y − 2z = 3 − 23 + t − 2t = 73 − t.
- Check in (2): 2(73 − t) − (23 − t) + t = 143 − 23 = 4. Correct for every t.
- Classic mistake: saying k = 5 always gives no solution. It depends on m too.
Full working
- (2) − 2(1): −3y − 3z = −2
- (3) − (1): 3y + (k − 2)z = m − 3
- add: (k − 5)z = m − 5
- k ≠ 5: unique
- k = 5, m = 5: 0 = 0, infinitely many; z = t, y = 23 − t, x = 73 − t
- k = 5, m ≠ 5: 0 = m − 5 ≠ 0, none
- (a) k ≠ 5; (b) k = 5, m = 5; (c) k = 5, m ≠ 5
A bakery sold 10 items, made up of scones at $2, muffins at $3 and slices at $4, for $30 in total. The owner also notes that if every price had been 1 dollar higher, the same items would have cost $40. Show that these three facts do not give a unique solution. Hence find every possible combination if at least one of each item was sold and more muffins than scones were sold.
Hint
Write three equations. Check whether the third can be built from the first two, then use a parameter and the context limits.
Answer
Infinitely many solutions in general: scones = t, muffins = 10 − 2t, slices = t. With the limits: (1, 8, 1), (2, 6, 2) or (3, 4, 3) scones, muffins, slices
Step by step
- Let a = scones, b = muffins, c = slices. Use different letters for each item.
- The three facts: a + b + c = 10, 2a + 3b + 4c = 30, and 3a + 4b + 5c = 40.
- The third equation is the first plus the second. That makes sense: 1 dollar more on each of 10 items adds $10.
- So the third fact gives no new information. Elimination would turn it into 0 = 0: infinitely many solutions, not one.
- Solve the first two. Second − 2 × first: b + 2c = 10, so b = 10 − 2c.
- Let c = t. Then b = 10 − 2t and a = 10 − b − c = 10 − 10 + 2t − t = t.
- Now use the context. Counts are whole numbers, and at least one of each: t ≥ 1 and 10 − 2t ≥ 1, so t ≤ 4.
- More muffins than scones: 10 − 2t > t, so 3t < 10 and t ≤ 3.
- So t = 1, 2 or 3. The combinations are (1, 8, 1), (2, 6, 2) and (3, 4, 3) as scones, muffins, slices.
- Check (2, 6, 2): 2 + 6 + 2 = 10 and 4 + 18 + 8 = 30. Correct.
- Limitation: the owner would need one more independent fact, such as the number of slices, to know the real answer.
Full working
- a + b + c = 10, 2a + 3b + 4c = 30, 3a + 4b + 5c = 40
- third = first + secondno new information, 0 = 0
- b + 2c = 10second − 2 × first
- c = t, b = 10 − 2t, a = t
- t ≥ 1 and 10 − 2t ≥ 1, so 1 ≤ t ≤ 4at least one of each
- 10 − 2t > t, so t ≤ 3more muffins than scones
- (a, b, c) = (1, 8, 1), (2, 6, 2) or (3, 4, 3)
What to take away
- A false line means no solution.
- A row of zeros means a family of solutions.
Challenge
Consider the system x + y + z = 2, x + 2y + 3z = k and x + 3y + 5z = k² − k, where k is a constant. (a) Show that the system can never have a unique solution, whatever the value of k. (b) Find the values of k for which the system has solutions, and give the general solution for each one. (c) What happens for every other value of k, and how are the planes arranged then?
Hint
Eliminate x from the second and third equations, then eliminate y. The last row will have 0 on the left whatever k is, so look at what is left on the right.
Answer
(a) Elimination always leaves 0 = k² − 3k + 2 on the bottom row, so there is never a single point. (b) k = 1: x = 3 + t, y = −1 − 2t, z = t. k = 2: x = 2 + t, y = −2t, z = t. (c) For any other k the bottom row is 0 = a non-zero number, so there is no solution; no two planes are parallel, so they form a triangular prism.
Step by step
- Subtract the first equation from the second: y + 2z = k − 2. Subtract it from the third: 2y + 4z = k² − k − 2.
- The left side of the second new equation is exactly twice the first, so subtract 2 times: the left side becomes 0 for every k, and the right side becomes k² − 3k + 2.
- A bottom row with 0 on the left can never give one value of z, so a unique solution is impossible.
- If k² − 3k + 2 = (k − 1)(k − 2) = 0, the row reads 0 = 0: infinitely many solutions. That happens for k = 1 and k = 2.
- For k = 1: y + 2z = −1, so with z = t, y = −1 − 2t and x = 2 − y − z = 3 + t. For k = 2: y + 2z = 0, so y = −2t and x = 2 + t.
- For any other k the row reads 0 = a non-zero number, which is false: no solution. No left side is a multiple of another, so the planes are not parallel; each pair meets in a line and the three lines are parallel.
Full working
- (2) − (1): y + 2z = k − 2
- (3) − (1): 2y + 4z = k² − k − 2
- [(3) − (1)] − 2[(2) − (1)]: 0 = k² − 3k + 2the left side is 0 for every k, so never unique
- k² − 3k + 2 = (k − 1)(k − 2) = 0 when k = 1 or k = 20 = 0, infinitely many
- k = 1: z = t, y = −1 − 2t, x = 3 + tcheck t = 0: (3, −1, 0) gives 2, 1 and 0
- k = 2: z = t, y = −2t, x = 2 + tcheck t = 0: (2, 0, 0) gives 2, 2 and 2
- never unique; k = 1 or 2 gives a line of solutions; any other k gives no solution (a triangular prism)
A Waikato farm supplier mixes three fertiliser blends. By mass, blend A is 20% nitrogen (N), 10% phosphorus (P) and 0% potassium (K); blend B is 0% N, 10% P and 20% K; blend C is 10% N, 10% P and 10% K. Let a, b and c be the masses (kg) of A, B and C in a mix. (a) Show that no mix supplies exactly 40 kg N, 30 kg P and 30 kg K, and describe the planes. (b) A farmer wants exactly 50 kg N, 40 kg P and 30 kg K. Find every possible mix, with no negative masses. (c) A costs $1.50 per kg, B $1.00 per kg and C $1.10 per kg. Find the cheapest mix and its cost.
Hint
Compare N + K with P: every blend has the same link between its three percentages. In (b), let c = t, and remember that a, b and c must all be at least 0.
Answer
(a) N + K = 0.2(a + b + c) must equal 2 × P, but 40 + 30 = 70 is not 2 × 30 = 60, so 0 = 10: no solution (a triangular prism). (b) a = 250 − t2, b = 150 − t2, c = t, for 0 ≤ t ≤ 300. (c) 100 kg of A, no B and 300 kg of C, costing $480.
Step by step
- The nitrogen equation is 0.2a + 0.1c = N, phosphorus is 0.1a + 0.1b + 0.1c = P and potassium is 0.2b + 0.1c = K.
- Adding the N and K equations gives 0.2a + 0.2b + 0.2c, which is exactly 2 times the P equation. So any mix gives N + K = 2P.
- In (a), N + K = 70 but 2P = 60, so the equations give 0 = 10: no solution. No two equations are multiples of each other, so the planes form a prism.
- In (b), N + K = 80 = 2P, so the third equation adds nothing: infinitely many solutions. With c = t, a = 250 − t2 and b = 150 − t2.
- Masses cannot be negative: b ≥ 0 needs t ≤ 300, and a ≥ 0 needs t ≤ 500, so 0 ≤ t ≤ 300.
- Cost = 1.5a + b + 1.1c = 525 − 0.15t, which falls as t rises, so the cheapest mix uses the largest t, 300.
Full working
- N: 0.2a + 0.1c, P: 0.1a + 0.1b + 0.1c, K: 0.2b + 0.1cfrom the percentages
- N + K = 0.2(a + b + c) = 2Ptrue for every mix
- (a) 40 + 30 = 70 but 2 × 30 = 60, so 0 = 10no solution, a triangular prism
- (b) 2a + c = 500, 2b + c = 300, a + b + c = 400multiply each equation by 10
- c = t: a = 250 − t2, b = 150 − t2check: a + b + c = 400 − t + t = 400
- b ≥ 0 gives t ≤ 300; a ≥ 0 gives t ≤ 500so 0 ≤ t ≤ 300
- cost = 1.5(250 − t2) + (150 − t2) + 1.1t = 525 − 0.15tleast when t = 300
- t = 300: a = 100, b = 0, c = 300150 + 0 + 330 = 480
- cheapest mix: 100 kg of A and 300 kg of C, costing $480
A system of three linear equations in x, y and z has both (1, 2, 3) and (3, 1, 4) as solutions. (a) Without knowing the equations, explain why the system cannot have exactly two solutions, and show that (5, 0, 5) must also be a solution. (b) The equations are x + y − z = 0, 2x + 3y + cz = d and x + ay + z = b. Find a, b, c and d. (c) Show that the third equation is a combination of the first two, and write the general solution using a parameter t.
Hint
Take any one equation, say px + qy + rz = s. Both points make the left side equal s. What does the left side give at the point 2 × (3, 1, 4) − (1, 2, 3)? For (b), substitute both points into each unknown equation.
Answer
(a) Every point (1, 2, 3) + s(2, −1, 1) satisfies every equation, so there are infinitely many solutions; s = 2 gives (5, 0, 5). (b) a = 3, b = 10, c = −1, d = 5. (c) x + 3y + z = −3(x + y − z) + 2(2x + 3y − z), and the right sides agree (−3 × 0 + 2 × 5 = 10); general solution x = 2t − 5, y = 5 − t, z = t.
Step by step
- For any one equation px + qy + rz = s, both points give s. At the point 2Q − P the left side is 2 times its value at Q minus its value at P, which is 2s − s = s. So that point is a solution too.
- The same works for (1 − m)P + mQ with any number m, so every point on the line through P and Q is a solution: two distinct solutions always mean infinitely many.
- 2 × (3, 1, 4) − (1, 2, 3) = (5, 0, 5), so (5, 0, 5) is a solution.
- Substitute P and Q into 2x + 3y + cz = d: 8 + 3c = d and 9 + 4c = d, so c = −1 and d = 5. Into x + ay + z = b: 4 + 2a = b and 7 + a = b, so a = 3 and b = 10.
- Look for p and q with p(x + y − z) + q(2x + 3y − z) = x + 3y + z. The x and y terms give p + 2q = 1 and p + 3q = 3, so q = 2 and p = −3; the z term and the right side then check.
- So only two equations are independent and the planes meet in a line. Solving with z = t gives the line through both given points.
Full working
- L(2Q − P) = 2L(Q) − L(P) = 2s − s = sL is the left side of any one equation
- 2(3, 1, 4) − (1, 2, 3) = (5, 0, 5)so (5, 0, 5) is a solution
- P: 2 + 6 + 3c = d; Q: 6 + 3 + 4c = dso c = −1, d = 5
- P: 1 + 2a + 3 = b; Q: 3 + a + 4 = bso a = 3, b = 10
- −3(x + y − z) + 2(2x + 3y − z) = x + 3y + zx: −3 + 4 = 1, y: −3 + 6 = 3, z: 3 − 2 = 1
- right sides: −3 × 0 + 2 × 5 = 10the third equation is not new
- (1) and (2) with z = t: x + y = t, 2x + 3y = 5 + tso y = 5 − t, x = 2t − 5
- check: t = 3 gives (1, 2, 3); t = 4 gives (3, 1, 4); t = 5 gives (5, 0, 5)
- a = 3, b = 10, c = −1, d = 5; x = 2t − 5, y = 5 − t, z = t



