Skip to content
Menu

Year 10 (ages 14–15, Grade 9 in the US) · Maths · Linear graphs · Lesson 4

Finding the equation of a line

Find the equation of a straight line from its graph, from its gradient and one point, and from two points, check whether a point lies on a line, and write equations in the form ax + by = c.

Exam boards: this lesson matches the AQA and Pearson Edexcel GCSE maths courses. Check which course your school follows.

Whiteboard video lesson: Finding the equation of a line

20-minute video lesson

Teaching, worked examples and 24 practice questions solved step by step.

Watch free for a month

What your child will learn

  • Find the equation from a graph
  • Find the equation from a gradient and a point
  • Find the equation from two points
  • Check whether a point lies on a line

The method

  1. From a graph: read c where it crosses the y-axis, then find m with a triangle.
  2. Gradient and a point: put x, y and m into y = mx + c and solve for c.
  3. Two points: find m = change in y ÷ change in x first, then c as above.
  4. Check: substitute the other point too.
  5. A point lies on a line if its coordinates make the equation true.

Key words: equation of a line, gradient, intercept, substitute, coordinates, y = mx + c.

Worked examples

Worked examples from the lesson, with every step.

Question 1

Find the equation of this line.

  1. Step 1: crosses y-axis at 3 → c = 3
  2. Step 2: from (0, 3) to (1, 2): −1 ÷ 1 = −1
  3. Step 3: y = 3 − x

Answer: y = 3 − x

Question 2

A line has gradient 4 and passes through (3, 5). Find its equation.

  1. Step 1: 5 = 4 × 3 + c
  2. Step 2: c = −7
  3. Step 3: y = 4x − 7

Answer: y = 4x − 7

Question 3

Find the equation of the line through (−2, 7) and (4, −5).

  1. Step 1: (−5 − 7) ÷ (4 − (−2)) = −2
  2. Step 2: 7 = −2 × (−2) + c
  3. Step 3: c = 3
  4. Step 4: y = 3 − 2x

Answer: y = 3 − 2x