π How many solutions?
The rule
- Two straight lines can cross once, never, or be the same line.
- Different slopes: the lines cross exactly once, so there is one solution.
- Same slope, different y-intercept: the lines are parallel and never meet. No solutions.
- Same slope and same y-intercept: it is the same line. Every point fits both, so infinitely many solutions.
- Rewrite as y = mx + c first. 2y = 4x + 6 is y = 2x + 3, so its slope is 2.
- In elimination, 0 = 5 (never true) means no solutions. 0 = 0 (always true) means infinitely many.
- Two straight lines never have exactly two solutions.
Examples
How many solutions: y = 3x + 1 and y = βx + 5? β One solution
- Slopes: 3 and β1
- They are different
- So the lines cross exactly once
The slopes 3 and β1 are different.
How many solutions: y = 2x + 1 and y = 2x β 3? β No solutions
- Slopes: 2 and 2, the same
- y-intercepts: 1 and β3, different
- Parallel lines never meet
Same slope, different start: parallel lines.
How many solutions: y = x + 2 and 2y = 2x + 4? β Infinitely many solutions
- Halve 2y = 2x + 4: y = x + 2
- That is the first equation
- Same slope and same y-intercept
- It is one line, so every point fits both
Halving the second gives the first.
How many solutions: x + y = 4 and 2x + 2y = 10? β No solutions
- Halve 2x + 2y = 10: x + y = 5
- x + y cannot be 4 and 5 together
- Same slope, different position: parallel
- So there are no solutions
Halving the second gives x + y = 5, which clashes with x + y = 4.
Plan A is $20 + $5 per GB. Plan B is $10 + $5 per GB. Do they ever cost the same? β Never
- A: y = 5x + 20. B: y = 5x + 10
- Slopes are both 5, so the lines are parallel
- Parallel lines never meet
- So the plans never cost the same
Same rate per GB, so B stays $10 cheaper.
Watch out
- βTwo lines always meet somewhere.β No: parallel lines never meet.
- β2y = 4x + 6 has slope 4.β No: halve everything first. y = 2x + 3 has slope 2.
- βSame slope means the same line.β No: check the y-intercepts too. They may differ.