Five IB Maths AI questions on this topic, straight from the Heptavo app: 3 multiple choice and 2 written, climbing from the basics to exam style. Each one comes with its explanation or mark scheme.
The gradient of the line through (x1, y1) and (x2, y2) is
Show the answer and why
Answer: C
Rise over run: the change in y goes on top. Option D is the reciprocal, and it is the single most common gradient error — it gives 1/3 where the answer is 3, which looks plausible enough to slip through unchecked.
Question 2 · Rung 2 · 1 mark
The line 3x + 2y − 12 = 0 has gradient
Show the answer and why
Answer: B
Rearrange first: 2y = 12 − 3x, so y = 6 − 1.5x. Reading the 3 straight off the ax + by + d = 0 form gives the value 3 and is the standard error here — that form tells you nothing about the gradient until you make y the subject.
Question 3 · Rung 3 · 1 mark
The line through (1, 4) and (5, −4) has equation
Show the answer and why
Answer: C
Gradient = (−4 − 4) ÷ (5 − 1) = −2, then 4 = −2 × 1 + c gives c = 6. Option D uses the first point's y-value as the intercept. Always test the point you did not substitute: 6 − 10 = −4.
Question 4 · Rung 4 · 4 marks
The line L1 passes through A(−1, 2) and B(5, 14). (a) Find the gradient of L1. (b) Find the equation of L1 in the form y = mx + c. (c) The line L2 is perpendicular to L1 and passes through B. Find the equation of L2.
(c) perpendicular gradient = −0.5; 14 = −0.5 × 5 + c ⇒ c = 16.5, so y = −0.5x + 16.5 (A1)
What the examiner is looking for
Part (c) is worth one mark for two steps, so neither can be skipped: the perpendicular gradient and the substitution of B. Note that B is used twice — it is on both lines, which is what "passes through B" is telling you.
Question 5 · Rung 5 · 6 marks
On a map, distances are measured in kilometres. A straight road passes through the towns P(2, 5) and Q(14, 11). (a) Find the gradient of PQ. (b) Find the equation of PQ in the form y = mx + c. (c) A service station is to be built at the midpoint of PQ. Find its coordinates. (d) Find the length of the road PQ, in km, correct to 3 significant figures. (e) A driver's satnav gives the distance from P to Q as 15.8 km. Explain why this is larger than your answer to (d).
(e) the coordinate distance is the straight-line distance, whereas a real road bends, climbs and follows the terrain, so the driven distance is longer (R1)
What the examiner is looking for
Part (e) is the mark most often left blank, and it needs only the words "straight-line" against "the actual route" — no calculation. Check (c) against (b) while you are there: the midpoint must satisfy the equation, and 0.5 × 8 + 4 = 8 does.
Your score
0/13
Answer the questions above and your marks add up here.
Heptavo has 55 questions on 2.1 Straight lines: gradient, equations: 26 multiple choice and 29 written, each with its mark scheme. Free to start.
Check your answers. Scan the code or open heptavo.com/practice/maths-ai/2-1-straight-lines-gradient-equations/ for the mark scheme and an explanation of every answer. More questions on every IB Maths AI topic are in the Heptavo app.
What 2.1 asks
Gradients, intercepts and equations of straight lines; questions ask for the line through given points, parallel or perpendicular lines, and the meaning of a gradient in context.
You need to be able to
Find the gradient as the change in y divided by the change in x.
Write a line as y = mx + c, ax + by + d = 0 or y − y₁ = m(x − x₁).
Use equal gradients for parallel lines and m₁m₂ = −1 for perpendicular lines.
Key terms
gradient
y-intercept
general form
point–gradient form
perpendicular
Common trap Reading the gradient of ax + by + d = 0 as a; rearrange first, which gives m = −a/b.