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 β†’

Subscribe to our newsletter

Get free IB notes, exam tips and new resources in your inbox.

We will ask you to confirm by email. Unsubscribe any time.