Equations of a Straight Line (DP IB Applications & Interpretation (AI)): Revision Note

Did this video help you?

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 open parentheses x subscript 1 comma space y subscript 1 close parentheses and open parentheses x subscript 2 comma space y subscript 2 close parentheses

  • The gradient between these two points is

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

    • This is given in the formula booklet

  • 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 the gradient-intercept form

    • It clearly shows the gradient m and the y-intercept open parentheses 0 comma space c close parentheses

  • space y minus y subscript 1 equals m open parentheses x minus x subscript 1 close parentheses

    • This is the point-gradient form

    • It clearly shows the gradient m and a point on the line open parentheses x subscript 1 comma space y subscript 1 close parentheses

  • space a x plus b y plus d equals 0

    • This is the general form

    • You can quickly get the x-interceptspace stretchy left parenthesis negative d over a comma space 0 stretchy right parenthesis and y-interceptspace stretchy left parenthesis 0 comma space minus d over b stretchy right parenthesis

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 the required form

  • If you have two points then you can use your GDC to find the equation

    • Enter the points in statistics mode and find the regression line space y equals a x plus b

Examiner Tips and Tricks

You can check your answer using your GDC. E.g. you can plot the equation of the line you found, and make sure it passes through the given points.

Examiner Tips and Tricks

Ensure you state equations of straight lines in the format required by the question, usually  y equals m x plus c  or  a x plus b y plus d equals 0.

Check whether coefficients need to be integers (they usually are for a x plus b y plus d equals 0). Multiplying both sides by any denominators will get rid of fractions.

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 plus d equals 0 where space a comma space b  and space d are integers to be found.

2-1-1-ib-ai-sl-equation-of-a-line-we-solution

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

Unlock more, 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 Subject 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.

Jamie Wood

Reviewer: Jamie Wood

Expertise: Maths Content Creator

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.