Straight lines

Straight lines

Spec C1 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The gradient through (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) is m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}; in y=mx+cy=mx+c, cc is the yy-intercept.
  • Given a point and a gradient: y−y1=m(x−x1)y-y_1=m(x-x_1).
  • In ax+by+c=0ax+by+c=0 the gradient is −ab-\frac ab.
  • Parallel lines have equal gradients; perpendicular gradients multiply to −1-1.
  • In a linear model the gradient is the rate of change and the intercept is the starting value.
  • Gradientm=y2−y1x2−x1m=\dfrac{y_2-y_1}{x_2-x_1}

Gradient and y = mx + c

The gradient mm is the change in yy per unit change in xx, and cc is where the line crosses the yy-axis.

A positive gradient slopes up from left to right, a negative gradient slopes down, and a horizontal line has gradient 00. For A(1,2)A(1,2) and B(5,12)B(5,12), m=104=52m=\frac{10}{4}=\frac52.

GCSE knowledge is assumed for the midpoint (x1+x22,y1+y22)\left(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}\right) and the distance between two points.

−5−4−3−2−112345−8−6−4−22468xyy = mx + c
The line y = mx + c. Drag the sliders.
Δx = 4Δy = 10ABC
Gradient triangle for A(1, 2) and B(5, 12): Δy = 10, Δx = 4.

Find the gradient of the line through (2,3)(2,3) and (6,11)(6,11).

Point-gradient form

Substitute the gradient and one point into y−y1=m(x−x1)y-y_1=m(x-x_1).

Given two points, find mm first, then use either point. A point lies on a line if its coordinates satisfy the equation. The line meets the yy-axis where x=0x=0 and the xx-axis where y=0y=0.

  • A point and a gradienty−y1=m(x−x1)y-y_1=m(x-x_1)

Worked example

Find the equation of the line through A(1,2)A(1,2) and B(5,12)B(5,12).

−2−11234567−4−22468101214xyA(1, 2)B(5, 12)(0, −0.5)(0.2, 0)y = 5x/2 − 1/2
The line through A and B crosses the y-axis at (0, −0.5) and the x-axis at (0.2, 0).

Find the equation of the line with gradient 33 through (2,5)(2,5).

The form ax + by + c = 0

Clear fractions and move every term to one side; the gradient is −ab-\frac ab.

Many questions want integers aa, bb, cc. Multiply through to clear fractions and move every term to one side.

To find the gradient, rearrange: by=−ax−cby=-ax-c, so m=−abm=-\frac ab. For 3x+4y−12=03x+4y-12=0, m=−34m=-\frac34.

−1−0.50.511.52−3−2−11234xy(0, −0.5)(0.2, 0)5x − 2y − 1 = 0
The line 5x − 2y − 1 = 0 (y = 2.5x − 0.5), gradient 2.5 = −a/b
  • ax+by+c=0ax+by+c=0gradient −ab-\dfrac ab

Worked example

Write y=52x−12y=\frac52x-\frac12 in the form ax+by+c=0ax+by+c=0.

Find the gradient of 2x−5y+10=02x-5y+10=0.

Parallel and perpendicular

Parallel lines have equal gradients; perpendicular gradients multiply to −1-1.

Parallel: m1=m2m_1=m_2. Perpendicular: m1m2=−1m_1m_2=-1, so m2=−1m1m_2=-\frac1{m_1} (flip and change sign).

A line parallel to 3x+4y−12=03x+4y-12=0 through (8,−1)(8,-1) has m=−34m=-\frac34: y+1=−34(x−8)y+1=-\frac34(x-8), so 3x+4y−20=03x+4y-20=0.

The perpendicular bisector of ABAB passes through the midpoint with gradient −1mAB-\frac1{m_{AB}}.

ABMDE
The perpendicular bisector DE meets AB at its midpoint M(4, 2).

Worked example

Find the perpendicular bisector of A(2,1)A(2,1) and B(6,3)B(6,3).

A line has gradient 23\frac23. What is the gradient of a perpendicular line?

Straight line models

The gradient is the rate of change and the intercept is the starting value.

A linear model y=mx+cy=mx+c describes a constant rate of change. The gradient is the change in output per unit input; the intercept is the value when the input is zero.

Two models are compared by solving their equations simultaneously. A linear model may fail far outside the data, because real rates may change.

24681012510152025xy(0, 2.5)(4, 9.5)(10, 20)C = 2.5 + 1.75d
Cost of the taxi journey against distance.

Worked example

A taxi costs £9.50 for 4 km and £20 for 10 km. Find a linear model for the cost CC of dd km.

A taxi charges £2.50 plus £1.75 per km. What does an 8 km journey cost?

Try an exam question

Line l1l_1 passes through A(−1,3)A(-1,3) and B(5,0)B(5,0). (a) Find the equation of l1l_1 in the form ax+by+c=0ax+by+c=0. (b) Find the equation of the line perpendicular to l1l_1 through BB.

[5 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the gradient of l1l_1.

1 mark, marked against the mark scheme

Revision notes