← Back to subjects
0
IB Diploma Mathematics: Applications & Interpretation SL · Calculus
Mini-Lesson

Calculus

This SL mini-lesson introduces calculus for AI: differentiation (gradient functions, tangents, increasing/decreasing, optimisation), kinematics (displacement–velocity–acceleration), integration as the reverse of differentiation and as area, and the trapezoidal rule for estimating area under a curve.

AI flavour: calculus is applied to rates of change and areas — often estimated numerically with the trapezoidal rule.

Work through each screen, answer the questions as you go (some are wordy, some are calculations) and collect ⭐ stars. Every number on the calculation screens has been re-derived and checked. Press Start when you are ready.

Differentiation

The derivative & the power rule

The derivative f′(x) gives the gradient of the curve at each point.

if f(x) = a xn then f′(x) = a n xn−1differentiate term by term; constants differentiate to 0
Worked example

f(x) = 3x² − 4x + 1.

f′(x) = 6x − 4.

Gradient at x = 2: f′(2) = 6×2 − 4 = 8

Calculate

Your turn — evaluate a derivative

1For f(x) = 3x² − 4x + 1, find f′(2).
Hint: f′(x) = 6x − 4, then substitute x = 2.
Using derivatives

Tangents, increasing/decreasing & optimisation

  • Increasing where f′(x) > 0; decreasing where f′(x) < 0.
  • Stationary points where f′(x) = 0 (maxima, minima).
  • Tangent line at x = a has gradient f′(a) through (a, f(a)).

Optimisation: to maximise/minimise a quantity, model it as a function, set the derivative to 0, and check it is a max or min.

Quick check

What is f′(x)?

?The derivative f′(x) of a curve tells you its:
Kinematics

Displacement, velocity & acceleration

Motion links through calculus: velocity is the derivative of displacement; acceleration is the derivative of velocity.

v = ds⁄dt · a = dv⁄dtintegrate to go back: s = ∫v dt, v = ∫a dt
Worked example

s(t) = t³ − 3t² (metres).

v(t) = 3t² − 6t, so v(4) = 48 − 24 = 24 m/s

a(t) = 6t − 6, so a(4) = 24 − 6 = 18 m/s²

Calculate

Your turn — velocity

2A particle has displacement s(t) = t³ − 3t². Find its velocity v = ds⁄dt at t = 4 (in m/s).
m/s
Hint: v(t) = 3t² − 6t, then substitute t = 4.
Integration

Integration as anti-derivative & area

Integration reverses differentiation and measures the area between a curve and the x-axis.

∫ a xn dx = a xn+1⁄(n+1) + Cdefinite: ∫ab f(x) dx = F(b) − F(a)
Worked example

∫₁³ (2x + 1) dx = [x² + x]₁³

= (9 + 3) − (1 + 1) = 12 − 2 = 10

Calculate

Your turn — definite integral

3Evaluate ∫₁³ (2x + 1) dx.
Hint: antiderivative is x² + x; compute (3²+3) − (1²+1).
Trapezoidal rule

Estimating area numerically

When a function is hard (or given only as data), estimate ∫ using the trapezoidal rule with strips of width h:

Area ≈ h⁄2 [ y₀ + yn + 2(y₁ + … + yn−1) ]h = (b − a) ÷ n
Worked example

Estimate ∫₀⁴ x² dx with n = 4 strips (h = 1), y = 0,1,4,9,16.

Area ≈ 1⁄2 [0 + 16 + 2(1 + 4 + 9)] = 1⁄2 [16 + 28] = 22

(exact value is 21.33 — the rule slightly over-estimates a curve bending upward)

Calculate

Your turn — trapezoidal rule

4Estimate ∫₀⁴ x² dx using the trapezoidal rule with n = 4 strips (h = 1) and y-values 0, 1, 4, 9, 16.
Hint: 1⁄2 [0 + 16 + 2(1 + 4 + 9)].
Calculate

Your turn — acceleration

5For s(t) = t³ − 3t², the acceleration is a = dv⁄dt. Find a(4) in m/s².
m/s²
Hint: v(t) = 3t² − 6t, so a(t) = 6t − 6; substitute t = 4.
Sort it

Differentiate or integrate?

Tap a task, then whether it needs differentiation, integration, or is an estimate.

📉 Differentiate

📐 Integrate

≈ Numerical estimate

Quick check

Trapezoidal accuracy

?For a curve that bends upward (concave up), the trapezoidal rule tends to:
Quick check

Stationary points

?At a maximum or minimum of a smooth curve, the gradient f′(x) is:
Match it

Match the calculus idea to its meaning

Tap an item on the left, then its match on the right.

Item
Match
Second derivative

Concavity & the second derivative

The second derivative f″(x) measures how the gradient changes. f″(x) > 0 means concave up (a minimum), f″(x) < 0 means concave down (a maximum).

This is a quick way to classify a stationary point once f′(x) = 0.

Quick check

Classify the turning point

?At a stationary point f′(a) = 0, you find f″(a) < 0. The point is a:
Recap

The big ideas to take away

Derivative: f′(x) = gradient; power rule ax^n → anx^(n−1)

Uses: increasing/decreasing, tangents, optimisation (f′=0)

Kinematics: v = ds⁄dt, a = dv⁄dt; integrate to reverse

Integration: anti-derivative + C; definite integral = area = F(b)−F(a)

Trapezoidal rule: area ≈ h⁄2[y₀+y_n+2(middle)]

Careful: concave-up curves are over-estimated by trapeziums

You have worked through the whole topic. Press Finish to see your score.

🏆

Mini-lesson complete!

⭐⭐⭐

You have covered SL Calculus for AI. 🎉

Your stars: 0 / 0

Next: test yourself in the Evaluate stage, then lock it in with Verify.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to all subjects