MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Equation of a Line Through Two Points Exam Questions

Equation of a Line Through Two Points Exam Questions

Equation of a line through two points exam questions: three GCSE worked examples, method-mark guidance and focused practice to help you answer confidently.

MathsGenie Team
•Last updated: 20 Nov 2026
Share
Add as a preferred source on Google

Two coordinates, one reliable method

Equation of a line through two points exam questions become manageable when you separate two jobs: calculate the gradient, then use either point to find the intercept. Write the equation, check both coordinates, and you have a repeatable method rather than a formula you hope to remember.

Imagine a student working through three GCSE questions. The first has friendly coordinates. The second introduces negative numbers. The third produces fractions and asks for a different answer form. These are hypothetical, original exam-style questions, not reproduced past-paper questions.

The numbers change, but the underlying decisions do not. That is what makes this topic worth practising carefully.

Your equation-of-a-line checklist

For a non-vertical straight line, use:

y=mx+cy=mx+cy=mx+c

Here, mmm is the gradient and ccc is the yyy-intercept, the value of yyy when x=0x=0x=0.

Your checklist is:

  • Find the change in yyy divided by the change in xxx.
  • Substitute the gradient and one complete coordinate pair into y=mx+cy=mx+cy=mx+c.
  • Solve for ccc.
  • Write the complete equation in the requested form.
  • Check that both original points satisfy it.

For points (x1,y1)(x_1,y_1)(x1​,y1​) and (x2,y2)(x_2,y_2)(x2​,y2​):

m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}m=x2​−x1​y2​−y1​​

Keep the subtraction order consistent. If you begin with the second point in the numerator, begin with it in the denominator too. MathsGenie's Gradient of a Line lesson resources can help if this first step feels uncertain.

Once you have this checklist, use MathsGenie's Equation of a Line Lessons and Question Bank to practise the same sequence with different coordinates.

Three GCSE exam-style worked examples

First question: build the method with positive coordinates

Question: Find the equation of the straight line through (2,5)(2,5)(2,5) and (6,13)(6,13)(6,13). Give your answer in the form y=mx+cy=mx+cy=mx+c.

Our imagined student starts with the gradient rather than trying to guess the equation:

m=13−56−2=84=2m=\frac{13-5}{6-2}=\frac{8}{4}=2m=6−213−5​=48​=2

The equation must therefore have the form:

y=2x+cy=2x+cy=2x+c

Substitute (2,5)(2,5)(2,5):

5=2×2+c5=2\times2+c5=2×2+c c=1c=1c=1

So the answer is:

y=2x+1\boxed{y=2x+1}y=2x+1​

The student checks the unused point. Substituting x=6x=6x=6 gives y=13y=13y=13, as required.

Where the marks come from: The gradient calculation shows a valid method. Substituting a point shows how the intercept was found. The final equation demonstrates accuracy and completes the task. Exact allocations vary between questions, so these are marking checkpoints, not a guaranteed three-mark scheme.

Second question: handle a negative gradient

Question: Find the equation of the straight line through (−3,8)(-3,8)(−3,8) and (1,−4)(1,-4)(1,−4).

The student notices that moving right takes the line downwards. That suggests a negative gradient, a useful check before calculating:

m=−4−81−(−3)=−124=−3m=\frac{-4-8}{1-(-3)}=\frac{-12}{4}=-3m=1−(−3)−4−8​=4−12​=−3

Now write:

y=−3x+cy=-3x+cy=−3x+c

Using (1,−4)(1,-4)(1,−4) keeps the substitution straightforward:

−4=−3×1+c-4=-3\times1+c−4=−3×1+c c=−1c=-1c=−1

Therefore:

y=−3x−1\boxed{y=-3x-1}y=−3x−1​

Check the other point:

−3×(−3)−1=9−1=8-3\times(-3)-1=9-1=8−3×(−3)−1=9−1=8

Where the marks come from: Writing the gradient as a fraction makes the subtraction method visible, even if an arithmetic error follows. Correct substitution provides further evidence of the approach. Whether later marks remain available after an earlier error depends on the question's mark scheme.

The important habit is not writing more. It is writing the steps that explain your reasoning.

A hand-drawn stick-figure revision comic about preparing for mistakes and progressA hand-drawn stick-figure revision comic about preparing for mistakes and progress

Third question: keep fractions exact and change the form

Question: A straight line passes through (−2,4)(-2,4)(−2,4) and (4,1)(4,1)(4,1). Find its equation in the form ax+by=dax+by=dax+by=d, where aaa, bbb and ddd are integers.

The student follows the familiar route:

m=1−44−(−2)=−36=−12m=\frac{1-4}{4-(-2)}=\frac{-3}{6}=-\frac{1}{2}m=4−(−2)1−4​=6−3​=−21​

Then:

y=−12x+cy=-\frac{1}{2}x+cy=−21​x+c

Substitute (4,1)(4,1)(4,1):

1=−12×4+c1=-\frac{1}{2}\times4+c1=−21​×4+c 1=−2+c1=-2+c1=−2+c c=3c=3c=3

This gives:

y=−12x+3y=-\frac{1}{2}x+3y=−21​x+3

But the question is not finished. Multiply every term by 222, then rearrange:

2y=−x+62y=-x+62y=−x+6 x+2y=6\boxed{x+2y=6}x+2y=6​

Both points work: −2+2×4=6-2+2\times4=6−2+2×4=6 and 4+2×1=64+2\times1=64+2×1=6.

Where the marks come from: The gradient and intercept calculations establish the line. The final rearrangement meets the requested answer form. An equivalent equation can be mathematically correct without fully following the instruction, so always reread the final sentence.

What exam mark schemes need to see

An equation of a line through two points GCSE exam question tests more than substitution. It asks whether you can connect coordinates, gradient and an equation.

In mark schemes, an M mark generally rewards a method, while an A mark rewards accuracy. The precise requirements belong to the individual scheme. Do not assume every line of working earns a separate mark, or that every question has the same allocation.

A useful working layout is one gradient calculation, one substitution, the completed equation and a short check. MathsGenie's Equation of a Line worked solutions let you compare your reasoning with a complete solution, not just an answer.

Common mistakes that change the line

Reversing only one subtraction

You may subtract the coordinates in either direction, but both parts must match. Reversing only the numerator or denominator changes the gradient's sign.

Using a coordinate as the intercept

The yyy-coordinate of a point is not automatically ccc. It equals the intercept only when that point has x=0x=0x=0. Otherwise, substitute to calculate ccc.

Dropping brackets around negative numbers

Write 1−(−3)1-(-3)1−(−3) before simplifying it to 444. Brackets keep subtraction separate from the sign belonging to the coordinate.

Forcing every line into the same form

If both points share an xxx-coordinate, the line is vertical and has equation x=kx=kx=k, where kkk is that shared value. Its gradient is undefined. If both share a yyy-coordinate, the line is horizontal, with equation y=ky=ky=k and gradient 000.

Exam-style practice: try before checking

Cover the worked examples and find each equation independently:

  • Positive gradient: Through (1,4)(1,4)(1,4) and (3,10)(3,10)(3,10), in the form y=mx+cy=mx+cy=mx+c.
  • Negative gradient: Through (−2,7)(-2,7)(−2,7) and (2,−1)(2,-1)(2,−1), in the form y=mx+cy=mx+cy=mx+c.
  • Fractional gradient: Through (−3,5)(-3,5)(−3,5) and (3,1)(3,1)(3,1), in the form ax+by=dax+by=dax+by=d with integer coefficients.

Answers: y=3x+1y=3x+1y=3x+1; y=−2x+3y=-2x+3y=−2x+3; 2x+3y=92x+3y=92x+3y=9.

If an answer differs, check the gradient first, then the intercept, then the rearrangement. This locates the error instead of restarting blindly. For equation of a line through two points past paper questions, apply the same routine and consult the accompanying mark scheme rather than assuming the allocations above.

If the algebra works but the graph feels disconnected, the Drawing Linear Graphs practice booklet helps connect equations with coordinates.

Turn the method into a dependable answer

Our hypothetical student has moved from guessing to a clear routine: gradient, substitution, equation, check. Your next challenge is using it independently when the coordinates look less friendly. Start your next practice session with MathsGenie's Equation of a Line Lessons and Question Bank.

  • Two coordinates, one reliable method
  • Your equation-of-a-line checklist
  • Three GCSE exam-style worked examples
  • What exam mark schemes need to see
  • Common mistakes that change the line
  • Exam-style practice: try before checking
  • Turn the method into a dependable answer

Frequently Asked Questions

How helpful was this article?
Add as a preferred source on Google

More from the blog

20 Nov 2026

What to Do After Your A-Level Maths Mock

What to do after your A-Level Maths mock: analyse errors, repair weak topics and build targeted practice papers for focused, effective revision.

20 Nov 2026

Year 13 A-Level Maths Mocks and Predicted Grades

Year 13 A-Level Maths mocks and predicted grades explained, with practical revision advice, a worked example and a plan for your next targeted practice paper.

20 Nov 2026

Large Data Set Revision for the Mock

Large data set revision for the mock, with a focused checklist, statistical examples, common mistakes and practical advice for A-Level Maths students.

20 Nov 2026

Proof Questions in A-Level Maths Mocks: A Clear Guide

Proof questions in A-Level Maths mocks explained through worked examples, common mistakes and focused revision. Build your next targeted practice paper.

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Maths Genie on Google Play
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.