mastree

What the solutions mean

What this lesson covers

  • Parallel lines give no solution.
  • Identical lines give infinitely many solutions.
  • A negative discriminant means a line misses a curve.
Worked example

Three cases for two lines

  • Compare the equations.
SystemWhat happensSolutions
2x + y = 5 and x − y = 1Cross onceOne
2x + y = 5 and 4x + 2y = 3ParallelNone
2x + y = 5 and 4x + 2y = 10Same lineInfinitely many
Key idea

Try it: one, none or infinitely many

Worked example

A line that misses

  • y = x − 3 and y = x².
  1. x² − x + 3 = 0
  2. b² − 4ac = 1 − 12 = −11
  3. No real solutions, so they do not meet
Key idea

Try it: a line that misses

Key idea

Three pictures

  • Two straight lines can do only three things.
Three panels: lines crossing once, parallel lines, and one line drawn twice.

Common mistakes

  • Saying 0 = 7 means you made a mistake.
    It can be correct: it shows there is no solution.
  • Saying 0 = 0 means x = 0.
    It means the equations are the same line.
Key idea

Try it: read the last line

Your turn

1

x + 2y = 4 and 2x + 4y = 8. How many solutions?

2

3x − y = 2 and 6x − 2y = 5. How many solutions?

3

Elimination gives 0 = 7. What does this mean?

4

Elimination gives 0 = 0. What does this mean?

5

Which system has exactly one solution?

6

Two NZ phone plans cost 20 + 0.5m and 25 + 0.5m dollars for m minutes. When do they cost the same?

7

For y = x − 1 and y = x², substituting gives x² − x + 1 = 0 with b² − 4ac = −3. What does this mean?

8

For which k do 2x + 3y = 6 and 4x + ky = 12 have infinitely many solutions?

Show answer

1. Infinitely many: the same line 2. None: parallel lines 3. No solution 4. The same line 5. x + y = 3 and x − y = 1, which cross at (2, 1). The others are the same line or parallel lines. 6. Never: the lines are parallel. Both rise by $0.50 a minute, so the $5 gap never closes. 7. The line misses the curve. A negative discriminant means the quadratic has no real roots. 8. k = 6. Then the second equation is 2 × (2x + 3y = 6), the same line.

Your turn

Sample question: Achieved

How many solutions does the system y = 2x + 3 and 4x − 2y = 5 have? Explain using the gradients.

Hint

Rearrange the second equation into y = mx + c and compare gradients and intercepts.

Answer

No solutions: both lines have gradient 2 but different y-intercepts, so they are parallel

Step by step
  1. Two straight lines can cross once, be parallel, or be the same line. Gradients and intercepts tell us which.
  2. The first line is already in y = mx + c form: gradient 2, y-intercept 3.
  3. Rearrange the second: 4x − 2y = 5 gives −2y = −4x + 5, so y = 2x − 2.5.
  4. Its gradient is also 2, but its y-intercept is −2.5.
  5. Same gradient, different intercepts: the lines are parallel and never meet. So there are no solutions.
  6. The algebra agrees: substituting y = 2x + 3 into 4x − 2y = 5 gives 4x − 4x − 6 = 5, so −6 = 5, which is false.
  7. The classic mistake is to think a false line like −6 = 5 means you made an error. Here it is the answer: no solution.
Full working
  1. y = 2x + 3: gradient 2, intercept 3
  2. 4x − 2y = 5 gives y = 2x − 2.5: gradient 2, intercept −2.5rearrange
  3. same gradient, different interceptsparallel
  4. no solutions
Your turn

Sample questions: Merit

1

Show that the line y = 3x − 5 meets the curve y = x² + x − 4 at exactly one point, find that point, and explain what this means about the line.

Hint

Substitute to get one quadratic and look at its discriminant.

Answer

b² − 4ac = 0, so they meet once, at (1, −2): the line is a tangent to the curve

Step by step
  1. Set the two expressions for y equal: x² + x − 4 = 3x − 5.
  2. Rearrange: x² − 2x + 1 = 0. So a = 1, b = −2, c = 1.
  3. Recall: the discriminant b² − 4ac counts the solutions. Positive: two. Zero: one. Negative: none.
  4. b² − 4ac = (−2)² − 4 × 1 × 1 = 4 − 4 = 0. So there is exactly one solution.
  5. Solve: x² − 2x + 1 = (x − 1)² = 0, so x = 1.
  6. y from the line: y = 3 × 1 − 5 = −2. The point is (1, −2).
  7. Meaning: a line that meets a parabola at exactly one point, without crossing it, is a tangent. It just touches the curve at (1, −2).
  8. Check in the curve: 1² + 1 − 4 = −2. Correct.
  9. The classic mistake is to say "one solution, so they cross once". A line that is not vertical either cuts a parabola twice or touches it once.
Full working
  1. x² + x − 4 = 3x − 5both equal y
  2. x² − 2x + 1 = 0
  3. b² − 4ac = 4 − 4 = 0so one solution
  4. (x − 1)² = 0, x = 1, y = −2
  5. One point, (1, −2): the line is a tangent
2

Taxi company A charges $4 plus $2.50 per km. Company B charges $6 plus $2.50 per km. Company C charges $2 plus $3 per km. Show that A and B never cost the same and explain what this means. For which trip lengths is C cheaper than A?

Hint

Write each cost as a linear equation in the distance d. Equal gradients mean parallel lines.

Answer

A and B: 4 = 6 has no solution, so A is always $2 cheaper than B; C is cheaper than A for trips shorter than 4 km

Step by step
  1. Let d be the trip length in km. Cost A = 4 + 2.5d, cost B = 6 + 2.5d, cost C = 2 + 3d.
  2. Set A equal to B: 4 + 2.5d = 6 + 2.5d.
  3. Take 2.5d from both sides: 4 = 6. That is false for every d, so there is no solution.
  4. Graphically, the two cost lines have the same gradient, 2.5, so they are parallel and never cross.
  5. In context: both add $2.50 a km at the same rate, but A starts $2 lower, so A is always exactly $2 cheaper.
  6. Now C and A. Set them equal: 2 + 3d = 4 + 2.5d, so 0.5d = 2 and d = 4 km.
  7. C starts cheaper ($2) but rises faster ($3 a km), so C is cheaper only before the crossing point.
  8. So C is cheaper than A for trips shorter than 4 km, and they cost the same, $14, at exactly 4 km.
  9. Check: at 3 km, C costs $11 and A costs $11.50. C is cheaper, as expected.
Full working
  1. A = 4 + 2.5d, B = 6 + 2.5d, C = 2 + 3d
  2. 4 + 2.5d = 6 + 2.5d gives 4 = 6false: no solution
  3. same gradient 2.5parallel, A always $2 cheaper
  4. 2 + 3d = 4 + 2.5d gives d = 4
  5. C cheaper for d < 4C starts lower but rises faster
  6. A and B never equal; C cheaper for trips under 4 km
Your turn

Sample questions: Excellence

1

Consider the system kx + 2y = 4 and 3x + (k − 1)y = −6. Find the values of k for which the system has no solution, and the value for which it has infinitely many solutions. Explain how you know which is which.

Hint

The system fails to have one solution when the lines are parallel: the ratios of the x and y coefficients are equal. Then compare the constants.

Answer

k = 3: no solution (parallel lines); k = −2: infinitely many (the same line); any other k: exactly one solution

Step by step
  1. Two lines have exactly one solution unless they are parallel or the same line. Both of those happen when the gradients are equal.
  2. Equal gradients means the coefficients are in the same ratio: k3 = 2k − 1.
  3. Cross-multiply: k(k − 1) = 6, so k² − k − 6 = 0.
  4. Factorise: (k − 3)(k + 2) = 0, so k = 3 or k = −2.
  5. Now test each to see whether the lines are parallel or the same.
  6. k = 3: the equations are 3x + 2y = 4 and 3x + 2y = −6. The left sides match but 4 ≠ −6, so the lines are parallel. No solution.
  7. k = −2: the equations are −2x + 2y = 4 and 3x − 3y = −6. Divide the first by −2 and the second by 3: both become x − y = −2. Same line, so infinitely many solutions.
  8. For every other k the gradients differ, so the lines cross once.
  9. The classic mistake is to stop at k = 3 or −2 and call both "no solution". You must check the constants too.
  10. Check k = 1 for one solution: x + 2y = 4 and 3x = −6 give x = −2, y = 3. One point, as expected.
Full working
  1. k3 = 2k − 1equal gradients
  2. k² − k − 6 = 0, so (k − 3)(k + 2) = 0
  3. k = 3: 3x + 2y = 4 and 3x + 2y = −6parallel, no solution
  4. k = −2: both become x − y = −2same line
  5. no solution for k = 3; infinitely many for k = −2
2

For which values of c does the line y = 2x + c not meet the curve y = x² + 4? What happens when c is at the boundary value? Explain why a line and a parabola can never have infinitely many points in common.

Hint

Substitute to get a quadratic in x. "Does not meet" means no real solutions, so the discriminant is negative.

Answer

c < 3; at c = 3 the line is a tangent, touching at (1, 5); a quadratic equation has at most two solutions, so infinitely many is impossible

Step by step
  1. Set the two expressions equal: x² + 4 = 2x + c.
  2. Rearrange: x² − 2x + (4 − c) = 0. So a = 1, b = −2 and c-term 4 − c.
  3. Recall: no real solutions means b² − 4ac < 0. Take care: the c in b² − 4ac here is 4 − c, not c.
  4. (−2)² − 4 × 1 × (4 − c) < 0, so 4 − 16 + 4c < 0, so 4c < 12 and c < 3.
  5. In words: if the line is moved down far enough (c below 3), it passes under the parabola and misses it.
  6. Boundary: c = 3 makes the discriminant 0, so there is exactly one point. x² − 2x + 1 = 0 gives x = 1, and y = 2 + 3 = 5. The line touches the curve at (1, 5).
  7. Why never infinitely many: any common point must solve the quadratic x² − 2x + (4 − c) = 0.
  8. A quadratic equation has at most two solutions, because its graph is a parabola that crosses a horizontal axis at most twice.
  9. So a line and a parabola share at most two points. Infinitely many would need the line to be the curve, which is impossible since one is straight and the other bends.
  10. Check c = 0: x² − 2x + 4 = 0 has discriminant 4 − 16 = −12, negative, so no meeting point. That fits c < 3.
Full working
  1. x² + 4 = 2x + cboth equal y
  2. x² − 2x + (4 − c) = 0
  3. 4 − 4(4 − c) < 0no solutions: b² − 4ac < 0
  4. 4c < 12, c < 3
  5. c = 3: (x − 1)² = 0, touches at (1, 5)
  6. a quadratic has at most 2 rootsnever infinitely many
  7. c < 3
Summary

What to take away

  • One, none or infinitely many: always say which.
  • Link the answer to the graph.

Challenge

1

The curves y = x² + k and y = 4x − x² are drawn on the same axes. Find the values of k for which they meet at two points, at one point and at no points. For the one-point case, find where they touch.

Hint

Set the two expressions equal and collect everything on one side. The discriminant of that quadratic decides how many meeting points there are.

Answer

Two points: k < 2; one point: k = 2, touching at (1, 3); no points: k > 2

Step by step
  1. Where they meet, x² + k = 4x − x², so 2x² − 4x + k = 0.
  2. Discriminant: b² − 4ac = 16 − 8k.
  3. Two points when 16 − 8k > 0, so k < 2. One point when k = 2. None when k > 2.
  4. For k = 2: 2x² − 4x + 2 = 0, so 2(x − 1)² = 0 and x = 1.
  5. y = 1² + 2 = 3, and 4(1) − 1² = 3 agrees. They touch at (1, 3).
Full working
  1. x² + k = 4x − x², so 2x² − 4x + k = 0set equal
  2. b² − 4ac = 16 − 8k
  3. 16 − 8k > 0 gives k < 2two points
  4. k = 2: 2(x − 1)² = 0, x = 1, y = 3one point
  5. two: k < 2; one: k = 2 at (1, 3); none: k > 2
2

The graph of y = kx² + 2x and the line y = 4x − 1 are drawn on the same axes, where k is a constant. Find the values of k for which they meet at two points, at exactly one point and at no points. For each value of k that gives exactly one point, find the point and say whether the line touches or crosses the graph.

Hint

Set the two expressions equal and use the discriminant. Then think about what the graph is when k = 0: is the equation still a quadratic?

Answer

Two points: k < 1 with k ≠ 0. One point: k = 1, touching at (1, 3), and k = 0, crossing at (0.5, 1). No points: k > 1.

Step by step
  1. Where they meet, kx² + 2x = 4x − 1, so kx² − 2x + 1 = 0.
  2. If k ≠ 0 this is a quadratic with discriminant (−2)² − 4 × k × 1 = 4 − 4k.
  3. Two points when 4 − 4k > 0, so k < 1. No points when k > 1. One point when k = 1: x² − 2x + 1 = (x − 1)² = 0, x = 1, y = 3. The line is a tangent and touches the parabola at (1, 3).
  4. But k = 0 is special: the equation becomes −2x + 1 = 0, which is not a quadratic, so the discriminant does not apply. It has one solution, x = 0.5, y = 1.
  5. When k = 0 the graph is the straight line y = 2x. Two lines with different gradients cross once, so the line crosses the graph at (0.5, 1) rather than touching it.
  6. So two points needs k < 1 and k ≠ 0. Negative k gives a parabola opening down, which the line still cuts twice.
Full working
  1. kx² + 2x = 4x − 1, so kx² − 2x + 1 = 0set equal
  2. k ≠ 0: b² − 4ac = 4 − 4k
  3. two: k < 1, k ≠ 0; none: k > 1
  4. k = 1: (x − 1)² = 0, x = 1, y = 3tangent, touches
  5. k = 0: −2x + 1 = 0, x = 0.5, y = 1y = 2x crosses the line
  6. two: k < 1, k ≠ 0; one: k = 1 at (1, 3) or k = 0 at (0.5, 1); none: k > 1
3

Three lines are x + y = 4, 2x − y = 5 and kx + 2y = 11. Find every value of k for which the three lines do not form a triangle, and say what happens in each case.

Hint

Three lines fail to make a triangle if two of them are parallel or if all three pass through one point. Check each possibility.

Answer

k = 3 (all three meet at (3, 1)), k = 2 (parallel to x + y = 4) and k = −4 (parallel to 2x − y = 5)

Step by step
  1. The first two lines meet once: adding them gives 3x = 9, so x = 3 and y = 1.
  2. If the third line also passes through (3, 1), all three meet at one point: 3k + 2 = 11, so k = 3.
  3. The third line has gradient −k ÷ 2. It is parallel to x + y = 4 (gradient −1) when k = 2. Then 2x + 2y = 11 against 2x + 2y = 8 gives 0 = 3, so no solution: parallel, not the same line.
  4. It is parallel to 2x − y = 5 (gradient 2) when k = −4. Then −4x + 2y = 11 against −4x + 2y = −10 gives 0 = 21, so parallel again.
  5. For any other k, each pair meets at a different point, which gives a triangle.
Full working
  1. x + y = 4 and 2x − y = 5 give 3x = 9, x = 3, y = 1add
  2. 3k + 2(1) = 11, so k = 3all three through (3, 1)
  3. −k ÷ 2 = −1 gives k = 2parallel to x + y = 4; 0 = 3, no solution
  4. −k ÷ 2 = 2 gives k = −4parallel to 2x − y = 5; 0 = 21, no solution
  5. k = 3, k = 2 or k = −4

More challenge problems

Worksheet with answersWithout answersDownload PDF
Report a mistake

More in AS 91269