Skip to main content
EnglandMathsSyllabus dot point

How do you find the gradient and intercept of a line, use y = mx + c, and find equations of parallel and perpendicular lines?

Straight line graphs: plotting lines, finding the gradient and y-intercept, using the equation y = mx + c, finding the equation of a line through two points, and parallel and perpendicular lines (Higher tier).

A focused answer to the Edexcel GCSE Mathematics algebra content on straight line graphs, covering gradient and intercept, the equation y = mx + c, finding the equation through two points, and parallel and perpendicular lines.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Gradient and intercept
  3. Using y = mx + c
  4. Parallel lines (Higher and Foundation)
  5. Perpendicular lines (Higher)
  6. Rearranging into y = mx + c
  7. Try this

What this dot point is asking

Straight line graphs link algebra and geometry. Edexcel expects you to plot lines, find a line's gradient and y-intercept, use the equation y=mx+cy = mx + c, find the equation of a line through two points, and at Higher tier handle parallel and perpendicular lines. The equation of a line is a rule connecting every xx on the line to its yy, and the gradient measures its steepness.

Gradient and intercept

The gradient measures how steep a line is and in which direction it slopes.

The y-intercept cc is the y-coordinate where the line crosses the y-axis, that is when x=0x = 0. In y=4x7y = 4x - 7, the gradient is 44 and the y-intercept is 7-7. A line of the form y=cy = c (such as y=3y = 3) is horizontal with gradient 00; a line x=ax = a is vertical with an undefined gradient.

Using y = mx + c

The equation y=mx+cy = mx + c is the key tool. To find a line's equation you need the gradient and one point.

Reading values from a graph works the same way: pick two clear points, find the gradient, and read the intercept off the y-axis.

Parallel lines (Higher and Foundation)

Parallel lines never meet, which happens exactly when they have the same gradient. So y=2x+1y = 2x + 1 and y=2x5y = 2x - 5 are parallel, because both have gradient 22; only the intercept differs. To find a line parallel to a given one through a point, keep the gradient and find the new cc.

Perpendicular lines (Higher)

Perpendicular lines cross at a right angle. Their gradients are negative reciprocals.

To find the perpendicular to y=4x+1y = 4x + 1 through (8,3)(8, 3), the new gradient is 14-\tfrac{1}{4}; substitute the point into y=14x+cy = -\tfrac{1}{4}x + c to get c=5c = 5, so y=14x+5y = -\tfrac{1}{4}x + 5.

Rearranging into y = mx + c

Lines are not always given in the form y=mx+cy = mx + c. An equation like 2x+3y=122x + 3y = 12 hides its gradient until you rearrange it. Make yy the subject: 3y=2x+123y = -2x + 12, so y=23x+4y = -\tfrac{2}{3}x + 4. Now the gradient is 23-\tfrac{2}{3} and the y-intercept is 44. This matters when a question asks whether two lines are parallel or perpendicular but gives them in different forms, because you must compare gradients, and the gradient is only visible once each equation is in y=mx+cy = mx + c form.

Try this

Q1. Find the gradient of the line through (2,1)(2, 1) and (6,9)(6, 9). [2 marks]

  • Cue. m=9162=84=2m = \dfrac{9 - 1}{6 - 2} = \dfrac{8}{4} = 2.

Q2. Write 4x+2y=104x + 2y = 10 in the form y=mx+cy = mx + c and state the gradient. [2 marks]

  • Cue. 2y=4x+102y = -4x + 10, so y=2x+5y = -2x + 5; the gradient is 2-2.

Exam-style practice questions

Practice questions written in the style of Pearson Edexcel exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Edexcel 20193 marksA straight line passes through (0,5)(0, 5) and (4,13)(4, 13). Find the equation of the line. (Paper 2, calculator.)
Show worked answer →

Find the gradient using the change in yy over the change in xx.

m=13540=84=2m = \dfrac{13 - 5}{4 - 0} = \dfrac{8}{4} = 2.

The line crosses the yy-axis at (0,5)(0, 5), so the intercept c=5c = 5.

The equation is y=2x+5y = 2x + 5.

Markers award a mark for the gradient, a mark for the intercept, and a mark for the full equation. Reading the intercept straight from the point (0,5)(0, 5) saves time; computing it the long way is fine too.

Edexcel 20213 marksLine LL has equation y=3x4y = 3x - 4. Find the equation of the line perpendicular to LL that passes through the point (6,1)(6, 1). (Higher tier, Paper 1, non-calculator.)
Show worked answer →

The gradient of LL is 33. A perpendicular line has the negative reciprocal gradient: 13-\dfrac{1}{3}.

Use y=mx+cy = mx + c with m=13m = -\tfrac{1}{3} and the point (6,1)(6, 1): 1=13(6)+c1 = -\tfrac{1}{3}(6) + c, so 1=2+c1 = -2 + c, giving c=3c = 3.

The equation is y=13x+3y = -\tfrac{1}{3}x + 3.

Markers award a mark for the perpendicular gradient, a mark for substituting the point, and a mark for the final equation. Using the same gradient as LL (forgetting the negative reciprocal) is the usual error.

Related dot points

Sources & how we know this