Finding the Equation of a Line

Test yourself on Linear Graphs Problems with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Linear Graphs ProblemsGet your flashcardsBuild my revision planTrack my progress

Finding the Equation of a Line

Method 1: From a Graph

  1. Read the y-intercept c directly from the graph (where the line crosses the y-axis)
  2. Choose two clear points on the line (grid intersections)
  3. Calculate gradient: m = (change in y) ÷ (change in x)
  4. Write y = mx + c

Method 2: From Two Points

  1. Calculate gradient: m = (y₂ − y₁) ÷ (x₂ − x₁)
  2. Substitute m and one point into y = mx + c
  3. Solve for c
  4. Write the complete equation

Example: Find the equation of the line through (2, 7) and (5, 16).

Step 1: m = (16 − 7) ÷ (5 − 2) = 9 ÷ 3 = 3

Step 2: Substitute (2, 7): 7 = 3(2) + c → c = 7 − 6 = 1

Step 3: y = 3x + 1

Check with (5, 16): 3(5) + 1 = 16 ✓

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.