IB Maths AI HL Differentiation Paper 1 & 2 ~8 min read

Introduction to Derivatives

Calculus is all about rates of change. The derivative of a function is a new function that hands you the gradient at every value of x. It’s built from a limit: slide a chord’s far end towards a fixed point and its gradient settles on the gradient of the tangent โ€” and that limiting gradient is exactly what the derivative gives you.

๐Ÿ“˜ What you need to know

What is a limit?

The limit of a function is the value it heads towards as x approaches some number from both sides. Limits matter most exactly where the function can’t be evaluated directly โ€” typically a “0/0” situation.

Classic example f(x) = x4 โˆ’ 1x โˆ’ 1  โ†’  4   as   x โ†’ 1 Undefined at x = 1 (รท0) โ€” but the limit still exists โœ—

At x = 1 the formula tries to divide by zero, so f(1) is undefined. Yet plug in values creeping towards 1 from below (0.9, 0.99, โ€ฆ) and from above (1.1, 1.01, โ€ฆ) and the outputs close in on 4 from both sides. That target value is the limit.

๐Ÿค” Why bother with limits?

A gradient is “rise over run” between two points. To get the gradient at a single point you’d need the two points to be the same โ€” but that gives 0/0, which is meaningless on its own. Limits are the tool that lets you ask “what does the chord gradient approach as the two points merge?” without ever actually dividing by zero. Every derivative is secretly a limit.

In the exam: you may be asked to predict or estimate a limit from a table of function values or from a graph on your GDC โ€” not to prove it algebraically. Read off the value both sides are converging on.

What is a derivative?

Calculus is the study of how things change. The way a car’s position changes is its speed; the way its speed changes is its acceleration. For a curve, the thing that changes is the gradient โ€” and unlike a straight line, the gradient of a curve is different at every x.

the function f(x) Input an x, get a height (y-value) on the curve.
the derivative fโ€ฒ(x) Input an x, get the gradient (steepness) of the curve there.

So the derivative is itself a function: feed it a value of x and it returns the gradient of the original curve at that point. That’s why it’s also called the gradient function.

How limits and derivatives link up

Fix a point P on the curve y = f(x). Draw chords from P to nearby points Q1, Q2, โ€ฆ further along the curve. As Q slides down towards P, each chord tilts closer to the tangent, and the chord gradients home in on the gradient of the tangent at P.

Chords closing in on the tangent at P
x y y = f(x) P Qโ‚ Qโ‚‚ Qโ‚ƒ tangent at P Q slides โ†’ P
As Q slides down to P, the red chords rotate onto the purple tangent โ€” their gradients tend to the tangent’s gradient.

๐Ÿงญ Recipe โ€” estimate a gradient at a point

  1. Fix P at the x-value you care about; note its coordinates.
  2. Pick points Q on the curve getting progressively closer to P.
  3. Find each chord gradient using y2 โˆ’ y1x2 โˆ’ x1.
  4. Spot the limit: the value the gradients are settling towards is your estimate of the tangent gradient at P.

๐Ÿง  “Derivative = Direction”

Both start with D. The derivative tells you which direction (and how steeply) the curve is heading at each point โ€” positive means uphill, negative means downhill.

Notation for derivatives

For y = f(x), the derivative with respect to x is written two equivalent ways. Whatever letters a question uses, the bottom of the d-fraction is the variable you’re differentiating with respect to.

Two ways to write the same thing dydx = fโ€ฒ(x)   |   if V = f(s) then dVds = fโ€ฒ(s) Notation expected throughout the course โœ“

Worked examples

All five use the SME curve y = f(x) where f(x) = x3 โˆ’ 2, passing through P(2, 6), A(2.3, 10.167), B(2.1, 7.261) and C(2.05, 6.615125).

WE 1

Find the gradient of chord [PA]

Use the gradient-of-a-line formula with P(2, 6) and A(2.3, 10.167).

gradient = (yโ‚‚ โˆ’ yโ‚) / (xโ‚‚ โˆ’ xโ‚) [PA] = (10.167 โˆ’ 6) / (2.3 โˆ’ 2) = 4.167 / 0.3 [PA] = 13.89
WE 2

Find the gradient of chord [PB]

Now bring the far point closer: use P(2, 6) and B(2.1, 7.261).

[PB] = (yโ‚‚ โˆ’ yโ‚) / (xโ‚‚ โˆ’ xโ‚) = (7.261 โˆ’ 6) / (2.1 โˆ’ 2) = 1.261 / 0.1 [PB] = 12.61 smaller gap โ†’ gradient already dropping towards the tangent.
WE 3

Find the gradient of chord [PC]

Closer still: use P(2, 6) and C(2.05, 6.615125).

[PC] = (6.615125 โˆ’ 6) / (2.05 โˆ’ 2) = 0.615125 / 0.05 = 12.3025 [PC] = 12.3025
WE 4

Estimate the gradient of the tangent at P

Use the trend in the chord gradients as the x-gap shrinks to zero.

chords: 13.89 โ†’ 12.61 โ†’ 12.3025 โ€ฆ gradients fall and level off near 12 as ฮ”x โ†’ 0 tangent gradient at x = 2 โ‰ˆ 12 there’s a limit the chord gradient reaches as the x-difference approaches zero.
WE 5

Predict the limit of f(x) = (x4 โˆ’ 1)/(x โˆ’ 1) as x โ†’ 1

The function is undefined at x = 1 โ€” estimate the limit from values either side.

x = 0.99 โ†’ 3.9404 โ€ฆ   x = 1.01 โ†’ 4.0604 โ€ฆ both sides squeeze towards 4 as x โ†’ 1 limit = 4 f(1) itself is undefined (รท0), but the limit exists.

๐Ÿ’ก Top tips

โš  Common mistakes

Next up โ€” Differentiating Powers of x. Estimating gradients chord-by-chord is fine for building intuition, but it’s slow. The next topic gives you the shortcut: a single rule (f(x) = xn โ†’ fโ€ฒ(x) = nxnโˆ’1) that turns the whole limiting process into one line of algebra, so you can write down fโ€ฒ(x) instantly and then plug in any x to get the gradient there.

Need help with Differentiation?

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

Book Free Session โ†’