๐Ÿ“
Algebra ยท Higher

Straight-line graphs

A straight-line graph has equation y = mx + c, where m is the gradient and c is the y-intercept. At Higher tier you must find equations of lines, work with parallel and perpendicular lines, and use the form ax + by = c.

๐Ÿ”‘

Key facts to remember

  • 1Gradient m = (yโ‚‚ โˆ’ yโ‚) / (xโ‚‚ โˆ’ xโ‚) โ€” rise over run between any two points.
  • 2y-intercept c is where the line crosses the y-axis (x = 0).
  • 3Parallel lines have the same gradient.
  • 4Perpendicular lines have gradients that multiply to โˆ’1 (negative reciprocal).
  • 5To find the equation of a line through (xโ‚, yโ‚) with gradient m: y โˆ’ yโ‚ = m(x โˆ’ xโ‚).
  • 6The x-intercept is where y = 0; the y-intercept is where x = 0.
๐Ÿ“

Formulas

Equation of a line
y = mx + c
Gradient formula
m = (yโ‚‚ โˆ’ yโ‚) / (xโ‚‚ โˆ’ xโ‚)
Line through a point
y โˆ’ yโ‚ = m(x โˆ’ xโ‚)
Perpendicular gradient
m_perp = โˆ’1/m
โœ๏ธ

Worked examples

Example 1

Find the equation of the line through (2, 5) and (4, 11).

Working

  1. Calculate gradient: m = (11 โˆ’ 5) / (4 โˆ’ 2) = 6/2 = 3
  2. Use y โˆ’ yโ‚ = m(x โˆ’ xโ‚) with point (2, 5): y โˆ’ 5 = 3(x โˆ’ 2)
  3. Expand: y โˆ’ 5 = 3x โˆ’ 6
  4. Rearrange: y = 3x โˆ’ 1
Answery = 3x โˆ’ 1
Example 2

Find the equation of a line perpendicular to y = 2x + 3 that passes through (4, 1).

Working

  1. Gradient of given line is 2.
  2. Perpendicular gradient = โˆ’1/2.
  3. Use y โˆ’ 1 = โˆ’ยฝ(x โˆ’ 4).
  4. Expand: y โˆ’ 1 = โˆ’ยฝx + 2.
  5. Rearrange: y = โˆ’ยฝx + 3.
Answery = โˆ’ยฝx + 3
โš ๏ธ

Common mistakes

โœ—Swapping x and y when calculating gradient (doing run/rise instead of rise/run).
โœ—Thinking parallel lines are perpendicular โ€” parallel lines have equal gradients.
โœ—Forgetting to use the negative reciprocal for perpendicular gradient.
โœ—Not rearranging to y = mx + c to read off the gradient and intercept.
๐ŸŽฏ

Exam tips

โœ“Always label your gradient calculation clearly: m = (yโ‚‚โˆ’yโ‚)/(xโ‚‚โˆ’xโ‚).
โœ“If the equation is given as ax + by = c, rearrange to y = mx + c first.
โœ“Perpendicular: flip the fraction and change the sign.
โœ“Check your answer by substituting a known point into your equation.

Ready to test yourself on Straight-line graphs?

Get AI-marked practice questions on exactly this subtopic.

Practice this topic โ†’
โ† All topicsDashboard

โ–ถ๏ธ Watch on YouTube

Free video lessons

Click a topic to search

โ–ถstraight line graphs GCSE Higher y=mx+cโ–ถequation of a line GCSE mathsโ–ถgradient intercept form GCSE Higherโ–ถparallel perpendicular lines GCSE Higher

Opens YouTube โ€” pick any free GCSE video.