← Back to IB Mathematics

1. Differentiation

Differentiation measures the instantaneous rate of change of a function. In AI SL, the focus is on the power rule and its application to real-world contexts. The derivative $f'(x)$ gives the gradient of the tangent at any point.

Differentiation Rules (AI SL)

Power rule: If $f(x) = ax^n$, then $f'(x) = nax^{n-1}$

Constant rule: If $f(x) = c$, then $f'(x) = 0$

Sum rule: $(f+g)' = f'+g'$

Key derivatives: $\dfrac{d}{dx}(e^x) = e^x$, $\dfrac{d}{dx}(\ln x) = \dfrac{1}{x}$, $\dfrac{d}{dx}(\sin x) = \cos x$, $\dfrac{d}{dx}(\cos x) = -\sin x$

Gradient at a point: substitute $x$-value into $f'(x)$

Interpretation of the Derivative

In context: if $P(t)$ is population at time $t$, then $P'(t)$ is the rate of change of population (people per year). If $C(x)$ is total cost at output $x$, then $C'(x)$ is marginal cost. The sign of the derivative tells us whether the quantity is increasing ($f'>0$) or decreasing ($f'<0$).

2. Optimisation in Context

To find maximum or minimum values: differentiate, set $f'(x)=0$, solve, verify using the second derivative or sign chart, then interpret in context.

Worked Example 1

Revenue Optimisation

A company sells $x$ units per day at price $p = 60 - 0.5x$ dollars. Revenue $R(x) = px$. Find the quantity that maximises revenue and the maximum revenue.

1
Revenue function: $R(x) = x(60-0.5x) = 60x - 0.5x^2$
2
Differentiate: $R'(x) = 60 - x$
3
Set $R'(x) = 0$: $60 - x = 0 \Rightarrow x = 60$ units
4
Verify maximum: $R''(x) = -1 < 0$, confirming a maximum.
5
Maximum revenue: $R(60) = 60(60) - 0.5(3600) = 3600 - 1800 = \$1800$ per day.

3. Integration

Integration is the reverse of differentiation. The definite integral gives the area between a curve and the $x$-axis.

Integration Rules (AI SL)

Power rule: $\displaystyle\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C$   (for $n \ne -1$)

Key integrals: $\displaystyle\int e^x\,dx = e^x+C$, $\displaystyle\int \frac{1}{x}\,dx = \ln|x|+C$

Definite integral: $\displaystyle\int_a^b f(x)\,dx = F(b) - F(a)$ where $F$ is the antiderivative

Area interpretation: If $f(x) \ge 0$ on $[a,b]$, then $\displaystyle\int_a^b f(x)\,dx$ = area between curve and $x$-axis.

4. Trapezoidal Rule

When a function is difficult to integrate analytically, the trapezoidal rule approximates the definite integral numerically by dividing the region into trapezoids.

Trapezoidal Rule

With $n$ equal strips of width $h = \dfrac{b-a}{n}$:

$$\int_a^b f(x)\,dx \approx \frac{h}{2}[f(x_0) + 2f(x_1) + 2f(x_2) + \cdots + 2f(x_{n-1}) + f(x_n)]$$

The outer values $f(x_0)$ and $f(x_n)$ are counted once; all intermediate values are counted twice.

More strips $\Rightarrow$ more accurate approximation.

Worked Example 2

Trapezoidal Rule: Area Under Demand Curve

Approximate $\displaystyle\int_0^4 (12-x^2)\,dx$ using the trapezoidal rule with $n=4$ strips.

1
Strip width: $h = \dfrac{4-0}{4} = 1$
2
Evaluate function at strip boundaries:
$x$01234
$f(x) = 12-x^2$121183-4
3
Apply rule: $\approx \dfrac{1}{2}[12 + 2(11) + 2(8) + 2(3) + (-4)] = \dfrac{1}{2}[12+22+16+6-4] = \dfrac{1}{2}(52) = 26$
4
Exact value (check): $\displaystyle\int_0^4(12-x^2)\,dx = \left[12x-\frac{x^3}{3}\right]_0^4 = 48-\frac{64}{3} \approx 26.67$. The approximation is reasonable.

5. Kinematics

Kinematics applies calculus to motion along a straight line. Displacement $s$, velocity $v$, and acceleration $a$ are related by differentiation and integration.

Kinematics Relationships

$v = \dfrac{ds}{dt} = s'(t)$   (velocity = rate of change of displacement)

$a = \dfrac{dv}{dt} = v'(t) = s''(t)$   (acceleration = rate of change of velocity)

Reversing: $s = \displaystyle\int v\,dt$, $v = \displaystyle\int a\,dt$

Particle at rest: $v = 0$. Changes direction: $v$ changes sign.

Distance (not displacement) $= \displaystyle\int_a^b |v|\,dt$

Worked Example 3

Kinematics: Particle Motion

A particle moves with velocity $v(t) = 3t^2 - 12t + 9$ m/s. Find: (a) when the particle is at rest; (b) the displacement from $t=0$ to $t=3$; (c) the total distance travelled from $t=0$ to $t=3$.

1
(a) At rest: $v = 0 \Rightarrow 3t^2-12t+9=0 \Rightarrow 3(t-1)(t-3)=0 \Rightarrow t=1$ or $t=3$.
2
(b) Displacement: $s = \displaystyle\int_0^3(3t^2-12t+9)\,dt = \left[t^3-6t^2+9t\right]_0^3 = (27-54+27)-0 = 0$ m
3
(c) Check sign of $v$: $v(0.5) = 3(0.25)-6+9 = 3.75 > 0$. $v(2) = 12-24+9=-3 < 0$. So $v > 0$ on $[0,1]$ and $v < 0$ on $[1,3]$.
4
Distance: $\displaystyle\int_0^1 v\,dt + \left|\int_1^3 v\,dt\right|$. $\displaystyle\int_0^1 = [t^3-6t^2+9t]_0^1=4$. $\displaystyle\int_1^3=[t^3-6t^2+9t]_1^3=0-4=-4$. Distance $= 4+4 = 8$ m.
AI Exam Focus: You may use GDC to evaluate definite integrals (graphical area function). However, you must show clear method for derivatives and antiderivatives. Kinematics problems test both calculus skill and physical interpretation simultaneously.

Practice Problems

Q1. A rectangular garden has fixed perimeter 40 m. One side has length $x$ m. Find the value of $x$ that maximises the area.
Show Solution

Perimeter: $2x+2y=40 \Rightarrow y = 20-x$. Area $A = xy = x(20-x) = 20x-x^2$.

$A'(x) = 20-2x = 0 \Rightarrow x = 10$ m. Maximum area $= 10\times10 = 100$ m² (a square).

Q2. Approximate $\displaystyle\int_1^3 \frac{1}{x}\,dx$ using the trapezoidal rule with $n=4$ strips, then compare with the exact value.
Show Solution

$h=0.5$. Values: $f(1)=1$, $f(1.5)=\frac{2}{3}$, $f(2)=0.5$, $f(2.5)=0.4$, $f(3)=\frac{1}{3}$.

Approx $= \dfrac{0.5}{2}\left[1+2(\frac{2}{3})+2(0.5)+2(0.4)+\frac{1}{3}\right]=0.25[1+1.333+1+0.8+0.333]=0.25\times4.467\approx1.117$

Exact: $[\ln x]_1^3 = \ln 3 \approx 1.099$. The trapezoidal approximation overestimates since $1/x$ is concave.

Q3. A particle has displacement $s(t) = t^3 - 6t^2 + 9t$ (metres) at time $t \ge 0$. Find: (a) the velocity at $t=2$; (b) when acceleration is zero; (c) the position when it first changes direction.
Show Solution

(a) $v(t) = 3t^2-12t+9$. $v(2) = 12-24+9 = -3$ m/s (moving in negative direction).

(b) $a(t) = 6t-12 = 0 \Rightarrow t=2$ s.

(c) First direction change at $t=1$ (where $v$ first equals 0). $s(1) = 1-6+9 = 4$ m.

6. Exam Tips