GCSE Maths · Algebra

Straight-line graphs GCSE Questions and Worked Answers

In y = mx + c, m is the gradient: the change in y for each unit increase in x. c is the y-intercept, the y-value where x = 0. A constant gradient produces a straight line.

Foundation & Higher6 worked examples10 original questions
Free AI tutor · GCSE straight-line graphs

Practise GCSE straight-line graphs for free with an AI tutor

Ask Ari for an explanation or work through an original exam-style question together.

AriYour maths coach
Chat cost ≈ $0.000000

Hi, I’m Ari. We can start straight-line graphs from the beginning, work through an example together, or practise a question. Tell me which step is confusing.

Enter to send · Shift + Enter for a new line · Use $...$ or $$...$$ for math

Ari is an AI tutor and can make mistakes. Use the worked answers below to check important results.

Start with the meaning

What you need to know about straight-line graphs

A hire charges a £1 fixed fee plus £2 per hour. One hour costs £3, two hours £5 and three hours £7. Let x be the hours and y the cost in pounds. The rule is y = 2x + 1. A coordinate pair such as (2, 5) records an input first, then its output: at 2 hours the cost is £5. Plotting these pairs puts the relationship on a graph.

See the idea first

Equal steps across give equal steps up

Each extra hour adds £2. That constant rate is the gradient. The £1 starting charge is the y-intercept, where the line meets the vertical axis at x = 0. The drawn line shows the mathematical rule; the hire context uses only non-negative hours.

Values of y = 2x + 1
x (hours)y (£)
01
13
25
37
-1012345-10123456781 across2 upxy
y = 2x + 1: moving one unit right increases y by two units.
From problem to method

Typical problems you need to be able to solve

These are the main kinds of question in this topic. Each card first states the problem, then explains how to solve it.

Plot a line from its equation

What the problem asks: Draw y = 2x + 1.

How to solve it: Choose x values, calculate y and plot ordered pairs. Join the points with a straight line; a third point helps check the calculation.

Find a gradient from two points

What the problem asks: Find the gradient through (1, 3) and (4, 9).

How to solve it: The rise is 9 − 3 = 6 and the run is 4 − 1 = 3, so the gradient is 6/3 = 2. Use the same point order in both subtractions.

Find the equation

What the problem asks: A line has gradient 3 and passes through (2, 10). Find its equation.

How to solve it: Start with y = 3x + c. Substitute the point: 10 = 6 + c, so c = 4. The equation is y = 3x + 4.

Find a parallel or perpendicular line

What the problem asks: A line has gradient 2. Give the gradient of a parallel line, and then of a perpendicular line (Higher).

How to solve it: A parallel line has the same gradient 2. A perpendicular line has gradient −1/2 (Higher), because for non-vertical perpendicular lines the gradients multiply to −1.

A reliable routine

For the equation of a non-vertical line through two points

A straight line has a constant ratio of vertical change to horizontal change. Once that gradient is known, one point locates the line by determining its intercept.

  1. Calculate the change in y and change in x between the two points, in the same order.
  2. Divide change in y by change in x to get m. A zero horizontal change means a vertical line instead.
  3. Substitute one point into y = mx + c and solve for c.
  4. Write the equation and check that the second point also satisfies it.

Check: A gradient is calculated from axis values, not the apparent angle on the screen. Different axis scales can change how steep a line looks. A vertical line x = a cannot be written y = mx + c.

Fully worked

Straight-line graphs GCSE worked examples

Each solution explains the clue, why the method fits and how to check the result.

Example 1

Create coordinates

2 marks
Question

Find the points on y = 3x − 2 when x = 0, 1 and 2.

Substitute each input.

y=3(0)2=2y=3(0)-2=-2 y=3(1)2=1y=3(1)-2=1 y=3(2)2=4y=3(2)-2=4

The points are (0, −2), (1, 1), (2, 4). Input x always comes first.

Example 2

Gradient from two points

2 marks
Question

Find the gradient through (−1, 7) and (3, −1).

Use the second point minus the first in both differences.

m=173(1)m=\frac{-1-7}{3-(-1)} =84=2=\frac{-8}{4}=-2

Going right by 4 while y falls by 8 means falling 2 for each 1 across. That is why the gradient is negative.

Example 3

Equation from a point and gradient

3 marks
Question

A line has gradient 4 and passes through (2, 11). Find its equation.

y=4x+cy=4x+c

Substitute x = 2 and y = 11.

11=8+c11=8+c c=3c=3

Therefore y = 4x + 3. Check: 4 × 2 + 3 = 11.

Example 4

Equation from two points

4 marks
Question

Find the equation through (1, 5) and (4, 11).

m=11541=2m=\frac{11-5}{4-1}=2

Use (1, 5) in y = 2x + c.

5=2+c5=2+c c=3c=3

The line is y = 2x + 3. The other point also works: 2 × 4 + 3 = 11.

Example 5

Read a rearranged equation

3 marks
Question

Find the gradient and y-intercept of 3x + 2y = 8.

Isolate y first.

2y=3x+82y=-3x+8 y=32x+4y=-\frac32x+4

The gradient is −3/2 and the y-intercept is 4, at (0, 4). The original x coefficient 3 is not the gradient.

Example 6

A perpendicular line

Higher only4 marks
Question

Find the equation of the line perpendicular to y = 2x + 5 through (4, 1).

The perpendicular gradient is −1/2: its product with 2 is −1.

y=12x+cy=-\frac12x+c

Substitute (4, 1).

1=2+c1=-2+c c=3c=3

Therefore

y=12x+3y=-\frac12x+3

This rule is for finite, non-zero gradients; horizontal and vertical lines form a separate perpendicular pair.

10 original questions · total 26 marks

Straight-line graphs GCSE exam-style questions

Try each question before opening its fully worked answer. The difficulty rises through the set.

Before you startAllow about 31 minutes · Show your working. Give exact answers unless a question asks you to round, and include units where needed. · answers start collapsed
1

Read the constants

1 mark

State the gradient and y-intercept of y = 5x − 3.

Show worked answer

Comparing with y = mx + c gives m = 5 and c = −3. The intercept is the point (0, −3).

2

Plotting values

2 marks

Find points on y = 2x − 4 for x = 0, 2 and 3.

Show worked answer

For x = 0, y=2(0)4=4y=2(0)-4=-4 For x = 2, y=2(2)4=0y=2(2)-4=0 For x = 3, y=2(3)4=2y=2(3)-4=2 The points are (0, −4), (2, 0), (3, 2).

3

Positive gradient

2 marks

Find the gradient through (2, 1) and (6, 13).

Show worked answer
m=13162=124=3m=\frac{13-1}{6-2}=\frac{12}{4}=3

Rise divided by run gives the change per unit of x.

4

Negative gradient

2 marks

Find the gradient through (0, 8) and (4, 2).

Show worked answer
m=2840=64=32m=\frac{2-8}{4-0}=\frac{-6}{4}=-\frac32

The y-values fall as x increases.

5

Given gradient

3 marks

Find the line with gradient −2 through (3, 1).

Show worked answer
y=2x+cy=-2x+c 1=6+c1=-6+c c=7c=7

Therefore y = −2x + 7.

6

Two points

4 marks

Find the line through (1, 4) and (3, 10).

Show worked answer
m=10431=3m=\frac{10-4}{3-1}=3 4=3(1)+c4=3(1)+c c=1c=1

The equation is y = 3x + 1.

7

Parallel

3 marks

Find the line parallel to y = 4x − 1 through (2, 3).

Show worked answer

Parallel lines have the same gradient.

y=4x+cy=4x+c 3=8+c3=8+c c=5c=-5

The equation is y = 4x − 5.

8

Rearrange

3 marks

Find the gradient and y-intercept of 2x + 5y = 15.

Show worked answer
5y=2x+155y=-2x+15 y=25x+3y=-\frac25x+3

Gradient −2/5; y-intercept 3.

9

Vertical and horizontal

2 marks

Give the horizontal and vertical line equations through (3, −2).

Show worked answer

The horizontal line keeps y constant, so y = −2. The vertical line keeps x constant, so x = 3. Its gradient is undefined because the horizontal change is zero.

10

Perpendicular

Higher only4 marks

Find the line perpendicular to y = 3x + 2 through (6, 1).

Show worked answer

The new gradient is −1/3.

y=13x+cy=-\frac13x+c 1=2+c1=-2+c c=3c=3

Therefore y = −x/3 + 3.

Examiner-style feedback

Common straight-line graphs mistakes

Swapping rise and run

Gradient is change in y divided by change in x, not the other way around.

Mixing subtraction orders

If the numerator uses point B minus A, use B minus A in the denominator too.

Reading m before isolating y

Rearrange to y = mx + c before identifying its gradient and intercept.

30-second recap

Choose, carry out, check

Translate the wording before you reach for a rule.

  1. Coordinates are ordered (x, y).
  2. Gradient is vertical change divided by horizontal change.
  3. The y-intercept occurs at x = 0.
  4. Check an equation using both given points.
Quick answers

Straight-line graphs FAQ

Does every straight line pass through the origin?

No. A non-vertical line y = mx + c passes through the origin only when c = 0.

What is the gradient of a horizontal line?

Zero: y does not change as x changes. A vertical line has undefined gradient, not zero.

Build connected skills

What to revise next

Content standards

Curriculum and rights review

A9–A10: straight-line plotting, gradients, intercepts and parallel lines; perpendicular-line calculations are labelled Higher. Questions, suggested marks, solutions and diagrams are original practice material, not official past-paper questions.

Official specification references