Key Idea: A straight line is fully defined by two numbers: its gradient (steepness) and its y-intercept (where it hits the y-axis). Know these two numbers and you can write the equation, spot parallel lines, and find perpendicular ones.
What the IB asks you to do:
๐ Reading the gradient
Parallel lines have the same gradient. They never meet. Perpendicular lines have gradients that multiply to โ1. If one line has gradient 3, the perpendicular gradient = โ1 รท 3 = โโ . Shortcut: flip the fraction and change the sign.
โ๏ธ Worked examples
Find the equation of a line through two points
Find the equation of the line through (1, 4) and (3, 10).
Step by step:
Gradient: m = (10 โ 4) รท (3 โ 1) = 6 รท 2 = 3
Use point-slope with point (1, 4): y โ 4 = 3(x โ 1)
Expand: y โ 4 = 3x โ 3
Rearrange: y = 3x + 1
y = 3x + 1
Find a perpendicular line
Line L has equation y = 2x โ 5. Find the equation of the perpendicular through (4, 3).
Step by step:
Gradient of L: m = 2
Perpendicular gradient: โ1 รท 2 = โยฝ
Use point-slope with (4, 3): y โ 3 = โยฝ(x โ 4)
Rearrange: y = โยฝx + 5
y = โยฝx + 5
Interpret in context
A phone plan charges a $20 connection fee plus $0.15 per minute. Write the cost equation and interpret m and c.
Step by step:
Equation: C = 0.15t + 20 (t = minutes)
Gradient m = 0.15 โ cost increases by $0.15 per minute
y-intercept c = 20 โ fixed connection fee of $20 (cost when t = 0)
C = 0.15t + 20
Show the gradient calculation first โ even if you can see it from the graph, write m = (yโ โ yโ)/(xโ โ xโ). That step earns a method mark on its own. Point-slope is your friend โ you almost never need to use y = mx + c from scratch. Find m, use point-slope, then rearrange. Perpendicular check: multiply the two gradients together. If the answer is โ1, you're right. Context questions: m = rate of change, c = starting value. The units of m come from the units of y divided by the units of x.