All revision notes topics

2.1 Equation of a straight lineIB Maths: Applications and Interpretation SL: Revision notes

Section 1

Gradient from two points

The gradient mm of a line measures how steep it is: the change in yy for each one-unit change in xx. For two points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2): m=y2−y1x2−x1=riserun.m=\frac{y_2-y_1}{x_2-x_1}=\frac{\text{rise}}{\text{run}}. A positive gradient slopes upwards (left to right), a negative gradient slopes downwards, a horizontal line has m=0m=0, and a vertical line has an undefined gradient. Example: A(1,4)A(1,4) and B(5,12)B(5,12) give m=12−45−1=2m=\frac{12-4}{5-1}=2: yy rises by 2 for every 1 across.

Key termsgradientriserun
Common mistake

Subtracting the coordinates in different orders on top and bottom. Use the same point first in both: y2−y1x2−x1\frac{y_2-y_1}{x_2-x_1}.

Section 2

Forms of the equation of a straight line

There are three forms you must recognise and be able to convert between.

  • Gradient-intercept form: y=mx+cy=mx+c, where mm is the gradient and cc the yy-intercept.
  • Point-gradient form: y−y1=m(x−x1)y-y_1=m(x-x_1), for a line with gradient mm through (x1,y1)(x_1,y_1).
  • General form: ax+by+d=0ax+by+d=0, usually with integer aa, bb, dd. Example: through A(1,4)A(1,4) with m=2m=2: y−4=2(x−1)y-4=2(x-1), so y=2x+2y=2x+2, or in general form 2x−y+2=02x-y+2=0. To find the gradient from general form, rearrange: 3x+4y−24=0⇒y=−34x+63x+4y-24=0\Rightarrow y=-\frac34x+6, so m=−34m=-\frac34. In general m=−abm=-\frac ab.
Key termsgradient-intercept formpoint-gradient formgeneral form
Exam tip

Point-gradient form is the quickest start when you know a point and a gradient; rearrange afterwards into whichever form the question asks for.

Section 3

Intercepts

The yy-intercept is where the line crosses the yy-axis, so set x=0x=0. The xx-intercept is where it crosses the xx-axis, so set y=0y=0. For 3x+4y−24=03x+4y-24=0: x=0x=0 gives y=6y=6, and y=0y=0 gives x=8x=8. The intercepts are (0,6)(0,6) and (8,0)(8,0). In y=mx+cy=mx+c the yy-intercept is read straight from cc. The xx-intercept (the zero of the function) is −cm-\frac cm.

Key termsinterceptzero
Common mistake

Giving only one number for an intercept. Write it as a coordinate, e.g. (8,0)(8, 0), unless the question asks for the value.

Section 4

Parallel and perpendicular lines

Two lines with gradients m1m_1 and m2m_2 are:

  • parallel if m1=m2m_1=m_2 (they never meet);
  • perpendicular if m1×m2=−1m_1\times m_2=-1, i.e. m2=−1m1m_2=-\frac{1}{m_1} (flip the fraction and change the sign). Example: a line perpendicular to y=−25x+1y=-\frac25x+1 has gradient 52\frac52. Worked example: find the line through (2,5)(2,5) perpendicular to y=2x+1y=2x+1. Gradient −12-\frac12, so y−5=−12(x−2)y-5=-\frac12(x-2), giving y=−12x+6y=-\frac12x+6, or x+2y−12=0x+2y-12=0.
Key termsparallelperpendicular
Common mistake

Flipping the fraction but forgetting to change the sign (or the other way round). Check that m1×m2=−1m_1\times m_2=-1.

Section 5

Gradients in context: inclines and rates of change

Gradients of real slopes use the same rule: gradient =vertical risehorizontal distance=\frac{\text{vertical rise}}{\text{horizontal distance}}, with both lengths in the same units. A mountain road that rises 150 m over a horizontal distance of 2500 m has gradient 1502500=0.06\frac{150}{2500}=0.06, which is a 6% incline: 6 m of climb per 100 m horizontally. The same idea applies to a bridge ramp or a wheelchair access slope. The angle of an incline is θ=tan⁡−1(m)\theta=\tan^{-1}(m). In a linear model y=mx+cy=mx+c, the gradient is the rate of change and has units 'units of yy per unit of xx' (e.g. 60 m per km); cc is the starting value when x=0x=0.

Key termsinclinerate of change
Exam tip

Convert lengths to the same unit before dividing: 2.5 km is 2500 m.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 2.1 Equation of a straight line

  1. A line LL passes through the points A(1,4)A(1, 4) and B(5,12)B(5, 12).
    Find the equation of the line parallel to LL that passes through the point (3,−1)(3, -1). Give your answer in the form ax+by+d=0ax+by+d=0, where aa, bb and dd are integers.2 marks
  2. The line l1l_1 has equation 3x+4y−24=03x+4y-24=0.
    Find the coordinates of the points where l1l_1 crosses the xx-axis and the yy-axis.2 marks
  3. A mountain road climbs from a village at a height of 420 m above sea level to a viewpoint at a height of 570 m. The horizontal distance between the village and the viewpoint is 2.5 km. The road may be modelled as a straight line.
    (i) Find the gradient of the road. (ii) Write your answer to (i) as a percentage and explain what it means for a driver.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).