M4.8.7 Chapter 7

Two equations on a graph

The lines y = x + 1 and y = 7 − x cross at (3, 4). What does that point tell me?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

  • Solve two equations by finding where their lines cross
  • Explain why parallel lines give no answer

The equation y = x + 1 has many pairs that fit it. x = 0 and y = 1 fit. So do x = 2 and y = 3. Each pair is a point, and the points form a straight line.

A second equation, y = 7 − x, makes a second line. A pair that fits both equations must be on both lines. Two different lines meet at one point at most.

Draw it first

Draw both lines

  1. A graph with the x axis x and the y axis y. Step 1 draws a line named y = x + 1. Step 2 draws a second line named y = 7 − x. Step 3 marks the point P (3, 4) where they cross, with dashed guides to both axes.y = x + 11234567123456780xy

    1 Draw the line y = x + 1. It crosses the y axis at 1 and rises 1 for each 1 across.

  2. A graph with the x axis x and the y axis y. Step 1 draws a line named y = x + 1. Step 2 draws a second line named y = 7 − x. Step 3 marks the point P (3, 4) where they cross, with dashed guides to both axes.y = x + 1y = 7 − x1234567123456780xy

    2 Draw the line y = 7 − x. It crosses the y axis at 7 and falls 1 for each 1 across.

  3. A graph with the x axis x and the y axis y. Step 1 draws a line named y = x + 1. Step 2 draws a second line named y = 7 − x. Step 3 marks the point P (3, 4) where they cross, with dashed guides to both axes.P (3, 4)y = x + 1y = 7 − x1234567123456780xy

    3 Mark the point where they cross. Read across and up: x = 3 and y = 4.

The crossing point is the intersection of the lines. Its coordinates are the solution of the two equations: the pair that makes both true.

Worked example

Solve y = x + 1 and y = 7 − x by drawing graphs.

  1. Table for y = x + 1. When x is 0, 3 and 6, y is 1, 4 and 7.
  2. Table for y = 7 − x. When x is 0, 3 and 6, y is 7, 4 and 1.
  3. Plot the points and draw both lines. They cross at (3, 4).
  4. So x = 3 and y = 4.
  5. Check in both equations: 3 + 1 = 4 and 7 − 3 = 4.

Answer: x = 3, y = 4

A graph shows a solution to the accuracy of the drawing. When lines cross between the grid lines, you can only estimate. Take y = 2x and y = 5 − x.

A graph with the x axis x and the y axis y. A line named y = 2x and a line named y = 5 − x cross at the point P. Dashed guides run from P to both axes, between the numbers 1 and 2 across and between 3 and 4 up.Py = 2xy = 5 − x123451234560xy
P is between 1 and 2 across, and between 3 and 4 up. The graph gives an estimate.

Algebra gives the exact answer. Put the right sides equal: 2x = 5 − x, so 3x = 5 and x = 5/3, which is about 1.7. Then y = 2x is about 3.3. A graph and algebra agree, but only algebra is exact.

Some lines never cross. y = 2x + 1 and y = 2x + 5 both go up 2 for each 1 across. They stay the same distance apart. Lines with the same gradient and different values of c are parallel.

A graph with the x axis x and the y axis y. Two parallel straight lines named y = 2x + 1 and y = 2x + 5. They never meet.y = 2x + 1y = 2x + 51234246810120xy
The lines never cross, so no pair of numbers fits both equations.

Worked example

Solve y = 2x + 1 and y = 2x + 5.

  1. Both lines have gradient 2.
  2. The lines cross the y axis at 1 and at 5. These are different, so the lines are parallel.
  3. Check with algebra. Put the right sides equal: 2x + 1 = 2x + 5. Take 2x from both sides: 1 = 5.
  4. That is false for every x, so there is no solution.

Answer: No solution. Both gradients are 2.

There is one more case. The equations y = 2x + 1 and 2y = 4x + 2 look different. Divide the second by 2 and you get y = 2x + 1 again. The two equations make the same line, so every point on it is a solution. There are infinitely many solutions.

A graph with the x axis x and the y axis y. One straight line named y = 2x + 1. Both equations make this line.y = 2x + 112345246810120xy
Two equations for one line: infinitely many solutions.

Worked example

Two tanks. Tank A holds 40 litres and gains 5 litres each minute. Tank B holds 10 litres and gains 8 litres each minute. When do they hold the same?

  1. After t minutes tank A holds V = 5t + 40 litres and tank B holds V = 8t + 10 litres.
  2. They hold the same where the lines cross, so 5t + 40 = 8t + 10.
  3. Take 5t and 10 from both sides: 30 = 3t, so t = 10.
  4. Find V from tank A: V = 5 × 10 + 40 = 90 litres.
  5. Check with tank B: V = 8 × 10 + 10 = 90 litres.

Answer: After 10 minutes, with 90 litres in each tank.

A graph with the x axis time t (minutes) and the y axis volume V (litres). A line named tank A starts at 40 litres and rises slowly. A line named tank B starts at 10 litres and rises faster. They cross at the point P, with dashed guides to both axes.Ptank Atank B2468101214204060801001200time t (minutes)volume V (litres)
Tank B starts lower but fills faster, so the lines cross at P.

See it three ways

With things

Try x = 1, 2, 3 and 4 in both rules. The rule y = 2x gives 2, 4, 6 and 8. The rule y = 9 − x gives 8, 7, 6 and 5.

As a picture

A graph with the x axis x and the y axis y. A line named y = 2x and a line named y = 9 − x cross at the point P (3, 6).P (3, 6)y = 2xy = 9 − x123452468100xy

In words

Both rules give 6 when x = 3. The two lines cross at the point where x = 3 and y = 6.

In symbols

2x = 9 − x, so 3x = 9 and x = 3. Then y = 2 × 3 = 6.

Try it

Find where two lines cross

You need: squared paper, a ruler, a pencil.

  1. Make a table for y = 3x and for y = x + 4, with x from 0 to 4.
  2. Plot the points and draw both lines with the ruler.
  3. Read the point where the lines cross, then check it in both rules.

What you will see: The lines cross at x = 2, y = 6. Both rules give 6 when x = 2: 3 × 2 = 6 and 2 + 4 = 6.

If you cannot try it, this is what happens.
A graph with the x axis x and the y axis y. A line named y = 3x and a line named y = x + 4 cross at the point P (2, 6).P (2, 6)y = 3xy = x + 412345246810120xy

A wrong idea many people have

If two lines do not cross at a grid point, there is no solution.

Why it feels right: Whole numbers are quick to read, so a crossing between the grid lines feels like a miss.

The test that breaks it: y = 2x and y = 5 − x cross at x = 5/3, which is about 1.7. Put in x = 5/3: 2 × 5/3 = 10/3, and 5 − 5/3 = 10/3. Both sides are equal.

What is true: Lines with different gradients always cross, at one point. Its coordinates need not be whole numbers.

A wrong idea many people have

Any two lines meet somewhere.

Why it feels right: Lines are drawn as going on for ever, so they feel as if they must meet.

The test that breaks it: y = 2x + 1 and y = 2x + 5 are always 4 apart going up. At x = 0 they are 1 and 5, and at x = 10 they are 21 and 25.

What is true: Lines with the same gradient and different values of c never meet. Two equations like that have no solution.

Key words

intersection
the point where two lines cross.
solution
the pair of numbers that makes both equations true: the coordinates of the intersection.

Back to your guess

The answer is B: x = 3 and y = 4 make both equations true.

A point on a line fits that line's equation. A point on both lines fits both equations. So the crossing point (3, 4) means x = 3 and y = 4: 3 + 1 = 4 and 7 − 3 = 4.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. The lines cross at P. What is the solution of the two equations?

    A graph with the x axis x and the y axis y. A line named y = x + 2 and a line named y = 10 − 3x cross at the point P.Py = x + 2y = 10 − 3x123452468100xy
    Tap your answer.
    1. Not this one. You swapped the two numbers. Read across first for x, then up for y. Go to M4.8.7. Try another.

    2. Not this one. The number 10 is where one line meets the y axis. The solution is the crossing point P, not an axis crossing. Go to M4.8.7. Try another.

    3. Not this one. That is where y = x + 2 meets the y axis. It is not on the other line. The solution is where the two lines cross. Go to M4.8.7. Try another.

    4. Yes, that is right. P is 2 across and 4 up. Check: 2 + 2 = 4 and 10 − 3 × 2 = 4.

    See the answer

    x = 2, y = 4

    P is 2 across and 4 up. Check: 2 + 2 = 4 and 10 − 3 × 2 = 4.

    • If you chose A: You swapped the two numbers. Read across first for x, then up for y. Go to M4.8.7.
    • If you chose B: The number 10 is where one line meets the y axis. The solution is the crossing point P, not an axis crossing. Go to M4.8.7.
    • If you chose C: That is where y = x + 2 meets the y axis. It is not on the other line. The solution is where the two lines cross. Go to M4.8.7.
  2. Why do y = 3x + 2 and y = 3x − 4 have no solution?

    Tap your answer.
    1. Yes, that is right. Both lines go up 3 for each 1 across. They stay the same distance apart and never meet.

    2. Not this one. Lines with different gradients cross somewhere, whole number or not. These lines never cross at all. Go to M4.8.7. Try another.

    3. Not this one. Lines meet on the y axis only if they have the same c. Different values of c put the crossing points apart. Go to M4.8.7. Try another.

    See the answer

    The lines have the same gradient, so they are parallel and never meet.

    Both lines go up 3 for each 1 across. They stay the same distance apart and never meet.

    • If you chose B: Lines with different gradients cross somewhere, whole number or not. These lines never cross at all. Go to M4.8.7.
    • If you chose C: Lines meet on the y axis only if they have the same c. Different values of c put the crossing points apart. Go to M4.8.7.
  3. Which pair of equations has no solution?

    Tap your answer.
    1. Not this one. Both lines cross the y axis at 3, so they meet there. The gradients differ, so there is a solution. Go to M4.8.7. Try another.

    2. Not this one. The gradients differ, so these lines cross. They cross on the y axis, where x = 0. Go to M4.8.7. Try another.

    3. Yes, that is right. These two lines have the same gradient, 2, and different values of c. They are parallel, so they never meet.

    4. Not this one. These are the same line, so every point on it is a solution. There are infinitely many, not none. Go to M4.8.7. Try another.

    See the answer

    y = 2x + 3 and y = 2x − 1

    These two lines have the same gradient, 2, and different values of c. They are parallel, so they never meet.

    • If you chose A: Both lines cross the y axis at 3, so they meet there. The gradients differ, so there is a solution. Go to M4.8.7.
    • If you chose B: The gradients differ, so these lines cross. They cross on the y axis, where x = 0. Go to M4.8.7.
    • If you chose D: These are the same line, so every point on it is a solution. There are infinitely many, not none. Go to M4.8.7.
  4. The lines y = 2x and y = 7 − x cross between the grid lines. What is the best estimate of the crossing point?

    A graph with the x axis x and the y axis y. A line named y = 2x and a line named y = 7 − x cross at the point P. Dashed guides run from P to both axes.Py = 2xy = 7 − x123451234560xy
    Tap your answer.
    1. Yes, that is right. Put the right sides equal: 2x = 7 − x, so 3x = 7 and x = 7/3, about 2.3. Then y = 2x = 14/3, about 4.7.

    2. Not this one. You swapped the two numbers. P is between 2 and 3 across, and between 4 and 5 up. Go to M4.8.7. Try another.

    3. Not this one. This point is on y = 7 − x, but not on y = 2x: at x = 2, y = 2x is 4. The answer must be on both lines. Go to M4.8.7. Try another.

    See the answer

    x ≈ 2.3, y ≈ 4.7

    Put the right sides equal: 2x = 7 − x, so 3x = 7 and x = 7/3, about 2.3. Then y = 2x = 14/3, about 4.7.

    • If you chose B: You swapped the two numbers. P is between 2 and 3 across, and between 4 and 5 up. Go to M4.8.7.
    • If you chose C: This point is on y = 7 − x, but not on y = 2x: at x = 2, y = 2x is 4. The answer must be on both lines. Go to M4.8.7.
  5. The graph shows two plants. Plant A is 10 cm tall and grows 2 cm each week. Plant B is 4 cm tall and grows 3 cm each week. After how many weeks are they the same height?

    A graph with the x axis time (weeks) and the y axis height (cm). A line named plant A starts at 10 and rises slowly. A line named plant B starts at 4 and rises faster. They cross at the point P, with dashed guides to both axes.Pplant Aplant B12345678510152025300time (weeks)height (cm)
    Tap your answer.
    1. Not this one. You added the two starting heights, 10 + 4. The plants are equal where the lines cross, which is the point P. Go to M4.8.7. Try another.

    2. Yes, that is right. The lines cross at 6 weeks. Check: 10 + 2 × 6 = 22 and 4 + 3 × 6 = 22. Both plants are 22 cm tall.

    3. Not this one. After 2 weeks plant A is 14 cm and plant B is 10 cm. They are still different. Read where the lines cross. Go to M4.8.7. Try another.

    4. Not this one. The number 22 is the height at P, in centimetres. The question asks for the time in weeks, across the bottom. Go to M4.8.7. Try another.

    See the answer

    6 weeks

    The lines cross at 6 weeks. Check: 10 + 2 × 6 = 22 and 4 + 3 × 6 = 22. Both plants are 22 cm tall.

    • If you chose A: You added the two starting heights, 10 + 4. The plants are equal where the lines cross, which is the point P. Go to M4.8.7.
    • If you chose C: After 2 weeks plant A is 14 cm and plant B is 10 cm. They are still different. Read where the lines cross. Go to M4.8.7.
    • If you chose D: The number 22 is the height at P, in centimetres. The question asks for the time in weeks, across the bottom. Go to M4.8.7.
  6. The equations y = 2x + 1 and 2y = 4x + 2 make the same line. How many solutions do they have?

    Tap your answer.
    1. Not this one. No solution happens when lines are parallel and different. These lines are the same line, so every point fits both. Go to M4.8.7. Try another.

    2. Yes, that is right. Dividing 2y = 4x + 2 by 2 gives y = 2x + 1. The two equations make the same line, and every point on it fits both.

    3. Not this one. One solution happens when two different lines cross once. These lines are the same line, so they meet everywhere. Go to M4.8.7. Try another.

    See the answer

    Infinitely many

    Dividing 2y = 4x + 2 by 2 gives y = 2x + 1. The two equations make the same line, and every point on it fits both.

    • If you chose A: No solution happens when lines are parallel and different. These lines are the same line, so every point fits both. Go to M4.8.7.
    • If you chose C: One solution happens when two different lines cross once. These lines are the same line, so they meet everywhere. Go to M4.8.7.
  7. The lines y = x + 2 and y = 8 − x cross. Find the crossing point. Give x first, then y.

    See the answer

    x = 3, y = 5

    Put the right sides equal: x + 2 = 8 − x, so 2x = 6 and x = 3. Then y = 3 + 2 = 5.

  8. Tank A holds 30 litres and gains 4 litres each minute. Tank B holds 12 litres and gains 7 litres each minute. After how many minutes do they hold the same?

    See the answer

    After 6 minutes

    Put 4t + 30 = 7t + 12. Take 4t and 12 from both sides: 18 = 3t, so t = 6. Check: 4 × 6 + 30 = 54 and 7 × 6 + 12 = 54.

  9. From an earlier chapter

    Solve x + y = 9 and 2x + y = 14. Give x first, then y.

    See the answer

    x = 5, y = 4

    Subtract the first equation from the second: x = 5. Then 5 + y = 9, so y = 4.

Keep it

Copy this into your exercise book.

The crossing point of two lines is the solution. Parallel lines: no solution. The same line: infinitely many. A graph estimates, algebra is exact.

Draw: Two lines crossing at a point, with the point named and its x and y read off the axes.

Reading with a child? A short page for the adult: what this chapter teaches and three questions to ask.

No internet tomorrow? Save the whole book as one file (989 KB). It opens on any phone.