Equations of a Straight Line (Edexcel IGCSE Further Pure Maths)

Revision Note

Dan Finlay

Written by: Dan Finlay

Reviewed by: Lucy Kirkham

Equations of a Straight Line

How do I find the gradient of a straight line?

  • Find two points that the line passes through with coordinates (x1, y1) and (x2, y2)

  • The gradient m  between these two points is calculated by

m equals fraction numerator y subscript 2 minus y subscript 1 over denominator x subscript 2 minus x subscript 1 end fraction 

  • This is sometimes known as rise over run

  • The gradient of a straight line measures its slope

    • A line with gradient 1 will go up 1 unit for every unit it goes to the right

    • A line with gradient -2 will go down two units for every unit it goes to the right

What are the equations of a straight line?

  • space y equals m x plus c

    • This is sometimes called gradient-intercept form

    • It clearly shows the gradient m and the y-intercept (0, c)

  • space y minus y subscript 1 equals m stretchy left parenthesis x minus x subscript 1 stretchy right parenthesis

    • This is sometimes called the point-gradient form

    • It clearly shows the gradient m and a point on the line (x1, y1)

  • space a x plus b y equals c

    • This is sometimes called the general form

    • You can quickly get the x-interceptspace stretchy left parenthesis c over a comma space 0 stretchy right parenthesisy-interceptspace stretchy left parenthesis 0 comma space c over b stretchy right parenthesis  and gradient m equals negative a over b

      • c is not the y-intercept in this form of the line equation!

    • You can also rearrange the equation into gradient-intercept form

      • y equals negative a over b x plus c over b

How do I find an equation of a straight line?

  • You will need the gradient

    • If you are given two points then first find the gradient

  • It is easiest to start with the point-gradient form space y minus y subscript 1 equals m open parentheses x minus x subscript 1 close parentheses

    • then rearrange into whatever form is required

      • multiplying both sides by any denominators will get rid of fractions

  • Always check your answer

    • Substitute the coordinates of points on the line into the equation 

    • Make sure the equation is satisfied with those coordinates

Examiner Tips and Tricks

  • Make sure you state equations of straight lines in the form required

    • Usually  y equals m x plus c  or  a x plus b y equals c

    • Check whether coefficients need to be integers

      • This is often the case for  a x plus b y equals c

Worked Example

The line space l passes through the points left parenthesis negative 2 comma space 5 right parenthesis and left parenthesis 6 comma space minus 7 right parenthesis.

Find the equation of space l , giving your answer in the form space a x plus b y equals c where space a comma space b andspace c are integers to be found.


First find the gradient of the line using 'rise over run'

m equals fraction numerator negative 7 minus 5 over denominator 6 minus open parentheses negative 2 close parentheses end fraction equals fraction numerator negative 12 over denominator 8 end fraction equals negative 3 over 2

Substitute the gradient and the coordinates of one of the points into  space y minus y subscript 1 equals m open parentheses x minus x subscript 1 close parentheses

table attributes columnalign right center left columnspacing 0px end attributes row cell y minus 5 end cell equals cell negative 3 over 2 open parentheses x minus open parentheses negative 2 close parentheses close parentheses end cell row cell y minus 5 end cell equals cell negative 3 over 2 open parentheses x plus 2 close parentheses end cell row cell y minus 5 end cell equals cell negative 3 over 2 x minus 3 end cell end table

Multiply both sides of the equation by 2 to get rid of the fraction

table row cell 2 open parentheses y minus 5 close parentheses end cell equals cell 2 open parentheses negative 3 over 2 x minus 3 close parentheses end cell row cell 2 y minus 10 end cell equals cell negative 3 x minus 6 end cell end table

Rearrange into the required form

bold 3 bold italic x bold plus bold 2 bold italic y bold equals bold 4

Parallel Lines

How are the equations of parallel lines connected?

  • Parallel lines are always equidistant meaning they never intersect

  • Parallel lines have the same gradient

    • If the gradient of line l subscript 1 is m subscript 1 and the gradient of line l subscript 2 is m subscript 2 then

      • If m subscript 1 equals m subscript 2 then l subscript 1 and l subscript 2 are parallel

      • If l subscript 1 and l subscript 2 are parallel, then m subscript 1 equals m subscript 2

  • To determine if two lines are parallel:

    • Rearrange into the form space y equals m x plus c

    • Compare the gradients (i.e. the coefficients of space x)

    • If they are equal then the lines are parallel

Parallel & Perpendicular Gradients Notes Diagram 1

Worked Example

The line space l  passes through the point space left parenthesis 4 comma negative 1 right parenthesis  and is parallel to the line with equation space 2 x minus 5 y equals 3 .

Find the equation of space l , giving your answer in the form space y equals m x plus c.


First find the gradient of the given line from its equation

table row cell 2 x minus 5 y end cell equals 3 row cell 5 y end cell equals cell 2 x minus 3 end cell row y equals cell 2 over 5 x minus 3 over 5 end cell end table

So the gradient of line l is 2 over 5

Insert that gradient and the coordinates of the point into  y minus y subscript 1 equals m open parentheses x minus x subscript 1 close parentheses

table row cell y minus open parentheses negative 1 close parentheses end cell equals cell 2 over 5 open parentheses x minus 4 close parentheses end cell row cell y plus 1 end cell equals cell 2 over 5 x minus 8 over 5 end cell end table

Rearrange into the form required

bold italic y bold equals bold 2 over bold 5 bold italic x bold minus bold 13 over bold 5

Perpendicular Lines

How are the equations of perpendicular lines connected?

  • Perpendicular lines intersect at right angles

  • The gradients of two perpendicular lines are negative reciprocals

    • This means the product of their gradients is equal to negative 1

      • e.g. 1 half and negative 2

    • If the gradient of line l subscript 1 is m subscript 1 and the gradient of line l subscript 2 is m subscript 2 then...

      • If m subscript 1 cross times m subscript 2 equals negative 1 then l subscript 1 and l subscript 2 are perpendicular

      • If l subscript 1 and l subscript 2 are perpendicular, then m subscript 1 cross times m subscript 2 equals negative 1

  • To determine if two lines are perpendicular:

    • Rearrange into the form space y equals m x plus c

    • Compare the gradients (i.e. the coefficients ofspace x)

    • If their product is bold minus bold 1 then the lines are perpendicular

  • Be careful with horizontal and vertical lines

    • space x equals p and space y equals q are perpendicular where p and q are constants

Parallel & Perpendicular Gradients Notes Diagram 3

Worked Example

The linespace l subscript 1 is given by the equation space 3 x minus 5 y equals 7.

The linespace l subscript 2 is given by the equation space y equals 1 fourth minus 5 over 3 x .

Determine whether space l subscript 1 and space l subscript 2 are perpendicular. Give a reason for your answer.

Rearrange the l subscript 1 equation into y equals m x plus c form

table row cell 3 x minus 5 y end cell equals 7 row cell 5 y end cell equals cell 3 x minus 7 end cell row y equals cell 3 over 5 x minus 7 over 5 end cell end table

So the gradient of l subscript 1 is 3 over 5

The gradient of l subscript 2 is negative 5 over 3  (don't be fooled by the order of the terms in the equation!)
Find the product of the two gradients

3 over 5 cross times open parentheses negative 5 over 3 close parentheses equals negative 15 over 15 equals negative 1

The product of the gradients is equal to negative 1, so the lines are perpendicular

The product of the gradients of the two lines is equal to bold minus bold 1, so bold italic l subscript bold 1 and bold italic l subscript bold 2 are perpendicular

Last updated:

You've read 0 of your 5 free revision notes this week

Sign up now. It’s free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Dan Finlay

Author: Dan Finlay

Expertise: Maths Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Lucy Kirkham

Author: Lucy Kirkham

Expertise: Head of STEM

Lucy has been a passionate Maths teacher for over 12 years, teaching maths across the UK and abroad helping to engage, interest and develop confidence in the subject at all levels.Working as a Head of Department and then Director of Maths, Lucy has advised schools and academy trusts in both Scotland and the East Midlands, where her role was to support and coach teachers to improve Maths teaching for all.