Equation of a line from its graph
Ready? You need these first.
Stuck on these? Start with gradient and y-intercept first.
A. Read the y-intercept Fluency Where does the line cross the y-axis? Write down c.
↗ Find the y-axis (the one going up). Read the number where the line crosses it.
B. Up or down? Fluency Is the gradient positive, negative or zero?
↗ Read the line from left to right. Uphill is positive, downhill is negative, flat is zero.
C. Gradient with a triangle Fluency Work out the gradient of each line. Gradient = rise ÷ run.
↗ First the triangle has its numbers, then you count them, then you draw your own. A line going down has a negative rise.
D. Gradient on your own Fluency Work out the gradient. Draw your own triangle between two points where the line crosses grid corners.
↗ Now there is no triangle. Pick two grid corners on the line, far apart.
E. Fraction gradients Fluency Work out the gradient. Give it as a fraction when it is not a whole number.
↗ Go across far enough to land on a grid corner. 1 up for every 2 across is a gradient of ½.
F. Look at the scales Fluency Work out the gradient. Check what each square is worth on each axis first.
↗ Use the numbers on the axes, not the number of squares.
G. m and c together Fluency Write down the gradient m and the y-intercept c.
↗ c first (where it crosses the y-axis), then m (rise ÷ run).
H. Worked examples Worked examples Read the first one. Fill the gaps in the second. Do the third on your own the same way.
↗ Each example does a little less for you.
From (0, 3) go 1 across and 1 down: m = −1 ÷ 1 = −1.
So y = −x + 3
Go 1 across and : m = .
So y = x
I. Write the equation Fluency Write the equation of each line in the form y = mx + c.
↗ Steps: c, then m, then y = mx + c. Watch for flat lines (y = …) and upright lines (x = …).
J. Lines on the same axes Spot the pattern Write the equation of each line A, B and C. What is the same and what changes?
↗ Parallel lines have the same m. Lines through the same point on the y-axis have the same c.
K. Which is right? Which is right? Choose A, B, C or D. Then say what mistake each wrong answer makes.
↗ Hold up A, B, C or D.
L. Spot the mistake Reasoning Each pupil has made a mistake. Say what they did wrong and write the right equation.
↗ Check c first, then the sign of m, then its size.
M. Real-life graphs Problem solving Read the scales carefully. Answer each part.
↗ The intercept is the starting value; the gradient is the rate (per mile, per hour, per minute).
(a) Write down the gradient and the intercept.
(b) What does each one mean?
(c) Write a formula for V in terms of t.
(a) Write down the gradient and the intercept.
(b) What does each one mean?
(c) Write a formula for C in terms of h.
(a) Write down the gradient and the intercept.
(b) What does each one mean?
(c) Write a formula for C in terms of d.
N. Deeper Deeper For when you have finished.
Answers
Ready?
| ✓1 | m = 4, c = −3 |
| ✓2 | (0, 2) |
| ✓3 | 2 and −2 |
A. Read the y-intercept
| A1 | c = 3 c = −1 read where the line crosses the x-axis: c is where it crosses the y-axis (the up-and-down one) |
| A2 | c = 1 c = −1 read where the line crosses the x-axis: c is where it crosses the y-axis (the up-and-down one) |
| A3 | c = 2 c = −1 read where the line crosses the x-axis: c is where it crosses the y-axis (the up-and-down one) |
| A4 | c = −3 c = 3 lost the minus sign: the line crosses below 0 |
| A5 | c = −3 c = 3 lost the minus sign: the line crosses below 0 |
| A6 | c = 0 no c the line goes through (0, 0), so c = 0 |
| A7 | c = 5 |
| A8 | c = −1 c = 1 lost the minus sign: the line crosses below 0 |
B. Up or down?
| B1 | positive |
| B2 | negative positive read the line from right to left: always read from left to right, like reading a book |
| B3 | positive |
| B4 | negative positive read the line from right to left: always read from left to right, like reading a book |
| B5 | zero positive a flat line does not go up or down: its gradient is 0 |
| B6 | negative positive read the line from right to left: always read from left to right, like reading a book |
C. Gradient with a triangle
| C1 | m = 3 m = 13 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| C2 | m = 3 m = 13 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 6 gave the rise only: divide by the run (2) |
| C3 | m = −2 m = −12 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 2 lost the minus sign: the line goes down from left to rightm = −4 gave the rise only: divide by the run (2) |
| C4 | m = −3 m = −13 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 3 lost the minus sign: the line goes down from left to right |
| C5 | m = −2 m = −12 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 2 lost the minus sign: the line goes down from left to rightm = −4 gave the rise only: divide by the run (2) |
| C6 | m = −3 m = −13 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 3 lost the minus sign: the line goes down from left to rightm = −6 gave the rise only: divide by the run (2) |
D. Gradient on your own
| D1 | m = 4 m = 14 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| D2 | m = 1 m = −5 gave the y-intercept: the gradient is how steep the line is |
| D3 | m = 3 m = 13 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| D4 | m = −3 m = −13 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 3 lost the minus sign: the line goes down from left to right |
| D5 | m = −1 m = 1 lost the minus sign: the line goes down from left to right |
| D6 | m = −4 m = −14 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 4 lost the minus sign: the line goes down from left to right |
| D7 | m = −1 m = 1 lost the minus sign: the line goes down from left to rightm = −5 gave the y-intercept: the gradient is how steep the line is |
| D8 | m = −5 m = −15 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 5 lost the minus sign: the line goes down from left to right |
E. Fraction gradients
| E1 | m = 12 m = 2 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| E2 | m = 12 m = 2 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| E3 | m = 13 m = 3 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| E4 | m = 23 m = 32 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| E5 | m = −12 m = −2 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 12 lost the minus sign: the line goes down from left to right |
| E6 | m = −13 m = −3 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 13 lost the minus sign: the line goes down from left to right |
F. Look at the scales
| F1 | m = 2 m = 1 counted squares: each square up is worth 2m = 12 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| F2 | m = 6 m = 3 counted squares: each square up is worth 2m = 16 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| F3 | m = 10 m = 1 counted squares: each square up is worth 10m = 110 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| F4 | m = −10 m = −1 counted squares: each square up is worth 10m = −110 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 10 lost the minus sign: the line goes down from left to right |
| F5 | m = 52 m = 1 counted squares: each square up is worth 5 and each square across is worth 2m = 25 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| F6 | m = −5 m = −2 counted squares: each square up is worth 5 and each square across is worth 2m = −15 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 5 lost the minus sign: the line goes down from left to right |
G. m and c together
| G1 | m = 2, c = 3 m = 3, c = 2 swapped them: m is the steepness, c is where it crosses the y-axism = 12, c = 3 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| G2 | m = 2, c = 1 m = 1, c = 2 swapped them: m is the steepness, c is where it crosses the y-axism = 12, c = 1 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| G3 | m = 3, c = −1 m = −1, c = 3 swapped them: m is the steepness, c is where it crosses the y-axism = 13, c = −1 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| G4 | m = −1, c = 5 m = 5, c = −1 swapped them: m is the steepness, c is where it crosses the y-axism = 1, c = 5 lost the minus sign: the line goes down from left to right |
| G5 | m = −1, c = 2 m = 2, c = −1 swapped them: m is the steepness, c is where it crosses the y-axism = 1, c = 2 lost the minus sign: the line goes down from left to right |
| G6 | m = −1, c = −2 m = −2, c = −1 swapped them: m is the steepness, c is where it crosses the y-axism = 1, c = −2 lost the minus sign: the line goes down from left to right |
| G7 | m = 12, c = 1 m = 12, c = −2 took c from the x-axism = 2, c = 1 did run ÷ rise: the gradient is rise ÷ run (up ÷ across) |
| G8 | m = −12, c = −4 m = −2, c = −4 did run ÷ rise: the gradient is rise ÷ run (up ÷ across)m = 12, c = −4 lost the minus sign: the line goes down from left to right |
H. Worked examples
| H1 | y = −x + 3 |
| H2 | c = 2, m = −2, so y = −2x + 2 |
| H3 | y = −2x + 4 |
I. Write the equation
| I1 | y = 3x + 1 y = x + 3 swapped m and cy = 13x + 1 did run ÷ risey = 3x left out c |
| I2 | y = x + 2 y = 2x + 1 swapped m and cy = x − 2 took c from the x-axis: c is where the line crosses the y-axisy = x left out c |
| I3 | y = x − 1 y = −x + 1 swapped m and cy = x + 1 took c from the x-axis: c is where the line crosses the y-axisy = x left out c |
| I4 | y = 3x − 5 y = −5x + 3 swapped m and cy = 13x − 5 did run ÷ risey = 3x left out c |
| I5 | y = −2x + 2 y = 2x − 2 swapped m and cy = −2x + 1 took c from the x-axis: c is where the line crosses the y-axisy = 2x + 2 lost the minus sign: the line goes downhilly = −12x + 2 did run ÷ risey = −2x left out c |
| I6 | y = −x + 3 y = 3x − 1 swapped m and cy = x + 3 lost the minus sign: the line goes downhilly = −x left out c |
| I7 | y = −x y = x lost the minus sign: the line goes downhill |
| I8 | y = −13x − 4 y = 13x − 4 lost the minus sign: the line goes downhilly = −3x − 4 did run ÷ risey = −13x left out c |
| I9 | y = 32x − 2 y = 23x − 2 did run ÷ risey = 32x left out c |
| I10 | y = 5 x = 5 a flat (horizontal) line: every point on it has the same y valuey = 5x a flat line has gradient 0, so there is no x term |
| I11 | x = −3 y = −3 an upright (vertical) line: every point on it has the same x value |
| I12 | y = 2x − 2 y = −2x + 2 swapped m and cy = 2x + 1 took c from the x-axis: c is where the line crosses the y-axisy = 12x − 2 did run ÷ risey = 2x left out c |
J. Lines on the same axes
| J1 | A: y = x + 2; B: y = x − 1; C: y = x − 3 |
| J2 | A: y = x + 2; B: y = −2x + 2; C: y = 3x + 2 |
| J3 | A: y = x − 2; B: y = −x − 2 |
K. Which is right?
| K1 | C: y = 4x + 2 A did run ÷ riseB left out cD swapped m and c |
| K2 | B: y = −2x − 1 A lost the minus sign: the line goes downhillC swapped m and cD changed both signs |
| K3 | D: y = 4 A that line goes uphillB a flat line has gradient 0C mixed up x = and y =: on a flat line y stays the same |
| K4 | C: −12 A that is the y-interceptB did run ÷ riseD got the sign wrong |
L. Spot the mistake
| L1 | y = 2x + 4: Zara swapped m and c |
| L2 | y = −2x + 4: Leo lost the minus sign: the line goes downhill so m is negative |
| L3 | y = 2x − 4: Priya used where the line crosses the x-axis for c |
| L4 | y = −12x + 3: Jack did run ÷ rise: it goes 1 down for every 2 across, so m = −½ |
M. Real-life graphs
| M1 | V = −40t + 400; 400 litres at the start; it loses 40 litres a minute V = −45t + 400 counted squares: use the numbers on the axes |
| M2 | C = 20h + 60; £60 call-out charge; £20 for each hour C = h + 60 counted squares: use the numbers on the axes |
| M3 | C = 52d + 2; £2 fixed charge; £2.50 for each mile C = 54d + 2 counted squares: use the numbers on the axes |
N. Deeper
| N1 | y = x + 2 y = x + 4 read c at x = 2, the left edge of the grid: c is the value when x = 0 |
| N2 | y = −12x + 0.5 |
| N3 | y = 2x + 4 y = 4x + 4 did y ÷ x for the point (2, 8): the gradient is the change in y ÷ the change in x |
| N4 | y = 2x − 5 |
4