IB Maths AI SL Topic 2 โ€” Linear Functions Paper 1 & 2 Gradient rules ~6 min read

Parallel & Perpendicular Lines

Two simple gradient rules tell you exactly how a pair of lines relate: same gradient means parallel; gradients that multiply to โˆ’1 means perpendicular.

๐Ÿ“˜ What you need to know

The two gradient rules

Both rules โ€” learn together Parallel:  m1 = m2    โ€ข    Perpendicular:  m1 ร— m2 = โˆ’1
Two lines โ€” parallel or perpendicular? PARALLEL x y y = 2x + 1 y = 2x โˆ’ 4 m1 = m2 = 2 PERPENDICULAR x y m1 = 2/3 m2 = โˆ’3/2 m1 ร— m2 = โˆ’1 (2/3)(โˆ’3/2) = โˆ’1
Parallel: gradients match โ†’ lines stay equidistant. Perpendicular: gradients multiply to โˆ’1 โ†’ lines cross at exactly 90ยฐ.

Finding the perpendicular gradient

Given any non-zero gradient m1, the perpendicular gradient is m2 = โˆ’1/m1. In practice: flip the fraction, then change the sign.

Quick conversions: m = 3 โ†’ perp = โˆ’1/3   โ€ข   m = โˆ’2/5 โ†’ perp = 5/2   โ€ข   m = 1 โ†’ perp = โˆ’1   โ€ข   m = 0 โ†’ perp is vertical (undefined).

๐Ÿงญ Recipe โ€” parallel / perpendicular problems

  1. Rearrange the given line into y = mx + c form to read its gradient.
  2. Identify the required gradient: parallel โ†’ same; perpendicular โ†’ โˆ’1 รท given.
  3. Use the point given with point-gradient form: y โˆ’ y1 = m(x โˆ’ x1).
  4. Rearrange into the form the question asks for.
  5. For “are they perp?” questions: multiply the two gradients; if = โˆ’1, yes; otherwise no.

Worked examples

WE 1

Parallel line through a point

A line passes through (3, 5) and is parallel to y = 2x + 7. Find its equation in the form y = mx + c.

Parallel โ‡’ same gradient m = 2 Use point-gradient with (3, 5) y โˆ’ 5 = 2(x โˆ’ 3) y โˆ’ 5 = 2x โˆ’ 6 y = 2x โˆ’ 1 check at (3, 5): 2(3) โˆ’ 1 = 5 โœ“
WE 2

Perpendicular line through a point

A line passes through (4, โˆ’2) and is perpendicular to y = 3x + 1. Find its equation in the form y = mx + c.

Perpendicular โ‡’ m_perp ร— 3 = โˆ’1 m_perp = โˆ’1/3 Point-gradient with (4, โˆ’2) y โˆ’ (โˆ’2) = (โˆ’1/3)(x โˆ’ 4) y + 2 = โˆ’x/3 + 4/3 y = โˆ’x/3 + 4/3 โˆ’ 2 y = โˆ’(1/3)x โˆ’ 2/3 check at (4, โˆ’2): โˆ’(1/3)(4) โˆ’ 2/3 = โˆ’4/3 โˆ’ 2/3 = โˆ’2 โœ“
WE 3

Are these lines parallel?

Determine whether the lines y = 4x โˆ’ 3 and 8x โˆ’ 2y + 5 = 0 are parallel.

Line A is already in y = mx + c form m_A = 4 Rearrange Line B into y = mx + c 8x โˆ’ 2y + 5 = 0 โˆ’2y = โˆ’8x โˆ’ 5 y = 4x + 5/2 m_B = 4 Compare gradients m_A = m_B = 4 yes, the lines are parallel they have different y-intercepts (โˆ’3 and 5/2) so they’re distinct lines, not the same one.
WE 4

Are these lines perpendicular?

Determine whether the lines 2x + 3y = 6 and 3x โˆ’ 2y + 4 = 0 are perpendicular. Justify your answer.

Rearrange both lines to y = mx + c A: 3y = โˆ’2x + 6 โ†’ y = โˆ’(2/3)x + 2 m_A = โˆ’2/3 B: โˆ’2y = โˆ’3x โˆ’ 4 โ†’ y = (3/2)x + 2 m_B = 3/2 Multiply gradients m_A ร— m_B = (โˆ’2/3) ร— (3/2) = โˆ’1 yes, perpendicular (because mโ‚ ร— mโ‚‚ = โˆ’1)
WE 5

Perpendicular bisector of a segment

A is the point (2, 1) and B is the point (8, 9). Find the equation of the perpendicular bisector of AB in the form ax + by + d = 0 with integer coefficients.

Midpoint of AB M = ((2+8)/2, (1+9)/2) = (5, 5) Gradient of AB m_AB = (9 โˆ’ 1)/(8 โˆ’ 2) = 8/6 = 4/3 Perpendicular gradient m_perp = โˆ’3/4 Point-gradient through (5, 5) y โˆ’ 5 = (โˆ’3/4)(x โˆ’ 5) 4y โˆ’ 20 = โˆ’3x + 15 3x + 4y โˆ’ 35 = 0 check midpoint (5, 5): 3(5) + 4(5) โˆ’ 35 = 15 + 20 โˆ’ 35 = 0 โœ“
WE 6

Find an unknown coefficient

The lines 3x + ky โˆ’ 7 = 0 and 2x โˆ’ 5y + 11 = 0 are perpendicular. Find the value of k.

Find each gradient (in terms of k for line 1) L_1: ky = โˆ’3x + 7 โ†’ m_1 = โˆ’3/k L_2: 5y = 2x + 11 โ†’ m_2 = 2/5 Perpendicular โ‡’ m_1 ร— m_2 = โˆ’1 (โˆ’3/k) ร— (2/5) = โˆ’1 โˆ’6/(5k) = โˆ’1 6 = 5k k = 6/5 check: m_1 = โˆ’3/(6/5) = โˆ’5/2; (โˆ’5/2) ร— (2/5) = โˆ’1 โœ“

๐Ÿ’ก Top tips

โš  Common mistakes

That completes Linear Functions & Graphs. Up next per the syllabus: more function families (quadratics, exponentials, piecewise) and how to use them as models.

Need help with AI SL Linear Functions?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’