All revision notes topics

Equation of a straight lineEdexcel International A Level Maths: Revision notes

Section 1

Gradient and the form y = mx + c

The gradient of the line through (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) is m=y2−y1x2−x1.m=\frac{y_2-y_1}{x_2-x_1}. A line with gradient mm and yy-intercept cc has equation y=mx+cy=mx+c. A positive gradient rises left to right, a negative one falls, and a horizontal line has m=0m=0. A vertical line has no gradient and is written x=kx=k. Example: through A(2,5)A(2,5) and B(6,13)B(6,13), m=13−56−2=2m=\frac{13-5}{6-2}=2.

Key termsgradienty-intercept
Common mistake

Subtracting the coordinates in different orders on the top and bottom. Use (y2−y1)(y_2-y_1) and (x2−x1)(x_2-x_1) in the same order.

Section 2

The form y - y1 = m(x - x1)

If a line has gradient mm and passes through (x1,y1)(x_1,y_1), its equation is y−y1=m(x−x1).y-y_1=m(x-x_1). This is the quickest route when you are given a point and a gradient. Rearrange to y=mx+cy=mx+c only if the question asks. Example: gradient 22 through (2,5)(2,5) gives y−5=2(x−2)y-5=2(x-2), so y=2x+1y=2x+1.

Key termspoint-gradient form
Common mistake

Writing y−y1=m(x+x1)y-y_1=m(x+x_1). If x1=−3x_1=-3 the bracket is (x+3)(x+3), not (x−3)(x-3).

Exam tip

Check your final equation by substituting both given points.

Section 3

A line through two given points

To find the equation through (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2): first find m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}, then use y−y1=m(x−x1)y-y_1=m(x-x_1) with either point. Equivalently y−y1y2−y1=x−x1x2−x1.\frac{y-y_1}{y_2-y_1}=\frac{x-x_1}{x_2-x_1}. Example: P(−3,4)P(-3,4), Q(5,−2)Q(5,-2) gives m=−34m=-\frac34 and y−4=−34(x+3)y-4=-\frac34(x+3).

Key termstwo-point form

Section 4

The form ax + by + c = 0

Many questions ask for the answer as ax+by+c=0ax+by+c=0 with integer aa, bb, cc. Multiply through to clear fractions and move every term to one side. From y−4=−34(x+3)y-4=-\frac34(x+3): 4y−16=−3x−94y-16=-3x-9, so 3x+4y−7=03x+4y-7=0. From this form the gradient is −ab-\frac{a}{b} and the yy-intercept is −cb-\frac{c}{b} (for b≠0b\ne0). Any integer multiple of the equation is also correct.

Key termsgeneral form
Common mistake

Reading the gradient of 3x+4y−7=03x+4y-7=0 as 33 or 34\frac34. Rearrange first: y=−34x+74y=-\frac34x+\frac74.

Section 5

Intercepts and areas

A line meets the xx-axis where y=0y=0 and the yy-axis where x=0x=0. For 3x+4y−7=03x+4y-7=0 the intercepts are (73,0)\left(\frac73,0\right) and (0,74)\left(0,\frac74\right). The triangle formed with the origin has area 12×73×74=4924\frac12\times\frac73\times\frac74=\frac{49}{24}. The midpoint of (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) is (x1+x22,y1+y22)\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right), which is often needed to build a line.

Key termsinterceptmidpoint

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Equation of a straight line

  1. A line ll passes through the points A(2,5)A(2,5) and B(6,13)B(6,13).
    Find the coordinates of the point where ll meets the xx-axis.2 marks
  2. The line mm has equation 3x−4y+8=03x-4y+8=0.
    Find the xx-coordinate of the point on mm where y=7y=7.2 marks
  3. A line l1l_1 passes through the points P(−3,4)P(-3,4) and Q(5,−2)Q(5,-2).
    Find an equation of the line l1l_1, giving your answer in the form ax+by+c=0ax+by+c=0, where aa, bb and cc are integers.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).