Skip to content

Calculus

IGCSE Additional MathematicsTopic 14

Video lesson for this topic Open the video page
11:24

Topic 14: Calculus

The gradient of a curve at a point P is the gradient of the tangent there. For y equals x squared, chords from P at 1, 1 have gradients 3, 2.5, 2.1, 2.01…

English narration · English and 中文 subtitles you can switch

Handout

This topic covers calculus step by step: the derived function and its notation, the standard derivatives and the product, quotient and chain rules, tangents, normals and stationary points, rates of change, integration and areas, and motion in a straight line.

14.1 The idea of a derived function

A straight line has the same gradient 斜率 everywhere, but the gradient of a curve changes from point to point. The derived function gives the gradient of a curve at any point. Finding it is called differentiation.

The gradient at a point

The gradient of a curve at a point $P$ is the gradient of the tangent 切线 at $P$: the straight line that touches the curve there.

The curve y = x squared with the point P(1, 1); dashed chords join P to Q1(2, 4) and to Q2(1.5, 2.25), and the tangent at P is drawn; the chords get closer to the tangent as Q moves towards P

A chord 弦 $PQ$ joins two points on the curve. Its gradient is $\dfrac{\delta y}{\delta x}$, where $\delta x$ is the step across and $\delta y$ the step up. As $Q$ moves along the curve towards $P$, $\delta x \to 0$ and the chord gets closer and closer to the tangent, as the figure shows. For $y = x^2$ at $P(1, 1)$:

$x$ at $Q$ 2 1.5 1.1 1.01
gradient of $PQ$ 3 2.5 2.1 2.01

The chord gradients get closer and closer to 2, so the gradient of the curve at $P$ is 2.

The derived function

Doing this at every point of $y = x^2$ gives gradient $2x$. We write $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 2x$. In general:

$$y = x^n \quad\Rightarrow\quad \frac{\mathrm{d}y}{\mathrm{d}x} = nx^{n-1}$$
  • This works for any rational $n$, including negative numbers and fractions.
  • Multiply down a constant 常量: $y = 5x^3$ gives $15x^2$. Differentiate 求导 a sum term by term. A constant on its own gives 0.
  • First write every term as a power 幂 of $x$: $\dfrac{6}{x^2} = 6x^{-2}$ and $4\sqrt{x} = 4x^{\frac{1}{2}}$. Expand 展开 brackets and split fractions first too.

Worked example 1. Differentiate $y = 4x^3 - 5x^2 + 7x - 2$.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 12x^2 - 10x + 7$.

Worked example 2. Differentiate $y = \dfrac{6}{x^2} + 4\sqrt{x}$.

  1. Write $y = 6x^{-2} + 4x^{\frac{1}{2}}$.
  2. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = -12x^{-3} + 2x^{-\frac{1}{2}} = -\dfrac{12}{x^3} + \dfrac{2}{\sqrt{x}}$.

Worked example 3. Find the gradient of $y = x^3 - 3x$ at $x = 2$, and the values of $x$ where the gradient is 0.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 3$. At $x = 2$: $12 - 3 = 9$.
  2. $3x^2 - 3 = 0$ gives $x = 1$ or $x = -1$.

14.2 Use the notations

Exam questions write gradients and derivatives 导数 in several ways. This sheet explains each notation 记号, and the second derivative 二阶导数, which tells you how the gradient itself is changing.

Small steps: $\delta x$ and $\delta y$

Part of a curve with points P and Q joined by a straight chord; dashed lines show the step delta x across and the step delta y up from P to Q

$\delta x$ (say "delta $x$") is a small step in $x$, and $\delta y$ is the matching step in $y$, as the figure shows. $\dfrac{\delta y}{\delta x}$ is the gradient of the chord $PQ$. As $\delta x \to 0$, $\dfrac{\delta y}{\delta x}$ gets closer and closer to the gradient of the curve at $P$, which is $\dfrac{\mathrm{d}y}{\mathrm{d}x}$.

The notations

written read as meaning
$\dfrac{\mathrm{d}y}{\mathrm{d}x}$ or $f'(x)$ "d $y$ by d $x$", "$f$ dash of $x$" the gradient, or first derivative
$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$ or $f''(x)$ "d two $y$ by d $x$ squared" differentiate the first derivative again
$f'(3)$, $f''(0)$ the value at $x = 3$, or at $x = 0$

To differentiate, write each term as a power of $x$, then use $\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}(x^n) = nx^{n-1}}$, multiplying down any constant.

Worked example 1. $f(x) = 2x^3 - 6x^2 + 5$. Find $f'(x)$, $f''(x)$ and $f''(0)$.

  1. $f'(x) = 6x^2 - 12x$.
  2. $f''(x) = 12x - 12$, so $f''(0) = -12$.

Worked example 2. $y = 4x^{\frac{3}{2}} - \dfrac{3}{x}$. Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ and $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$.

  1. $y = 4x^{\frac{3}{2}} - 3x^{-1}$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 6x^{\frac{1}{2}} + 3x^{-2}$.
  2. $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 3x^{-\frac{1}{2}} - 6x^{-3} = \dfrac{3}{\sqrt{x}} - \dfrac{6}{x^3}$.

Unknown constants

Write the derivatives with the constants in them, then use each fact as an equation. If a fact holds "for all values of $x$", match the terms in each power of $x$ on both sides.

Worked example 3. $y = ax^3 + bx^2$. When $x = 1$, $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3$ and $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 0$. Find $a$ and $b$.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3ax^2 + 2bx$ and $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 6ax + 2b$.
  2. $3a + 2b = 3$ and $6a + 2b = 0$. Subtract: $3a = -3$, so $a = -1$ and $b = 3$.

14.3 Derivatives of the standard functions

Besides powers of $x$, you must know the derivatives of six standard functions. The chain rule 链式法则 then lets you differentiate a function of a function, such as $\sin 5x$ or $\sqrt{x^2 + 9}$.

Standard derivatives

$y$ $x^n$ $\sin x$ $\cos x$ $\tan x$ $\mathrm{e}^x$ $\ln x$
$\dfrac{\mathrm{d}y}{\mathrm{d}x}$ $nx^{n-1}$ $\cos x$ $-\sin x$ $\sec^2 x$ $\mathrm{e}^x$ $\dfrac{1}{x}$

Angles are in radians 弧度. Constant multiples stay, and sums are differentiated term by term.

The chain rule

x goes into an inside box, u = 3x squared + 4, and u goes into an outside box, y = u to the power one third; under the boxes, du/dx = 6x and dy/du = one third of u to the power minus two thirds

A function of a function works like two machines in a row, as in the figure. Multiply the two derivatives:

$$\boxed{\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{\mathrm{d}y}{\mathrm{d}u} \times \frac{\mathrm{d}u}{\mathrm{d}x}}$$

In words: differentiate the outside and keep the inside, then multiply by the derivative of the inside.

$y$ $(ax + b)^n$ $\sin(ax + b)$ $\cos(ax + b)$ $\mathrm{e}^{ax + b}$ $\ln(ax + b)$
$\dfrac{\mathrm{d}y}{\mathrm{d}x}$ $an(ax + b)^{n-1}$ $a\cos(ax + b)$ $-a\sin(ax + b)$ $a\mathrm{e}^{ax + b}$ $\dfrac{a}{ax + b}$

Before differentiating $\ln$ of a product, quotient or power, use the laws of logarithms: $\ln\dfrac{(x + 2)^3}{2x - 1} = 3\ln(x + 2) - \ln(2x - 1)$.

Worked example 1. Differentiate $y = (3x^2 + 4)^{\frac{1}{3}}$.

  1. Outside: $\dfrac{1}{3}(\ldots)^{-\frac{2}{3}}$; inside: $3x^2 + 4$, with derivative $6x$.
  2. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{1}{3}(3x^2 + 4)^{-\frac{2}{3}} \times 6x = 2x(3x^2 + 4)^{-\frac{2}{3}}$.

Worked example 2. Differentiate $y = \mathrm{e}^{2x} + 3\sin 4x - \ln(5x - 1)$.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 2\mathrm{e}^{2x} + 12\cos 4x - \dfrac{5}{5x - 1}$.

Worked example 3. Differentiate (a) $y = \mathrm{e}^{x^2}$ (b) $y = \cos^3 x$.

  1. (a) The inside $x^2$ has derivative $2x$: $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 2x\mathrm{e}^{x^2}$.
  2. (b) $y = (\cos x)^3$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3(\cos x)^2 \times (-\sin x) = -3\cos^2 x\sin x$.

14.4 Differentiate products and quotients of functions

When $y$ is one function times another, use the product rule 乘积法则. When $y$ is one function divided by another, use the quotient rule 商法则. Both are in the List of formulas, but you must know how to use them and tidy the answer.

The product rule

A rectangle with sides u and v has area uv; when u grows by delta u and v grows by delta v, two strips of area u delta v and v delta u are added, plus a very small corner

Think of $y = uv$ as the area of a rectangle. When $u$ and $v$ grow a little, the area grows by the two strips $u\,\delta v + v\,\delta u$, as the figure shows; the dark corner is so small that it can be ignored. Dividing by $\delta x$ and letting $\delta x \to 0$ gives

$$y = uv \quad\Rightarrow\quad \frac{\mathrm{d}y}{\mathrm{d}x} = u\frac{\mathrm{d}v}{\mathrm{d}x} + v\frac{\mathrm{d}u}{\mathrm{d}x}.$$

The quotient rule

$$y = \frac{u}{v} \quad\Rightarrow\quad \frac{\mathrm{d}y}{\mathrm{d}x} = \frac{v\dfrac{\mathrm{d}u}{\mathrm{d}x} - u\dfrac{\mathrm{d}v}{\mathrm{d}x}}{v^2}$$

The top starts with $v$, and the order matters because of the minus sign.

  • Write down $u$, $v$, $\dfrac{\mathrm{d}u}{\mathrm{d}x}$ and $\dfrac{\mathrm{d}v}{\mathrm{d}x}$ first; use the chain rule for each if needed.
  • Then tidy: take out common factors 公因数 such as $\mathrm{e}^{4x}$ or $(2x + 1)^4$, and write a negative power as a fraction.

Worked example 1. Differentiate $y = x^2\mathrm{e}^{4x}$.

  1. $u = x^2$, $v = \mathrm{e}^{4x}$, $\dfrac{\mathrm{d}u}{\mathrm{d}x} = 2x$, $\dfrac{\mathrm{d}v}{\mathrm{d}x} = 4\mathrm{e}^{4x}$.
  2. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 4x^2\mathrm{e}^{4x} + 2x\mathrm{e}^{4x} = 2x\mathrm{e}^{4x}(2x + 1)$.

Worked example 2. Differentiate $y = \dfrac{\ln x}{x}$.

  1. $u = \ln x$, $v = x$, $\dfrac{\mathrm{d}u}{\mathrm{d}x} = \dfrac{1}{x}$, $\dfrac{\mathrm{d}v}{\mathrm{d}x} = 1$.
  2. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{x \times \frac{1}{x} - \ln x \times 1}{x^2} = \dfrac{1 - \ln x}{x^2}$.

Worked example 3. $y = x(2x + 1)^5$. Show that $\dfrac{\mathrm{d}y}{\mathrm{d}x} = (2x + 1)^4(Ax + B)$, and find $A$ and $B$.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = x \times 10(2x + 1)^4 + (2x + 1)^5 \times 1$.
  2. Take out $(2x + 1)^4$: $(2x + 1)^4\big(10x + (2x + 1)\big) = (2x + 1)^4(12x + 1)$, so $A = 12$, $B = 1$.

14.5 Gradients, tangents and normals

The derivative gives the gradient of the tangent at a point. The normal 法线 is the line through the same point at right angles to the tangent. With a gradient and a point you can write the equation of either line.

Gradients of the tangent and the normal

The curve y = x cubed - 2x + 1 with the tangent at P(1, 0) and, dashed, the normal at P; a right-angle mark shows they are perpendicular

At the point where $x = a$:

  • the tangent has gradient $m = \dfrac{\mathrm{d}y}{\mathrm{d}x}$ at $x = a$;
  • the normal has gradient $-\dfrac{1}{m}$, because perpendicular 垂直 gradients multiply to $-1$, as the right-angle mark in the figure shows.

The method

  1. Find the $y$-coordinate of the point, if it is not given.
  2. Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ and put in $x = a$ to get $m$.
  3. Use $y - y_1 = m(x - x_1)$ with $m$ for the tangent, or with $-\dfrac{1}{m}$ for the normal.
  4. Where a line meets the $x$-axis, put $y = 0$; where it meets the $y$-axis, put $x = 0$. Keep $\ln$, $\mathrm{e}$, $\pi$ and surds exact.

Worked example 1. Find the equations of the tangent and the normal to $y = x^3 - 2x + 1$ at $P(1, 0)$.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 2 = 1$ at $x = 1$.
  2. Tangent: $y - 0 = 1(x - 1)$, so $y = x - 1$. Normal: gradient $-1$, so $y = -x + 1$.

Worked example 2. The normal to $y = \ln(4x - 3)$ at the point where $x = 2$ meets the $y$-axis at $Q$. Find the exact coordinates of $Q$.

  1. At $x = 2$: $y = \ln 5$, and $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{4}{4x - 3} = \dfrac{4}{5}$.
  2. Normal: $y - \ln 5 = -\dfrac{5}{4}(x - 2)$.
  3. $x = 0$: $y = \ln 5 + \dfrac{5}{2}$, so $Q\left(0, \ln 5 + \dfrac{5}{2}\right)$.

Worked example 3. The curve $y = 5 - 3\mathrm{e}^{2x}$ meets the $y$-axis at $A$. The tangent at $A$ meets the $x$-axis at $B$. Find the exact length of $AB$.

  1. $A(0, 2)$, and $\dfrac{\mathrm{d}y}{\mathrm{d}x} = -6\mathrm{e}^{2x} = -6$ at $x = 0$.
  2. Tangent: $y = 2 - 6x$; $y = 0$ gives $B\left(\dfrac{1}{3}, 0\right)$.
  3. $AB = \sqrt{\left(\dfrac{1}{3}\right)^2 + 2^2} = \dfrac{\sqrt{37}}{3}$.

14.6 Stationary points

A stationary point 驻点 is a point on a curve where the gradient is zero, so the tangent there is horizontal 水平. Many exam questions start by asking for the stationary points of a curve.

What a stationary point looks like

The curve y = x cubed - 3x + 4 with a maximum point at x = -1 and a minimum point at x = 1; a short horizontal tangent at each shows that the gradient is zero there

At a maximum point 极大值点 the curve goes up and then down; at a minimum point 极小值点 it goes down and then up. At both, the tangent is horizontal, as the figure shows, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0$.

The method

  1. Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$, using the product, quotient or chain rule if needed.
  2. Solve $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0$. Factorise, use the quadratic formula, or use $\ln$ for $\mathrm{e}^x$.
  3. Put each $x$ into the equation of the curve, not into $\dfrac{\mathrm{d}y}{\mathrm{d}x}$, to find $y$.

A factor such as $\mathrm{e}^{-2x}$ or $x^2 + 3$ is never zero. If $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ is never zero, the curve has no stationary points.

Worked example 1. Find the coordinates of the stationary points of $y = x^3 - 3x^2 - 9x + 5$.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 6x - 9 = 3(x - 3)(x + 1) = 0$, so $x = 3$ or $x = -1$.
  2. $x = 3$: $y = 27 - 27 - 27 + 5 = -22$. $x = -1$: $y = -1 - 3 + 9 + 5 = 10$.
  3. The stationary points are $(-1, 10)$ and $(3, -22)$.

Worked example 2. Find the exact coordinates of the stationary point of $y = x\mathrm{e}^{-2x}$.

  1. Product rule: $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \mathrm{e}^{-2x} - 2x\mathrm{e}^{-2x} = \mathrm{e}^{-2x}(1 - 2x)$.
  2. $\mathrm{e}^{-2x} \neq 0$, so $x = \dfrac{1}{2}$, and $y = \dfrac{1}{2}\mathrm{e}^{-1} = \dfrac{1}{2\mathrm{e}}$.

Worked example 3. Show that $y = x^3 + 3x + 1$ has no stationary points.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 + 3$. Since $x^2 \geqslant 0$, $3x^2 + 3 \geqslant 3$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ is never 0.

14.7 Connected rates of change, small increments and approximations

The derivative tells you how fast $y$ changes when $x$ changes. You can use it to estimate a small change 微小变化 in $y$, and to link two rates of change that depend on time.

Small changes

A curve with points P and Q a small step delta x apart; the rise delta y along the curve is close to the rise along the tangent at P

When $x$ increases by a small amount $\delta x$, the curve rises by $\delta y$. For a small step, the curve and its tangent at $P$ stay close, as the figure shows, so the rise is about the tangent's gradient times the step:

$$\delta y \approx \frac{\mathrm{d}y}{\mathrm{d}x} \times \delta x$$

Work out $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ at the starting value of $x$. If $x$ increases from $a$ to $a + h$, then $\delta x = h$, and the answer is a multiple of $h$.

Connected rates of change

A rate of change 变化率 with time is written $\dfrac{\mathrm{d}y}{\mathrm{d}t}$. When $y$ depends on $x$ and $x$ changes with time $t$, the chain rule gives

$$\frac{\mathrm{d}y}{\mathrm{d}t} = \frac{\mathrm{d}y}{\mathrm{d}x} \times \frac{\mathrm{d}x}{\mathrm{d}t}.$$
  1. Write the rate you are given and the rate you want, for example $\dfrac{\mathrm{d}V}{\mathrm{d}t}$ and $\dfrac{\mathrm{d}r}{\mathrm{d}t}$.
  2. Differentiate the formula linking the two variables, such as $\dfrac{\mathrm{d}V}{\mathrm{d}r}$, and put in the value given.
  3. Multiply or divide so that the $\mathrm{d}$-terms cancel, then add units.

Worked example 1. $y = x^3 - 2x$. Find the approximate 近似的 change in $y$ as $x$ increases from 2 to $2 + h$, where $h$ is small.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 2 = 10$ at $x = 2$.
  2. $\delta y \approx \dfrac{\mathrm{d}y}{\mathrm{d}x} \times \delta x = 10h$.

Worked example 2. The volume of a sphere of radius $r$ cm is $V = \dfrac{4}{3}\pi r^3$. The volume increases at a constant rate 恒定速率 of $24\ \mathrm{cm^3\,s^{-1}}$. Find the rate of increase of the radius when $r = 6$.

  1. Given $\dfrac{\mathrm{d}V}{\mathrm{d}t} = 24$; want $\dfrac{\mathrm{d}r}{\mathrm{d}t}$.
  2. $\dfrac{\mathrm{d}V}{\mathrm{d}r} = 4\pi r^2 = 144\pi$ at $r = 6$.
  3. $\dfrac{\mathrm{d}r}{\mathrm{d}t} = \dfrac{\mathrm{d}V}{\mathrm{d}t} \div \dfrac{\mathrm{d}V}{\mathrm{d}r} = \dfrac{24}{144\pi} = \dfrac{1}{6\pi} \approx 0.0531\ \mathrm{cm\,s^{-1}}$.

Worked example 3. $y = \ln(3x + 1)$, and $x$ increases at 0.2 units per second. Find the rate of change of $y$ when $x = 3$.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{3}{3x + 1} = \dfrac{3}{10}$ at $x = 3$.
  2. $\dfrac{\mathrm{d}y}{\mathrm{d}t} = \dfrac{\mathrm{d}y}{\mathrm{d}x} \times \dfrac{\mathrm{d}x}{\mathrm{d}t} = \dfrac{3}{10} \times 0.2 = 0.06$ units per second.

14.8 Practical problems involving maxima and minima

In a maximum or minimum problem 最大值或最小值问题 you choose the size of something, such as a tank or a fence, to make a quantity as large or as small as possible. A constraint 约束条件 is a fixed fact, such as a given volume, which links the variables.

Using a constraint to get one variable

An open-topped tank with a square base of side x and height h

The tank in the figure has two variables, $x$ and $h$. A fixed volume links them, so you can write $h$ in terms of $x$. Then the area of metal depends on $x$ only, and you can differentiate it.

The method

  1. Write the constraint, and use it to write one variable in terms of the other.
  2. Write the quantity to make largest or smallest in terms of one variable.
  3. Differentiate, put the derivative equal to 0, and solve.
  4. Check the nature 性质 with the second derivative: if $\dfrac{\mathrm{d}^2A}{\mathrm{d}x^2} > 0$ it is a minimum; if $\dfrac{\mathrm{d}^2A}{\mathrm{d}x^2} < 0$ it is a maximum.
  5. Answer the question asked: the value of $x$, the dimensions 尺寸, or the largest or smallest value.

Worked example 1. A farmer has 60 m of fence to make three sides of a rectangle; a wall is the fourth side. Find the largest possible area.

  1. Let each side touching the wall be $x$ m. The side opposite the wall is $(60 - 2x)$ m.
  2. Area: $A = x(60 - 2x) = 60x - 2x^2$.
  3. $\dfrac{\mathrm{d}A}{\mathrm{d}x} = 60 - 4x = 0$, so $x = 15$.
  4. $\dfrac{\mathrm{d}^2A}{\mathrm{d}x^2} = -4 < 0$, so this is a maximum: $A = 15 \times 30 = 450\ \mathrm{m^2}$.

Worked example 2. The tank in the figure has volume $4\ \mathrm{m^3}$. Find the dimensions that use the least metal.

  1. Constraint: $x^2h = 4$, so $h = \dfrac{4}{x^2}$.
  2. Metal: base plus four sides, $A = x^2 + 4xh = x^2 + \dfrac{16}{x}$.
  3. $\dfrac{\mathrm{d}A}{\mathrm{d}x} = 2x - \dfrac{16}{x^2} = 0$, so $x^3 = 8$ and $x = 2$.
  4. $\dfrac{\mathrm{d}^2A}{\mathrm{d}x^2} = 2 + \dfrac{32}{x^3} = 6 > 0$, so this is a minimum.
  5. The base is 2 m by 2 m and the height is $h = \dfrac{4}{4} = 1$ m.

14.9 First and second derivative tests

After you find a stationary point, the exam often asks for its nature: is it a maximum point or a minimum point? There are two tests.

The first derivative test

Near a maximum the gradient goes plus, zero, minus; near a minimum it goes minus, zero, plus; short tangents show each sign

Find the sign of $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ just before and just after the stationary point, for example at $x - 0.1$ and $x + 0.1$:

  • $+$, then $0$, then $-$: a maximum (the curve goes up, then down);
  • $-$, then $0$, then $+$: a minimum (the curve goes down, then up);
  • the same sign on both sides: neither a maximum nor a minimum.

The second derivative test

Differentiate again to get the second derivative $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$, and put in the $x$-value of the stationary point:

$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$ at the point nature
positive minimum
negative maximum
zero the test fails: use the first derivative test

The second derivative test is usually quicker. Use the first test when $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2}$ is zero or hard to find.

Worked example 1. $y = x^3 - 3x^2 - 9x + 5$ has stationary points at $x = -1$ and $x = 3$. Find their nature.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^2 - 6x - 9$, so $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 6x - 6$.
  2. $x = -1$: $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = -12 < 0$, a maximum. $x = 3$: $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 12 > 0$, a minimum.

Worked example 2. $y = x^4 - 4x^3$. Find the stationary points and their nature.

  1. $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 4x^3 - 12x^2 = 4x^2(x - 3) = 0$, so $x = 0$ or $x = 3$; the points are $(0, 0)$ and $(3, -27)$.
  2. $\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = 12x^2 - 24x$. At $x = 3$ it is $36 > 0$, so $(3, -27)$ is a minimum.
  3. At $x = 0$ it is 0, so the test fails. First derivative test: at $x = -0.1$, $\dfrac{\mathrm{d}y}{\mathrm{d}x} = -0.124$; at $x = 0.1$, $\dfrac{\mathrm{d}y}{\mathrm{d}x} = -0.116$.
  4. Negative on both sides, so $(0, 0)$ is neither a maximum nor a minimum.

14.10 Integration as the reverse process of differentiation

Integration 积分 is the reverse 反向 of differentiation. If you know the gradient function 导函数 $\dfrac{\mathrm{d}y}{\mathrm{d}x}$, integration gives back $y$, up to a constant of integration 积分常数.

Reversing the power rule

To differentiate $x^n$ you multiply by the power and take 1 from it. To integrate 积分, do the opposite: add 1 to the power and divide by the new power.

$$\boxed{\int x^n\,\mathrm{d}x = \frac{x^{n + 1}}{n + 1} + c}, \qquad n \neq -1$$

Integrate a sum term by term; a constant factor stays in front.

Why there is a $+ c$

The curves y = x squared + 2, y = x squared and y = x squared - 1; at x = 1 each has a tangent with the same gradient 2

The curves in the figure all have $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 2x$, because a constant disappears when you differentiate. So $\displaystyle\int 2x\,\mathrm{d}x = x^2 + c$. A point on the curve fixes the value of $c$.

"Hence" integrals

If a question has shown that $\dfrac{\mathrm{d}}{\mathrm{d}x}\big[F(x)\big] = k\,g(x)$, where $k$ is a constant, then

$$\int g(x)\,\mathrm{d}x = \frac{1}{k}F(x) + c.$$

Read the derivative you found backwards, and divide by the constant.

Worked example 1. A curve has $\dfrac{\mathrm{d}y}{\mathrm{d}x} = 6x^2 - 4x$ and passes through $(1, 5)$. Find its equation.

  1. $y = \dfrac{6x^3}{3} - \dfrac{4x^2}{2} + c = 2x^3 - 2x^2 + c$.
  2. At $(1, 5)$: $5 = 2 - 2 + c$, so $c = 5$ and $y = 2x^3 - 2x^2 + 5$.

Worked example 2. Differentiate $x\ln x$. Hence find $\displaystyle\int \ln x\,\mathrm{d}x$.

  1. Product rule: $\dfrac{\mathrm{d}}{\mathrm{d}x}(x\ln x) = \ln x + 1$.
  2. So $\displaystyle\int (\ln x + 1)\,\mathrm{d}x = x\ln x$, and $\displaystyle\int \ln x\,\mathrm{d}x = x\ln x - x + c$.

Worked example 3. Given that $\dfrac{\mathrm{d}}{\mathrm{d}x}\big[(x^2 + 1)^4\big] = 8x(x^2 + 1)^3$, find $\displaystyle\int x(x^2 + 1)^3\,\mathrm{d}x$.

  1. Here $k = 8$, so $\displaystyle\int x(x^2 + 1)^3\,\mathrm{d}x = \dfrac{1}{8}(x^2 + 1)^4 + c$.

14.11 Integrate sums of terms in powers of x

To integrate a sum of terms, integrate each term on its own. First write every term as a power of $x$, because the rule only works on powers.

The rules

$$\int x^n\,\mathrm{d}x = \frac{x^{n + 1}}{n + 1} + c \quad (n \neq -1), \qquad \int \frac{1}{x}\,\mathrm{d}x = \ln x + c \quad (x > 0)$$

The power rule fails for $n = -1$, because you cannot divide by 0. This is why $\dfrac{1}{x}$ has its own rule.

Rewrite, integrate, tidy

Three boxes in a row: rewrite as powers, add 1 and divide, tidy and add c, with 3 over x squared worked under each

Follow the three boxes in the figure for each term:

written as rewrite as
$\sqrt{x}$ $x^{\frac{1}{2}}$
$\dfrac{4}{x^3}$ $4x^{-3}$
$\dfrac{2}{\sqrt{x}}$ $2x^{-\frac{1}{2}}$
$(x + 2)^2$ $x^2 + 4x + 4$ (expand first)
$\dfrac{x^2 + 3}{x}$ $x + \dfrac{3}{x}$ (divide each term)

Never integrate the top and bottom of a fraction separately, and never integrate the brackets of a product one by one.

Worked example 1. Find $\displaystyle\int (4x^3 - 6x + 5)\,\mathrm{d}x$.

  1. $\dfrac{4x^4}{4} - \dfrac{6x^2}{2} + 5x + c = x^4 - 3x^2 + 5x + c$.

Worked example 2. Find $\displaystyle\int \left(2\sqrt{x} + \frac{3}{x^2}\right)\mathrm{d}x$.

  1. Rewrite: $2x^{\frac{1}{2}} + 3x^{-2}$.
  2. Integrate: $\dfrac{2x^{\frac{3}{2}}}{\frac{3}{2}} + \dfrac{3x^{-1}}{-1} + c = \dfrac{4}{3}x^{\frac{3}{2}} - \dfrac{3}{x} + c$.

Worked example 3. Find $\displaystyle\int \frac{(x + 2)^2}{x^2}\,\mathrm{d}x$.

  1. Expand and divide each term: $\dfrac{x^2 + 4x + 4}{x^2} = 1 + \dfrac{4}{x} + 4x^{-2}$.
  2. Integrate: $x + 4\ln x - \dfrac{4}{x} + c$.

14.12 Integrate functions of the form (ax + b)^n, sin, cos, sec², e

Many functions have a linear 线性 expression $ax + b$ inside them, such as $(3x + 1)^5$ or $\mathrm{e}^{2x}$. To integrate them, reverse the chain rule: when you differentiate you multiply by $a$, so when you integrate you divide by $a$.

Undoing the chain rule

The expressions (3x + 1) to the power 5 and 15(3x + 1) to the power 4 joined by two arrows; differentiating multiplies by the power 5 and by 3, integrating divides by them

The figure shows both directions. To integrate $(ax + b)^n$, add 1 to the power, then divide by the new power and by $a$.

Standard integrals

function integral (add $+ c$)
$(ax + b)^n$, $n \neq -1$ $\dfrac{(ax + b)^{n + 1}}{a(n + 1)}$
$\mathrm{e}^{ax + b}$ $\dfrac{1}{a}\mathrm{e}^{ax + b}$
$\dfrac{1}{ax + b}$ $\dfrac{1}{a}\ln(ax + b)$
$\sin(ax + b)$ $-\dfrac{1}{a}\cos(ax + b)$
$\cos(ax + b)$ $\dfrac{1}{a}\sin(ax + b)$
$\sec^2(ax + b)$ $\dfrac{1}{a}\tan(ax + b)$

Watch the sign: $\sin$ integrates to $-\cos$. Angles are in radians. Check an answer by differentiating it.

Worked example 1. Find $\displaystyle\int (4x - 3)^5\,\mathrm{d}x$.

  1. Power up to 6, then divide by 6 and by 4: $\dfrac{(4x - 3)^6}{24} + c$.

Worked example 2. Find $\displaystyle\int \left(\mathrm{e}^{2x} + \sin 3x\right)\mathrm{d}x$.

  1. $\dfrac{1}{2}\mathrm{e}^{2x} - \dfrac{1}{3}\cos 3x + c$.

Worked example 3. Find $\displaystyle\int \left(\frac{6}{2x + 1} + \sec^2\frac{x}{2}\right)\mathrm{d}x$.

  1. $\dfrac{6}{2}\ln(2x + 1) = 3\ln(2x + 1)$.
  2. $a = \dfrac{1}{2}$, so dividing by $a$ multiplies by 2: $2\tan\dfrac{x}{2}$.
  3. Answer: $3\ln(2x + 1) + 2\tan\dfrac{x}{2} + c$.

14.13 Definite integrals and plane areas

A definite integral 定积分 has limits 积分限, such as $\displaystyle\int_1^3$. It gives a number, not a function, and it finds the area of a region 区域 under a curve.

Evaluating a definite integral

Integrate as usual, then put in the upper limit and subtract the value at the lower limit. There is no $+ c$, because it cancels.

$$\boxed{\int_a^b f(x)\,\mathrm{d}x = \Big[F(x)\Big]_a^b = F(b) - F(a)}$$

Areas

Left, the area under y = f(x) from x = a to x = b; right, the region between the curve y = 6x - x squared at the top and the line y = x at the bottom
  • Under a curve, above the $x$-axis: area $= \displaystyle\int_a^b y\,\mathrm{d}x$, as in the left figure.
  • Between two graphs: area $= \displaystyle\int_a^b (\text{top} - \text{bottom})\,\mathrm{d}x$, where $a$ and $b$ are the $x$-coordinates of the meeting points, as in the right figure.
  • A region below the $x$-axis gives a negative integral. Its area is the size of that number. If a region crosses the axis, find each part on its own and add the sizes.

Find the limits first: solve curve $= 0$ for the $x$-axis, or curve $=$ line for a meeting point. Sketch the region if there is no figure.

Worked example 1. Evaluate $\displaystyle\int_1^3 (3x^2 - 2x)\,\mathrm{d}x$.

  1. $\Big[x^3 - x^2\Big]_1^3 = (27 - 9) - (1 - 1) = 18$.

Worked example 2. Find the area of the region between $y = 6x - x^2$ and $y = x$.

  1. Meeting points: $6x - x^2 = x$, so $x(5 - x) = 0$ and $x = 0$ or $x = 5$.
  2. Top minus bottom: $(6x - x^2) - x = 5x - x^2$.
  3. Area $= \displaystyle\int_0^5 (5x - x^2)\,\mathrm{d}x = \left[\frac{5x^2}{2} - \frac{x^3}{3}\right]_0^5 = \frac{125}{2} - \frac{125}{3} = \frac{125}{6}$.

Worked example 3. Find the area between $y = x^2 - 4x + 3$ and the $x$-axis.

  1. $(x - 1)(x - 3) = 0$, so the limits are 1 and 3.
  2. $\displaystyle\int_1^3 (x^2 - 4x + 3)\,\mathrm{d}x = \left[\frac{x^3}{3} - 2x^2 + 3x\right]_1^3 = 0 - \frac{4}{3} = -\frac{4}{3}$.
  3. The region is below the axis, so the area is $\dfrac{4}{3}$.

14.14 Differentiation and integration in kinematics problems

A particle moves in a straight line. Its displacement 位移 $s$ is its position from a fixed point $O$, and $t$ is the time. Its velocity 速度 $v$ is the rate of change of $s$, and its acceleration 加速度 $a$ is the rate of change of $v$.

Moving between $s$, $v$ and $a$

Boxes for displacement s, velocity v and acceleration a; arrows to the right differentiate with respect to t, arrows to the left integrate
$$\boxed{v = \frac{\mathrm{d}s}{\mathrm{d}t}}, \qquad a = \frac{\mathrm{d}v}{\mathrm{d}t}$$

Go right in the figure by differentiating, and go left by integrating. After integrating, use a known value, such as $s = 0$ when $t = 0$, to find $c$.

Words in kinematics questions

words meaning
at $O$ $s = 0$
instantaneous rest 瞬时静止 $v = 0$
initial $t = 0$
speed the size of $v$, never negative
acceleration is never zero show $a \neq 0$ for all $t$

Distance and displacement

A line of positions s; the particle goes out from O to 4/3 between t = 0 and t = 1, then back to O between t = 1 and t = 3

If the particle turns back, its displacement can be 0 although it has travelled. Find when $v = 0$, work out $s$ at each of these times, and add the lengths of each stage, as the figure shows.

Worked example 1. $s = t^3 - 6t^2 + 9t$. Find when the particle is at rest, its acceleration then, and the distance between the two positions of rest.

  1. $v = 3t^2 - 12t + 9 = 3(t - 1)(t - 3) = 0$, so $t = 1$ and $t = 3$.
  2. $a = 6t - 12$; at $t = 1$, $a = -6\ \mathrm{m\,s^{-2}}$; at $t = 3$, $a = 6\ \mathrm{m\,s^{-2}}$.
  3. $s(1) = 4$ and $s(3) = 0$, so the distance between them is 4 m.

Worked example 2. $v = 6 - 2\mathrm{e}^{-t}$ and $s = 0$ when $t = 0$. Find $s$, and show that $a$ is never zero.

  1. $s = 6t + 2\mathrm{e}^{-t} + c$; $0 = 0 + 2 + c$, so $s = 6t + 2\mathrm{e}^{-t} - 2$.
  2. $a = 2\mathrm{e}^{-t}$, and $\mathrm{e}^{-t} > 0$ for all $t$, so $a$ is never zero.

Worked example 3. $v = t^2 - 4t + 3$ and $s = 0$ when $t = 0$. Find the distance travelled 经过的路程 for $0 \leqslant t \leqslant 3$.

  1. $s = \dfrac{t^3}{3} - 2t^2 + 3t$, and $v = (t - 1)(t - 3) = 0$ at $t = 1$ and $t = 3$.
  2. $s(1) = \dfrac{4}{3}$ and $s(3) = 0$: out $\dfrac{4}{3}$, then back $\dfrac{4}{3}$, so the distance is $\dfrac{8}{3}$ m.

14.15 Displacement–time, velocity–time and related graphs

Motion can be shown on a displacement–time graph 位移—时间图像 or a velocity–time graph 速度–时间图. The gradient and the area under each graph tell you about the motion.

Reading the graphs

Left, a runner's displacement-time graph through (0, 0), (10, 30), (20, 30) and (40, -10); right, the matching velocity-time graph with steps at 3, 0 and -2
graph gradient area under the graph
displacement–time velocity (not used)
velocity–time acceleration distance travelled
  • A horizontal part of a displacement–time graph means the object is at rest.
  • On a velocity–time graph, area below the $t$-axis means the object moves backwards. Add the sizes of all the areas for the distance travelled.

Sketching from a formula

To sketch $s$, $v$ or $a$ against $t$: find the value at $t = 0$, solve $= 0$ for the other intercepts 截距, and use the shape of the function (straight line, $\cup$ or $\cap$ curve, cubic). State the coordinates where the graph meets the axes.

Worked example 1. Use the runner's displacement–time graph in the figure.

  1. Gradients: $\dfrac{30}{10} = 3$, then 0, then $\dfrac{-40}{20} = -2$. These are the velocities in the right figure.
  2. Distance travelled by $t = 40$: 30 m out, then 40 m back, so 70 m.

Worked example 2. A car accelerates uniformly 均匀地 from rest to $V\ \mathrm{m\,s^{-1}}$ in 10 s, travels at $V$ for 20 s, then slows uniformly to rest in 10 s. It travels 600 m in total. Find $V$, and the acceleration when $t = 35$.

  1. Area of the trapezium: $\dfrac{1}{2} \times 10V + 20V + \dfrac{1}{2} \times 10V = 30V = 600$, so $V = 20$.
  2. At $t = 35$ the car is slowing: gradient $= -\dfrac{20}{10} = -2\ \mathrm{m\,s^{-2}}$.

Worked example 3. $s = t^2 - 5t$ for $0 \leqslant t \leqslant 6$. Describe the three graphs.

  1. $s = t(t - 5)$: a $\cup$ curve through $(0, 0)$ and $(5, 0)$.
  2. $v = 2t - 5$: a straight line from $(0, -5)$, crossing the $t$-axis at $(2.5, 0)$.
  3. $a = 2$: a horizontal line through $(0, 2)$.

Words in the questions

The exercise sheets for this topic also use these words:

  • composite function 复合函数
  • simplify 化简
  • exact value 精确值
  • natural logarithm 自然对数
  • standard integral 标准积分
  • enclosed 围成
Vocabulary
English
gradient/ˈɡreɪdɪənt/
tangent/ˈtændʒənt/
chord/kɔːd/
derived function
differentiate/ˌdɪfəˈrenʃɪeɪt/
notation/nəʊˈteɪʃn/
derivative/dɪˈrɪvətɪv/
second derivative/ˈsekənd dɪˈrɪvətɪv/
constant/ˈkɒnstənt/
chain rule/tʃeɪn ruːl/
composite function/ˈkɒmpəzɪt ˈfʌŋkʃn/
radian/ˈreɪdɪən/
product rule/ˈprɒdʌkt ruːl/
quotient rule/ˈkwəʊʃənt ruːl/
simplify
common factor/ˈkɒmən ˈfæktə/
normal/ˈnɔːml/
perpendicular/ˌpɜːpənˈdɪkjʊlə/
exact value/eɡˈzækt ˈvæljuː/
stationary point/ˈsteɪʃənəri pɔɪnt/
maximum point/ˈmæksɪməm pɔɪnt/
minimum point/ˈmɪnɪməm pɔɪnt/
horizontal/ˌhɒrɪˈzɒntl/
small change
rate of change/reɪt ɒv tʃeɪndʒ/
approximate/əˈprɒksɪmət/
constant rate
maximum or minimum problem
constraint/kənˈstreɪnt/
nature/ˈneɪtʃə/
dimensions
integration/ˌɪntɪˈɡreɪʃn/
constant of integration/ˈkɒnstənt ɒv ˌɪntɪˈɡreɪʃn/
gradient function/ˈɡreɪdɪənt ˈfʌŋkʃn/
reverse/rɪˈvɜːs/
integrate/ˈɪntɪɡreɪt/
power/ˈpaʊə/
expand/ekˈspænd/
natural logarithm/ˈnætʃərəl ˈlɒɡərɪθəm/
linear/ˈlɪnɪə/
standard integral/ˈstændəd ˈɪntɪɡrəl/
definite integral/ˈdefɪnət ˈɪntɪɡrəl/
limits
region/ˈriːdʒn/
enclosed
displacement/dɪˈspleɪsmənt/
velocity/vəˈlɒsɪti/
acceleration/əkˌseləˈreɪʃn/
instantaneous rest
distance travelled
displacement–time graph
velocity–time graph/vəˈlɒsɪti taɪm ɡræf/
intercept/ˌɪntəˈsept/
uniformly

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

More topics in IGCSE Additional Mathematics

Log in or create account

IGCSE, A-Level & AP