National 5 Maths
Straight Line

 For textbooks and tutoring, we recommend: 

Page sections

Topic content

  • Determine the gradient of a straight line, given two points
  • Use the formula \(y\!-\!b\!=\!m(x\!-\!a)\) or equivalent to find the equation of a straight line, given two points or one point and the gradient of the line.
  • Identify gradient and \(y\)-intercept from various forms of the equation of a straight line.

Textbook page numbers

  • Zeta National 5+ Maths pp.101-113
  • TeeJay Maths Book N5 pp.50-62
  • Leckie National 5 Maths pp.93-110

Buy our favourite textbook

Zeta National 5+ Maths
Clear and comprehensive.
Progressive exercises.
Includes answers.
Buy from Zeta Press 

Key ideas

  • The equation of any vertical line is in the form \(x=a\small.\) The \(y\)-axis has equation \(x=0\small.\)
  • The equation of any horizontal line is in the form \(y=b\small.\) The \(x\)-axis has equation \(y=0\small.\)
  • Any straight line (unless it's horizontal or vertical) has an equation in the form \(y=mx+c,\) where \(m\) is the gradient and \(c\) is the \(y\)-intercept.
  • If we know the gradient \(m\) and any point \((a,\,b)\) on the line, then we can find the equation of the line using either \(y\!-\!b\!=\!m(x\!-\!a)\) or \(y\!=\!mx\!+\!c\small.\) These are not on the formula sheet.

Looking for an N5 Maths tutor?

Try our free, no-obligation tutor search tool.
Click here to find a tutor in your area. 

×

Example 1 (non-calculator)

The point \((2,\,-3)\) lies on a straight line with gradient \(-4\small.\)
Calculate the \(y\)-intercept of this line.

Example 2 (non-calculator)

The point \((-3,\,4)\) lies on a straight line whose \(y\)-intercept is \(-11\small.\)
Find the gradient of this line and state its equation.

Example 3 (non-calculator)

The point \((3,\,-1)\) lies on a straight line with gradient \(2\small.\)
Find the equation of this line.

Example 4 (non-calculator)

The point \((-2,\,5)\) lies on a straight line with gradient \(\frac34\small.\)
Find the equation of this line.

Example 5 (non-calculator)

Find the equation of the straight line through \((1,\,7)\) and \((-1,\,3)\small.\)

Example 6 (non-calculator)

Find the equation of the straight line through \((-2,\,5)\) and \((2,\,-1)\small.\)

Example 7 (non-calculator)

A straight line has equation \(3x-7y-4=0\). Find:
(a)  the gradient
(b)  the point of intersection with the \(y\)-axis
(c)  the point of intersection with the \(x\)-axis.

Example 8 (non-calculator)

SQA National 5 Maths 2014 P1 Q11

(a)  A straight line has equation \(4x+3y=12.\) Find the gradient of this line.
(b)  Find the coordinates of the point where this line crosses the \(x\)-axis.

Example 9 (non-calculator)

SQA National 5 Maths 2015 P1 Q8

Find the equation of the line joining the points \((-2,\,5)\) and \((3,\,15)\small.\)
Give the equation in its simplest form.

Example 10 (calculator)

SQA National 5 Maths 2017 P2 Q11

A straight line has equation \(3x-5y-10=0\small.\)
Find the gradient of this line.

Example 11 (calculator)

SQA National 5 Maths 2018 P2 Q14

A straight line has equation \(2x-5y=20\small.\)
Find the coordinates of the point where this line crosses the \(y\)-axis.

Example 12 (calculator)

SQA National 5 Maths 2021 P2 Q9

A straight line has equation \(3x+4y-8=0\small.\)
(a)  Find the gradient of the line.
(b)  State the coordinates of the point where the line crosses the \(y\)-axis.

Example 13 (non-calculator)

SQA National 5 Maths 2022 P1 Q6

Find the equation of the line passing through the points \((-3,\,-1)\) and \((-5,\,7)\small.\)
Give the equation in its simplest form.

Example 14 (calculator)

SQA National 5 Maths 2024 P1 Q11

A straight line has equation \(x+4y-24=0\small.\)
Find the gradient of this line.

Buy N5 Maths practice papers

Zeta: Five Practice Papers   TOP CHOICE
CGP: N5 Maths Exam Practice 
Leckie: Revision and Practice 
Hodder: N5 Maths Practice Papers 

Past paper questions

All past paper questions by topic
Finding the equation:
2013 Specimen P1 Q6 (with best fit)
2014 P1 Q6 (with line of best fit)
2015 Paper 1 Q8
2016 Paper 1 Q5 (with best fit)
2017 Paper 1 Q6
2018 Paper 1 Q7
2019 P1 Q6 (with line of best fit)
2021 Paper 1 Q10
2022 Paper 1 Q6
2023 P1 Q7 (with line of best fit)
2024 P1 Q9 (with line of best fit)
2025 Paper 1 Q6
Finding information from an equation:
2014 Paper 1 Q11
2017 Paper 2 Q11
2018 Paper 2 Q14
2021 Paper 2 Q9
2024 Paper 1 Q11
Standard Grade: Credit (1986–2013)
Exam questions and answers
More exam questions and answers
Intermediate 2 (2000–2015)
Exam questions (with answers)

Buy our favourite N5 textbook

Zeta National 5+ Maths
Clear and comprehensive.
Progressive exercises.
Includes answers.
Buy from Zeta Press 

Straight line worksheets

Maths.scot worksheet
Straight lines (Answers)
Corbettmaths worksheets
1. y = mx + c lines (Answers)
2. Horizontal lines: y = a (Answers)
3. Vertical lines: x = a (Answers)
National5Maths.co.uk worksheets
1. Gradient & y-intercept (no answers)
2. y = mx + c (with solutions)
3. y – b = m(x – a) (with answers)
4. Mixed questions (no answers)
5. Exam style (no answers)
Maths4Everyone worksheets
1. Find m & c: sheet 1 (with answers)
2. Find m & c: sheet 2 (with answers)
Madras College worksheet
Identify m, c and root (no answers)
Maths Hunter worksheet
Practice questions (no answers)
MyMathsGuy.com worksheet
Straight line (with answers)
Essential Skills worksheet
Equation joining 2 points (Answers)
CJ Maths worksheets
1. Straight line 1 (with answers)
2. Straight line 2 (no answers)
Airdrie Academy worksheet
Straight line (no answers)
Larkhall Academy exercises
Pages 2-3 Ex 1-2 (no answers)
St Andrew's and St Bride's homework
Straight line (no answers)

Buy N5 Maths revision guides

How to Pass N5 Maths    TOP CHOICE
BrightRED: N5 Maths Study Guide 
CGP: N5 Maths Revision Guide 

Notes and videos

Videos - Maths180.com
Videos - Larbert High School
1. Horizontal and vertical lines
2. Calculating a gradient
3. Equation of a straight line
Videos - Mr Graham Maths
1. Introduction to gradient
2. Introduction to equations
3. Finding an equation
PowerPoint - MathsRevision.com
Revision notes - BBC Bitesize
Test yourself - BBC Bitesize
Notes - Maths4Scotland
Videos - Mr Thomas Maths

⇦ Nat 5 topic list  ⇧ Top of this page