MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Straight Line Graphs GCSE Maths: A Clear Guide

Straight Line Graphs GCSE Maths: A Clear Guide

Straight line graphs GCSE maths made clear. Learn gradients and intercepts with worked examples, common mistakes and exam-style practice questions today.

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

Straight line graphs GCSE maths questions often feel harder than they really are. A line appears on a grid, several coordinates are marked, and suddenly you are expected to connect algebra with a picture.

You need to recognise the equation, identify the gradient, find the intercept and move confidently between an equation, a table and a graph. Once those connections become familiar, the topic stops feeling unpredictable.

The straight line graphs checklist

Before attempting exam-style questions, make sure you can:

  • recognise the form y=mx+cy=mx+cy=mx+c;
  • identify the gradient mmm;
  • identify the yyy-intercept ccc;
  • calculate a gradient from two coordinates;
  • draw a line from its equation;
  • find the equation of a line from a graph or two points;
  • recognise parallel lines from their gradients.

Higher tier questions may also involve perpendicular lines. Check your exam board's specification for your course requirements.

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

The equation of a non-vertical straight line is commonly written as:

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

The letter mmm represents the gradient. It tells you the direction and steepness of the line. The letter ccc represents the yyy-intercept, the value of yyy where the line crosses the yyy-axis.

For example, consider:

y=3x−4y=3x-4y=3x−4

The gradient is 333 and the yyy-intercept is −4-4−4. Therefore, the line crosses the yyy-axis at (0,−4)(0,-4)(0,−4).

A positive gradient means the line rises as you move from left to right. A negative gradient means it falls. A gradient of 000 produces a horizontal line.

Vertical lines are an exception. A vertical line has an equation such as x=5x=5x=5 and does not have a defined gradient, so it cannot be written in the form y=mx+cy=mx+cy=mx+c.

MathsGenie's Gradient of a Line revision guide explains how steepness and direction are represented.

How to draw a straight line graph

Graphs are built from exact coordinates, not guesses about where a line belongs.

Use this reliable method:

  • Choose several sensible xxx-values.
  • Substitute each value into the equation.
  • Record the resulting coordinates in a table.
  • Plot the coordinates carefully.
  • Draw one straight line through them using a ruler.

Worked example: drawing y=2x−1y=2x-1y=2x−1

Choose the xxx-values −2-2−2, −1-1−1, 000, 111 and 222.

xxx−2-2−2−1-1−1000111222
y=2x−1y=2x-1y=2x−1−5-5−5−3-3−3−1-1−1111333

For example, when x=−2x=-2x=−2:

y=2(−2)−1=−5y=2(-2)-1=-5y=2(−2)−1=−5

The coordinates are therefore (−2,−5)(-2,-5)(−2,−5), (−1,−3)(-1,-3)(−1,−3), (0,−1)(0,-1)(0,−1), (1,1)(1,1)(1,1) and (2,3)(2,3)(2,3).

Plot the points and join them with a straight line. Notice that the line crosses the yyy-axis at (0,−1)(0,-1)(0,−1), which agrees with c=−1c=-1c=−1. It also rises by 222 units whenever you move 111 unit to the right, agreeing with m=2m=2m=2.

Consolidate this process with the Drawing Linear Graphs exam booklet or revisit the straight line graph lesson.

A student asks a ruler to make their thinking straight in a minimalist revision comicA student asks a ruler to make their thinking straight in a minimalist revision comic

Straight line graphs worked examples

The next step is reversing the process: finding an equation from coordinates rather than drawing a graph from an equation.

Finding the gradient from two points

The gradient is the change in yyy divided by the change in xxx:

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

Suppose a line passes through (1,2)(1,2)(1,2) and (5,10)(5,10)(5,10). Its gradient is:

m=10−25−1=84=2m=\frac{10-2}{5-1}=\frac{8}{4}=2m=5−110−2​=48​=2

Subtract the coordinates in the same order. If you calculate 10−210-210−2 on the top, calculate 5−15-15−1 on the bottom.

Finding the full equation

Once you know m=2m=2m=2, substitute one of the coordinates into y=mx+cy=mx+cy=mx+c. Using (1,2)(1,2)(1,2) gives:

2=2(1)+c2=2(1)+c2=2(1)+c 2=2+c2=2+c2=2+c c=0c=0c=0

The equation is therefore:

y=2xy=2xy=2x

You can check it using the second coordinate:

10=2(5)10=2(5)10=2(5)

The statement is true, so the equation fits both points. For more practice, use the Equation of a Line exam-style questions, which include worked solutions.

Parallel and perpendicular lines

Parallel lines have the same gradient. For example, the lines

y=4x+1y=4x+1y=4x+1

and

y=4x−7y=4x-7y=4x−7

are parallel because both have gradient 444. Their intercepts are different, so they do not lie on top of one another.

For Higher tier questions, two non-vertical perpendicular lines have gradients whose product is −1-1−1. This means that you take the negative reciprocal. If one gradient is 333, the perpendicular gradient is:

−13-\frac{1}{3}−31​

Do not simply change the sign. The perpendicular gradient to 333 is not −3-3−3.

The intersection of two lines can represent the solution to a pair of equations, as shown in the Solving Simultaneous Equations Graphically lesson.

Common mistakes with straight line graphs

Confusing the gradient and intercept

In y=−2x+6y=-2x+6y=−2x+6, the gradient is −2-2−2 and the intercept is 666. The gradient is the coefficient of xxx, not whichever number appears first.

Ignoring a negative gradient

If mmm is negative, the line must fall from left to right. If your calculated gradient is negative but your graph rises, something is wrong.

Reading the wrong intercept

The value ccc is specifically the yyy-intercept. It is where the line crosses the vertical axis, not the horizontal axis.

Using an inconsistent subtraction order

For two coordinates, either subtraction order works, provided it is consistent:

10−25−1=2−101−5=2\frac{10-2}{5-1}=\frac{2-10}{1-5}=25−110−2​=1−52−10​=2

Mixing the orders changes the sign incorrectly.

Drawing separate line segments

Plot the coordinates first, then use a ruler to draw one continuous straight line. Avoid joining each pair of points with short, uneven strokes.

Straight line graphs questions to practise

Try these without looking back at the examples.

  • For y=−3x+4y=-3x+4y=−3x+4, state the gradient and yyy-intercept.
  • Complete the values of yyy when x=−2x=-2x=−2, 000 and 222 for y=12x+2y=\frac{1}{2}x+2y=21​x+2.
  • Find the equation of the line through (−1,5)(-1,5)(−1,5) and (3,−3)(3,-3)(3,−3).
  • Find the equation of the line parallel to y=4x−7y=4x-7y=4x−7 that passes through (2,3)(2,3)(2,3).

The answers are:

  • The gradient is −3-3−3 and the yyy-intercept is 444.
  • The values of yyy are 111, 222 and 333.
  • The gradient is −2-2−2 and the equation is y=−2x+3y=-2x+3y=−2x+3.
  • The parallel gradient is 444, so the equation is y=4x−5y=4x-5y=4x−5.

Check whether your gradient has the correct sign, whether the intercept matches the graph and whether a given coordinate satisfies your equation.

Turn understanding into marks

Follow the same sequence: identify mmm, identify or calculate ccc, and check with a coordinate. Regular practice makes this dependable under time pressure.

Start the MathsGenie Equation of a Line Question Bank and practise moving between equations, coordinates and graphs.

  • The straight line graphs checklist
  • Understanding $y=mx+c$
  • How to draw a straight line graph
  • Straight line graphs worked examples
  • Parallel and perpendicular lines
  • Common mistakes with straight line graphs
  • Straight line graphs questions to practise
  • Turn understanding into marks

Frequently Asked Questions

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

More from the blog

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.

20 Nov 2026

Integration Questions in A-Level Maths Mocks

Integration questions in A-Level Maths mocks: choose methods, avoid common errors and build targeted practice with free MathsGenie lessons and solutions.

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.