No Solution or Infinitely Many Solutions
When two lines are parallel or are the same line, a pair of simultaneous equations has no solution or infinitely many. See it on a graph, in the gradients, and in the algebra, and find the unknown that makes it happen.
Before you start
- The solution of two simultaneous equations is the point where their lines meet (lesson 2.5).
- Writing in the form (a different ) gives the gradient and the -intercept (lesson 2.3).
- Multiplying every term of an equation by the same number gives an equivalent equation, with the same solutions (lesson 2.1).
Three Possibilities
So far every pair of lines has met at one point. Two straight lines can also be parallel, so that they never meet, or they can be the same line, so that they meet at every point.
How many solutions?
A pair of linear simultaneous equations has
exactly one solution when the two lines meet at one point;
no solution when the two lines are parallel and different;
infinitely many solutions when the two equations give the same line: every point of the line is a solution.
Example 1: Seeing it on a graph
Draw the graphs of each pair for and say how many solutions the pair has. (a) and (b) and
Solution
(a) passes through and ; through and .
For every , the first line is units above the second. They are parallel and never meet, so no pair satisfies both equations.
(b) Divide every term of by : . It is the same equation as the first, so it gives the same line, through and .
Every point of the line satisfies both equations: , , and infinitely many more.
(a) No solution: the lines are parallel. (b) Infinitely many solutions: both equations give the line .
The Signs in the Algebra
When you solve such a pair by elimination or substitution, both variables disappear at once, and a statement with no letters is left.
Reading the last line
A false statement such as : it is never true, whatever and are, so there is no solution.
A true statement such as : it is always true, so every solution of one equation is a solution of the other. There are infinitely many solutions: all the points of one line.
Example 2: Elimination ends in 0 = 7
Solve and .
Solution
(1)
(2)
(1) : (3)
Subtract (3) from (2): , that is .
This is false for every and : no pair can make equal to both and .
In the form : and Same gradient, different -intercepts: parallel lines.
There is no solution.
Example 3: Elimination ends in 0 = 0
Solve and . If there are infinitely many solutions, write down three of them.
Solution
(1)
(2)
(1) : , which is (2) exactly. Subtract: .
This is always true: (2) is (1) multiplied by , so the two equations give the same line, .
Any value of gives a solution: , ; , ; , .
Check : , true; , true.
There are infinitely many solutions: every pair with , for example , and .
Telling from the Equations
You can tell how many solutions there are before solving, by writing both equations in the form .
Gradients and y-intercepts
For two lines that are not vertical:
different gradients: the lines meet at one point, so there is one solution;
the same gradient and different -intercepts: the lines are parallel, so there is no solution;
the same gradient and the same -intercept: the lines are the same, so there are infinitely many solutions.
Vertical lines have an undefined gradient (lesson 2.4). Two vertical lines are parallel if the numbers differ (no solution) and are one line if they are equal. A vertical line and a line that is not vertical always meet at one point (one solution).
Example 4: How many solutions?
Without solving, say how many solutions each pair has. (a) and (b) and
Solution
(a) , so . And , so . Same gradient , different -intercepts ( and ): parallel.
(b) and , so . Different gradients: the lines meet at one point.
(For (b) the point is : subtracting the equations gives , so , and .)
(a) No solution (b) Exactly one solution
Example 5: One equation a multiple of the other
Show that and have infinitely many solutions, and write down four of them.
Solution
Multiply every term of by : . This is the second equation, so the two are equivalent and give the same line.
In the form , both are : same gradient and same -intercept.
Solutions: make the subject, , and choose . : . : . : . : , : .
Check in both: ; .
Infinitely many solutions, for example , , and .
Finding the Unknown
For no solution, the and parts of the two equations must be in the same ratio (the same gradient) while the numbers on the right are not. For infinitely many, the whole of one equation is a multiple of the other.
Example 6: Finding k
(a) Find so that and have no solution. (b) Find so that and have infinitely many solutions.
Solution
(a) In the second equation the term is times the of the first. For the lines to be parallel, the term must be times as well: , so .
Then the first equation is ; doubled, it is , but the second says . Subtracting gives : no solution, as wanted.
By gradients: and . Equal gradients need ; the intercepts are then and , which differ.
(b) Doubling gives . For the second equation to be the same line, .
(a) (b)
In a Real Setting
Example 7: Facts that clash, and facts that repeat
(a) The sum of two numbers is , and twice the first added to twice the second is . Find the numbers. (b) A cup of coffee and a bun cost $; two cups of coffee and two buns cost $. Find the price of each.
Solution
(a) and . Doubling the first gives . Subtract: , which is false.
The facts contradict each other: if the sum is , twice the sum is , not . No such numbers exist.
(b) Let a coffee cost $ and a bun $: and . The second is the first doubled; subtracting gives .
The second fact only repeats the first, so the prices cannot be found. Coffee $ and bun $ fits, and so do coffee $ and bun $, and many more.
(a) No solution: the facts contradict each other. (b) Infinitely many solutions: one more independent fact is needed to find the prices.
Common Mistakes
- Writing "" from , or "" from . Neither statement has a letter in it. means no solution; means infinitely many.
- Saying "equal gradients, so parallel" without looking at the intercepts. Equal gradients and equal -intercepts give the same line, not parallel lines.
- Saying "infinitely many solutions, so any pair works". Only the pairs on the line work: solves , but does not.
- Comparing gradients without making the subject. In the gradient is , not or .
Practice Questions
Work each question on paper before you open its solution. The questions get harder as you go.
Question 1
Without solving, say how many solutions each pair has. (a) and (b) and (c) and
ShowHide solution
(a) Same gradient , different -intercepts: parallel, no solution.
(b) Different gradients: one solution (both cross the -axis at , so they meet at ).
(c) Dividing by : , the same line: infinitely many.
(a) none (b) one (c) infinitely many
Question 2
Draw the graphs of and on the same axes. What do they show about the simultaneous equations and ?
ShowHide solution
crosses the axes at and ; at and .
The lines are parallel (both have gradient ) and never meet. A sum cannot be both and .
The lines are parallel, so the equations have no solution.
Question 3
Solve and .
ShowHide solution
First : . Subtract the second: , false.
There is no solution.
Question 4
Solve and . Write down three solutions if there are many.
ShowHide solution
First : , the same as the second. Subtracting gives , always true.
Solutions: . : ; : ; : .
Check : ; .
Infinitely many solutions, for example , , .
Question 5
Solve by substitution (a) and , (b) and .
ShowHide solution
(a) , so , that is : always true. Infinitely many solutions, all the points of , such as and .
(b) , so , that is : false. No solution.
(a) Infinitely many solutions (b) No solution
Question 6
Show, by writing each in the form , that and have no solution. Then confirm it by elimination.
ShowHide solution
, so . , so .
Same gradient , different -intercepts: parallel lines, no solution.
Elimination: first : ; second : . Subtract: , false.
The lines are parallel; there is no solution.
Question 7
Which of these pairs has exactly one solution? Find it. (a) and (b) and (c) and
ShowHide solution
(a) The second is the first doubled: infinitely many.
(b) The first doubled is , not : subtracting gives , no solution.
(c) Add: , so , then . Check: ; .
Only (c): , .
Question 8
Find the value of for which and have no solution.
ShowHide solution
The term of the second, , is times . For parallel lines, the term must also be times: .
Then the first doubled is , but the second is : subtracting gives , no solution.
Question 9
Find the value of for which and have infinitely many solutions.
ShowHide solution
The second has times the and terms of the first. For the same line, .
Question 10
The simultaneous equations and have infinitely many solutions. Find and .
ShowHide solution
The term is times , so the first equation must be the second multiplied by : .
So and .
,
Question 11
At a museum, 2 adult tickets and 4 child tickets cost $, and 1 adult ticket and 2 child tickets cost $. Explain why these facts cannot both be right.
ShowHide solution
Let an adult ticket cost $ and a child ticket $: and .
Doubling the second: . Subtracting the first: , false.
2 adults and 4 children are exactly twice 1 adult and 2 children, so they should cost twice $, which is $, not $.
The equations have no solution: the facts contradict each other.
Question 12
Ali says, "Three files and a pen cost $." Ben says, "Six files and two pens cost $." Can you find the price of a file? Give two possible pairs of prices.
ShowHide solution
Let a file cost $ and a pen $: and . The second is the first doubled: subtracting gives .
Ben's fact only repeats Ali's, so the price of a file cannot be found. Any pair with (and both prices positive) fits: file $ and pen $; file $ and pen $.
Check: ;
No: there are infinitely many possible prices, for example a file $ and a pen $, or a file $ and a pen $.
Key Points
- Two lines meet once (one solution), are parallel (no solution) or are the same line (infinitely many solutions).
- In the algebra, a false statement such as means no solution; a true statement such as means infinitely many.
- In the form : different gradients, one solution; same gradient and different -intercepts, none; same gradient and same -intercept, infinitely many.
- If one equation is a multiple of the other, they give the same line; if only their and parts are in that ratio, the lines are parallel.
- With infinitely many solutions, only the points of that line are solutions; name some by choosing or .
- In a real setting, no solution means the facts contradict each other; infinitely many means one fact only repeats the other.