This handout teaches topic 5, Calculus, of Mathematics: Analysis and Approaches, the course first assessed in 2021: the derivative as a gradient and a rate of change, the rules of differentiation, stationary points and optimisation, kinematics, integration and areas, and, for HL, limits and first principles, implicit differentiation and related rates, further integration techniques, volumes of revolution, differential equations and Maclaurin series.
Prerequisites: functions and their graphs, exponentials and logarithms (topic 2), and trigonometric functions in radians (topic 3). In calculus, angles are always in radians.
5.2
梯度与导数
English
From average to instant
A car's trip computer shows 72 km/h as the average speed of a 36 km journey that took 30 minutes. The speedometer shows something different: the speed at this instant. An average speed is the gradient of a chord on a distance-time graph; an instantaneous speed is the gradient of the tangent. Calculus is the mathematics of getting from the first to the second by making the time interval smaller and smaller.
Secants and the tangent
The gradient of a chord, or secant 割线, between $P(x, f(x))$ and a nearby point $Q(x + h, f(x + h))$ is
$$\frac{f(x + h) - f(x)}{h}$$
As $Q$ moves towards $P$, $h \to 0$ and the secant approaches the tangent 切线 at $P$. The limit of the secant gradients is the derivative 导数$f'(x)$, also written $\dfrac{dy}{dx}$.
Secant gradients approach the tangent gradient
For $y = x^2$ at $x = 1$ the secant gradients are $4$, $3$, $2.5$, $2.1$, $2.01$, … as $Q$ comes closer, so the derivative at $x = 1$ is $2$.
The derivative has two meanings:
the gradient of the curve $y = f(x)$ at a point;
the rate of change of $y$ with respect to $x$: if $V$ is a volume in litres and $t$ is time in seconds, $\dfrac{dV}{dt}$ is in litres per second.
The power rule
For any real $n$, the derivative of $x^n$ is $nx^{n-1}$. Constants multiply through and terms are differentiated one by one:
$f$ is increasing where $f'(x) > 0$ and decreasing where $f'(x) < 0$. For $f(x) = x^3 - 3x$, $f'(x) = 3x^2 - 3 = 3(x - 1)(x + 1)$, which is negative for $-1 < x < 1$, so $f$ is decreasing there and increasing for $x < -1$ and $x > 1$.
Tangents and normals
At $x = a$, the tangent has gradient $m = f'(a)$ and passes through $(a, f(a))$. The normal 法线 is perpendicular to the tangent, with gradient $-\dfrac{1}{m}$ when $m \ne 0$. If the tangent is horizontal, the normal is the vertical line $x=a$.
The tangent to y = x² at (2, 4)
Worked example. For $y = x^2$ at $x = 2$: $y = 4$ and $\dfrac{dy}{dx} = 2x = 4$.
Tangent: $y - 4 = 4(x - 2)$, so $y = 4x - 4$.
Normal: gradient $-\frac{1}{4}$, so $y - 4 = -\frac{1}{4}(x - 2)$, or $x + 4y - 18 = 0$.
Differentiating again gives the second derivative 二阶导数$f''(x)$ or $\dfrac{d^2y}{dx^2}$: the rate of change of the gradient. Where $f''(x) > 0$ the graph is concave up (the gradient is increasing); where $f''(x) < 0$ it is concave down.
A stationary point 驻点 is where $f'(x) = 0$: the tangent is horizontal. It can be a local maximum, a local minimum or a stationary point of inflection.
Fenced enclosures: optimization finds the dimensions that maximise area for a fixed fence lengthStationary points of y = x³ − 3x
Worked example.$f(x) = x^3 - 3x$.
$f'(x) = 3x^2 - 3 = 0$ gives $x = \pm 1$. The points are $(-1, 2)$ and $(1, -2)$.
$f''(x) = 6x$. At $x = -1$, $f'' = -6 < 0$: a local maximum. At $x = 1$, $f'' = 6 > 0$: a local minimum.
If $f'' = 0$ the test fails; check the sign of $f'$ on each side instead.
A point of inflection 拐点 is where the concavity changes: $f''(x) = 0$and$f''$ changes sign. For $x^3 - 3x$, $f''(x) = 6x$ changes sign at $x = 0$, so $(0, 0)$ is a point of inflection (not stationary, since $f'(0) = -3$). For $y = x^4$, $f''(0) = 0$ but $f''$ does not change sign, so the origin is a minimum, not an inflection.
Optimisation
To find the largest or smallest value of a quantity: write it as a function of one variable, differentiate, set the derivative to zero, solve, and check it is a maximum or minimum. Also check the ends of the allowed domain.
Write V in one variable, then the derivative finds the maximum: x = 2 gives 128 cm³
Worked example. Equal squares of side $x$ cm are cut from the corners of a 12 cm by 12 cm sheet, and the sides are folded up to make an open box. Find the largest volume.
$V = x(12 - 2x)^2 = 4x^3 - 48x^2 + 144x$, with $0 < x < 6$.
$\dfrac{dV}{dx} = 12x^2 - 96x + 144 = 12(x - 2)(x - 6) = 0$, so $x = 2$ (since $x = 6$ is outside the domain).
$\dfrac{d^2V}{dx^2} = 24x - 96 = -48 < 0$ at $x = 2$: a maximum.
For a particle moving in a straight line, with displacement 位移$s$ from a fixed point at time $t$:
A roller coaster is calculus you can feel: velocity is the derivative of position, and acceleration is the derivative of velocity
$$v = \frac{ds}{dt} \qquad a = \frac{dv}{dt} = \frac{d^2s}{dt^2} \qquad s = \int v\, dt$$
The velocity 速度$v$ has a sign that shows direction; speed is $|v|$. The particle is at rest when $v = 0$ and changes direction where $v$ changes sign. It is speeding up when $v$ and $a$ have the same sign.
Signed areas give displacement; total area gives distance
Worked example.$v = t^2 - 4t + 3$ m/s for $0 \le t \le 4$.
$v = (t - 1)(t - 3) = 0$ at $t = 1$ and $t = 3$: the particle changes direction twice.
$a = 2t - 4$; at $t = 0$, $a = -4$ m/s².
Displacement from $t = 0$ to $4$: $\displaystyle\int_0^4 (t^2 - 4t + 3)\,dt = \left[\frac{t^3}{3} - 2t^2 + 3t\right]_0^4 = \frac{4}{3}$ m.
A boundary condition fixes $C$: if $\dfrac{dy}{dx} = 6x^2$ and the curve passes through $(1, 5)$, then $y = 2x^3 + C$ and $5 = 2 + C$, so $y = 2x^3 + 3$.
Integration by inspection
When the integrand is a function of $g(x)$ multiplied by $g'(x)$, reverse the chain rule:
where $F$ is any antiderivative. Between a curve above the $x$-axis and the axis, it gives the area. Where the curve is below the axis, the integral is negative.
$y' = 6x^2 - 6x - 12 = 6(x - 2)(x + 1) = 0$ at $x = -1$ and $x = 2$. $y'' = 12x - 6$: at $x = -1$, $-18 < 0$, maximum $(-1, 11)$; at $x = 2$, $18 > 0$, minimum $(2, -16)$.
$y' = 3x^2 - 12x$, $y'' = 6x - 12 = 0$ at $x = 2$, where $y = 8 - 24 + 5 = -11$. $y''$ is negative for $x < 2$ and positive for $x > 2$, so $(2, -11)$ is a point of inflection.
Sides $x$ and $20 - x$; $A = 20x - x^2$, $A' = 20 - 2x = 0$ at $x = 10$, and $A'' = -2 < 0$: a maximum. A 10 cm by 10 cm square, area 100 cm².
$s = 3t^2 - t^3 + 2$; $a = 6 - 6t$; at rest when $3t(2 - t) = 0$, at $t = 0$ and $t = 2$ s.
Displacement $= s(3) - s(0) = (27 - 27 + 2) - 2 = 0$ m. Distance: from 0 to 2, $s$ goes from 2 to 6 (4 m); from 2 to 3, from 6 to 2 (4 m). Distance $= 8$ m.