This handout teaches topic 5, Calculus, of Mathematics: Applications and Interpretation, the course first assessed in 2021: gradients and derivatives of $ax^n$, increasing and decreasing functions, tangents and normals, stationary points and optimisation, integration of $ax^n$ and areas, and the trapezoidal rule, and, for HL, further derivatives and the chain, product and quotient rules, related rates and the second derivative, further integration and volumes of revolution, kinematics, differential equations with slope fields and Euler's method, and coupled systems with phase portraits.
Prerequisites: gradients of lines and functions (topic 2), indices, and, for HL, eigenvalues and eigenvectors (topic 1).
5.2
梯度与导数
English
Kepler's wine casks
In 1613 the astronomer Johannes Kepler bought wine for his wedding in Linz. He watched the merchant measure each barrel by pushing a rod through the hole in its side to the far corner and reading off a length, whatever the shape of the barrel. Kepler doubted that one length could give a volume, and he wrote a whole book about it. He found volumes by cutting a solid into very thin slices and adding them up, an early form of integration. He also showed that the Austrian barrel shape gave almost the largest volume for its rod length, and that near a maximum, small changes in shape hardly change the volume, so the merchants' rule was nearly fair. That is the key idea of optimisation: at a maximum the rate of change is zero.
Kepler's idea: slice and add
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 $\dfrac{f(x + h) - f(x)}{h}$. As $h \to 0$ 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
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 integer $n$, the derivative of $ax^n$ is $anx^{n-1}$, and the derivative of a constant is 0. Differentiate term by term.
$f$ is increasing 递增 where $f'(x) > 0$ and decreasing 递减 where $f'(x) < 0$. For $f(x) = x^3 - 3x$, $f'(x) = 3x^2 - 3$, which is negative for $-1 < x < 1$: $f$ decreases there and increases elsewhere.
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}$.
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$.
On a calculator paper, the GDC finds the gradient at a point directly (numerical derivative); write down the value and what it means.
A stationary point 驻点 is where $f'(x) = 0$: the tangent is horizontal. Look at the sign of $f'(x)$ on each side:
Fenced enclosures: optimisation finds the dimensions that give the largest area for a fixed length of fence
$f'$ before
$f'$ after
Point
$+$
$-$
local maximum 局部最大值
$-$
$+$
local minimum 局部最小值
Worked example.$f(x) = x^3 - 3x$. $f'(x) = 3x^2 - 3 = 0$ gives $x = \pm 1$. Since $f'$ changes from $+$ to $-$ at $x = -1$, $(-1, 2)$ is a local maximum; it changes from $-$ to $+$ at $x = 1$, so $(1, -2)$ is a local minimum.
Optimisation
To make a quantity as large or as small as possible:
Use the fixed fence length to write A in one variable; A′(x) = 0 at x = 25 gives the largest pen
Write it as a function of one variable, using any fixed condition to remove the others.
Differentiate and solve the derivative $= 0$, using the GDC if needed.
Check that it is a maximum or a minimum, and check the ends of the domain.
Answer the question asked, with units.
Worked example. A drinks can must hold 500 cm³. Find the radius that uses the least metal.
Volume: $\pi r^2h = 500$, so $h = \dfrac{500}{\pi r^2}$.
$\dfrac{dA}{dr} = 4\pi r - \dfrac{1000}{r^2} = 0$ gives $r^3 = \dfrac{250}{\pi}$, so $r \approx 4.30$ cm, and then $h \approx 8.60$ cm.
$\dfrac{dA}{dr}$ changes from negative to positive, so this is a minimum: $A \approx 349$ cm².
The best can has its height equal to its diameter. Real cans are taller and thinner, because the ends are made of thicker metal and the shape must suit a hand and a fridge: the model leaves these out.
Worked example. A farmer has 100 m of fence to make a rectangular pen against a long wall, so only three sides need fencing. With the two sides at right angles to the wall $x$ m long, the third side is $100 - 2x$ and the area is $A = x(100 - 2x) = 100x - 2x^2$, for $0 < x < 50$. $\dfrac{dA}{dx} = 100 - 4x = 0$ at $x = 25$, and $\dfrac{dA}{dx}$ changes from positive to negative there, so the largest area is $25 \times 50 = 1250$ m².
Worked example. A company's profit is $P(x) = -2x^2 + 120x - 1000$ yuan when it sells $x$ items a day. $P'(x) = -4x + 120 = 0$ at $x = 30$, and $P(30) =$ ¥800 is the maximum daily profit.
Integration 积分 reverses differentiation. For $n \ne -1$:
$$\int ax^n\,dx = \frac{a}{n + 1}x^{n + 1} + c$$
The constant of integration 积分常数$c$ appears because every constant differentiates to 0. A boundary condition, a known point on the curve, finds $c$.
Worked example. A curve has gradient $f'(x) = 6x^2 - 4x + 5$ and passes through $(1, 6)$. Then $f(x) = 2x^3 - 2x^2 + 5x + c$, and $f(1) = 5 + c = 6$, so $c = 1$ and $f(x) = 2x^3 - 2x^2 + 5x + 1$.
Every value of c gives a curve with the same gradient; the boundary condition picks c = 1
Definite integrals and area
The definite integral 定积分$\displaystyle\int_a^b f(x)\,dx$ is the area between the curve and the $x$-axis from $x = a$ to $x = b$, when $f(x) \ge 0$. On a calculator paper, find it with the GDC and write down the integral you used.
Worked example. The area under $y = 4 - x^2$ from $x = 0$ to $x = 2$ is $\displaystyle\int_0^2 (4 - x^2)\,dx = \left[4x - \frac{x^3}{3}\right]_0^2 = 8 - \frac{8}{3} = \frac{16}{3} \approx 5.33$.
From a rate to a total
If $r(t)$ is a rate of change, then $\displaystyle\int_a^b r(t)\,dt$ is the total change from $t = a$ to $t = b$: the area under a rate graph is an amount.
Worked example. Water flows into a tank at $r(t) = 3t^2 + 2$ litres per minute. In the first 4 minutes the tank gains $\displaystyle\int_0^4 (3t^2 + 2)\,dt = \Big[t^3 + 2t\Big]_0^4 = 64 + 8 = 72$ litres. The units of the area are (litres per minute) $\times$ minutes $=$ litres.
The area under a rate graph is an amount: 72 litres in 4 minutes
constant of integration/ˈkɒnstənt ɒv ˌɪntɪˈɡreɪʃn/
积分常数
jī fēn cháng shù
definite integral/ˈdefɪnət ˈɪntɪɡrəl/
定积分
dìng jī fēn
5.5
梯形法则
English
When only data are known, or the function cannot be integrated, estimate the area with trapezoids. With $n$ strips of equal width $h = \dfrac{b - a}{n}$:
Trapezoids under a curve that bends downwards give an underestimate
If the curve bends downwards (concave down), as here, the straight tops of the trapezoids lie below it, so the rule underestimates the area. If the curve bends upwards, it overestimates. More, narrower strips give a better estimate.
Common mistakes.
Differentiating $\dfrac{1}{x^2}$ without rewriting it: write $x^{-2}$, then the derivative is $-2x^{-3}$.
Forgetting $+C$ on an indefinite integral.
Using the tangent gradient $m$ for a normal. The normal has gradient $-\dfrac{1}{m}$.
Counting strips wrongly in the trapezoidal rule: $n$ strips have width $h = \dfrac{b-a}{n}$ and $n + 1$ ordinates.
Integrating straight across a root. Area below the $x$-axis gives a negative integral, so split at the roots.
Not checking the ends of the domain in an optimisation question.
5.6
练习
English
Differentiate $y = 4x^3 - 5x + \dfrac{2}{x} + 7$.
Find where $f(x) = x^3 - 3x$ is decreasing.
Find the equations of the tangent and normal to $y = x^2$ at $x = 2$.
Find and classify the stationary points of $f(x) = x^3 - 3x$.
A profit is $P(x) = -2x^2 + 120x - 1000$. Find the number of items that gives the greatest profit, and the profit.
A can holds 500 cm³. Show that $A = 2\pi r^2 + \dfrac{1000}{r}$, and find the radius that minimises $A$.
Find $\displaystyle\int(6x^2 - 4x + 5)\,dx$.
A curve has gradient $6x^2 - 4x + 5$ and passes through $(1, 6)$. Find its equation.
Find the area under $y = 4 - x^2$ from $x = 0$ to $x = 2$.
Use the trapezoidal rule with the river depths 0, 1.4, 2.3, 2.8, 2.1, 1.2, 0 m every 2 m to estimate the cross-section area.
Is the estimate in question 10 too large or too small? Explain.
The volume of water in a tank is $V = 2t^3 - 3t^2 + 50$ litres after $t$ hours. Find $\dfrac{dV}{dt}$ at $t = 4$ and say what it means.
Find the gradient of $y = x^2 - \dfrac{8}{x}$ at $x = 2$.
Explain why the derivative is zero at the maximum volume of Kepler's barrel.
Answers.
$12x^2 - 5 - \dfrac{2}{x^2}$.
$-1 < x < 1$.
Tangent $y = 4x - 4$; normal $x + 4y - 18 = 0$.
Maximum $(-1, 2)$; minimum $(1, -2)$.
30 items; ¥800.
$h = \frac{500}{\pi r^2}$, so $A = 2\pi r^2 + 2\pi r \cdot \frac{500}{\pi r^2}$; $r = \sqrt[3]{250/\pi} \approx 4.30$ cm.
$2x^3 - 2x^2 + 5x + c$.
$y = 2x^3 - 2x^2 + 5x + 1$.
$\frac{16}{3} \approx 5.33$.
19.6 m².
Too small: the river bed curves downwards between the measurements, so the trapezoids lie inside the true cross-section.
$\frac{dV}{dt} = 6t^2 - 6t = 72$: at $t = 4$ the volume is increasing at 72 litres per hour.
$2x + \frac{8}{x^2} = 4 + 2 = 6$.
At a maximum the tangent is horizontal, so the rate of change of volume with shape is zero: small changes in shape hardly change the volume.
5.7
考试技巧
English
Rewrite $\frac{a}{x^n}$ as $ax^{-n}$ before differentiating or integrating.
Give the meaning of a derivative with units: “litres per second”.
In optimisation, write the quantity in one variable, justify the maximum or minimum, and answer in context.
Do not forget $+c$ in an indefinite integral; use a boundary condition to find it.
For the trapezoidal rule, count strips, not points: 7 measurements make 6 strips.