impera Open Impera

IB Diploma Mathematics AI · Calculus

The derivative and rates of change

1Gradients of curves

A straight line has the same gradient everywhere, but a curve does not. The gradient of a curve at a point is the gradient of the tangent there: the straight line that just touches the curve at that point.

The derivative $f'(x)$ (or $\frac{dy}{dx}$) is a function that gives the gradient of $y = f(x)$ at any value of $x$.

  • It can be found as the limit of the gradients of chords $PQ$ as $Q$ moves closer and closer to $P$.
  • $\frac{dy}{dx}$ is read "dee y by dee x": the rate of change of $y$ with respect to $x$.

Chords approaching the tangent: their gradients get closer to 2

Example

On $y = x^2$ at $P(1, 1)$, chords to $Q(2, 4)$, $Q(1.1, 1.21)$ and $Q(1.01, 1.0201)$ have gradients 3, 2.1 and 2.01. They approach 2, the gradient of the tangent at $P$.

Check yourself

What does the derivative of a function give?

  • The gradient of the curve at any point

  • The maximum value of the function

  • The area under the curve up to that point

  • The y-intercept of the tangent line

Show the answer

The gradient of the curve at any point

f′(x) is the gradient function.

2Differentiating powers of x

The rule for powers: multiply by the power, then reduce the power by 1.

$$f(x) = ax^n \implies f'(x) = anx^{n-1}$$

  • A constant term differentiates to 0: its graph is flat.
  • Differentiate a sum term by term.
  • Rewrite fractions as negative powers first: $\frac{2}{x} = 2x^{-1}$ and $\frac{3}{x^2} = 3x^{-2}$.
Worked example

Differentiating

  1. $f(x) = 5x^4 - 3x^2 + 7x - 2$. Then $f'(x) = 20x^3 - 6x + 7$.
  2. $g(x) = \frac{2}{x} + x^3 = 2x^{-1} + x^3$. Then $g'(x) = -2x^{-2} + 3x^2 = -\frac{2}{x^2} + 3x^2$.
  3. Gradient of $f$ at $x = 1$: $f'(1) = 20 - 6 + 7 = 21$.
Check yourself

What is the derivative of y = 4x³?

  • 12x²

  • x⁴

  • 4x²

  • 12x³

Show the answer

12x²

Multiply by 3 and reduce the power to 2.

3Increasing and decreasing functions

  • If $f'(x) > 0$, the function is increasing: the graph goes up from left to right.
  • If $f'(x) < 0$, the function is decreasing.
  • If $f'(x) = 0$, the graph is momentarily flat (a stationary point).
Worked example

Where is it increasing?

  1. $f(x) = x^3 - 3x$, so $f'(x) = 3x^2 - 3$.
  2. $f'(x) > 0$ when $x^2 > 1$: that is, $x < -1$ or $x > 1$.
  3. $f'(x) < 0$ when $-1 < x < 1$. The function decreases there.

You can also read this from the graph of $f'$: where it is above the $x$-axis, $f$ is increasing.

Check yourself

f′(2) = −5. What is the function doing at x = 2?

  • Increasing

  • Stationary

  • Decreasing

  • It cannot be told

Show the answer

Decreasing

A negative gradient means the graph goes down.

4Rates of change in context

A derivative is a rate of change. Its units are "units of $y$ per unit of $x$".

  • If $s$ is distance (m) and $t$ is time (s), then $\frac{ds}{dt}$ is velocity in m/s.
  • If $C$ is cost in euros and $x$ is the number of items, $\frac{dC}{dx}$ is the extra cost per item (the marginal cost).
Worked example

A filling tank

  1. The volume of water in a tank is $V = 2t^3$ cm³ after $t$ seconds.
  2. $\frac{dV}{dt} = 6t^2$.
  3. At $t = 2$: $\frac{dV}{dt} = 24$ cm³/s. The volume is increasing at 24 cm³ per second.

Always interpret the derivative with units and in context.

Check yourself

A population is P = 50t² + 1000 after t years. How fast is it growing when t = 3?

  • 300 per year

  • 450 per year

  • 100 per year

  • 1450 per year

Show the answer

300 per year

dP/dt = 100t, and 100 × 3 = 300.

5Units of the derivative

The units of $\frac{dy}{dx}$ are "units of $y$ per unit of $x$".

  • If $C$ is cost in euros and $n$ is the number of items, $\frac{dC}{dn}$ is in euros per item.
  • If $h$ is height in metres and $t$ is time in seconds, $\frac{dh}{dt}$ is in metres per second.
Worked example

Population of bacteria

  1. $P = 200 + 30t^2$, where $t$ is in hours.
  2. $\frac{dP}{dt} = 60t$.
  3. At $t = 4$: $\frac{dP}{dt} = 240$ bacteria per hour.
  4. Interpretation: four hours in, the population is growing at 240 bacteria per hour.
Check yourself

If $V$ is in litres and $t$ in minutes, what are the units of $\frac{dV}{dt}$?

  • Litres

  • Litres per minute

  • Minutes

  • Minutes per litre

Show the answer

Litres per minute

Units of y per unit of x.

6Differentiating with negative powers

Write fractions as negative powers before differentiating.

Worked example

$f(x) = 2x^3 + \frac{8}{x}$

  1. Rewrite: $f(x) = 2x^3 + 8x^{-1}$.
  2. $f'(x) = 6x^2 - 8x^{-2} = 6x^2 - \frac{8}{x^2}$.
  3. $f'(2) = 24 - 2 = 22$.
Check yourself

What is the derivative of $\frac{5}{x}$?

  • $-5x$

  • $5$

  • $\frac{5}{x^2}$

  • $-\frac{5}{x^2}$

Show the answer

$-\frac{5}{x^2}$

$5x^{-1}$ becomes $-5x^{-2}$.

7Going deeper: one model analysed with the derivative, start to finish

In Maths AI the derivative is almost always a rate of change in context. Say what it means, with units, every time.

Worked example

the depth of water in a tank is $h(t) = 0.5t^3 - 6t^2 + 18t + 10$ cm, where $t$ is the time in minutes and $0 \le t \le 8$.

  1. Differentiate: $h'(t) = 1.5t^2 - 12t + 18$.
  2. Meaning: $h'(t)$ is the rate at which the depth is changing, in cm per minute.
  3. $h'(4) = 24 - 48 + 18 = -6$. At 4 minutes the depth is falling at 6 cm per minute.
  4. Stationary points: $1.5t^2 - 12t + 18 = 0$ gives $t^2 - 8t + 12 = 0$, so $t = 2$ or $t = 6$.
  5. $h(2) = 4 - 24 + 36 + 10 = 26$ cm and $h(6) = 108 - 216 + 108 + 10 = 10$ cm.
  6. Increasing and decreasing: $h' > 0$ for $0 \le t < 2$ (rising), $h' < 0$ for $2 < t < 6$ (falling), $h' > 0$ for $6 < t \le 8$ (rising again).
  7. Endpoints: $h(0) = 10$ and $h(8) = 256 - 384 + 144 + 10 = 26$. The greatest depth, 26 cm, occurs twice: at $t = 2$ and at the end. Always check the ends of the domain.

Worked example (a negative power): the cost per item when $x$ hundred items are made is $C(x) = 2x + \frac{50}{x}$.

  1. Rewrite: $C(x) = 2x + 50x^{-1}$.
  2. $C'(x) = 2 - 50x^{-2} = 2 - \frac{50}{x^2}$.
  3. Set to zero: $x^2 = 25$, so $x = 5$ (positive in context).
  4. Minimum cost per item: $C(5) = 10 + 10 = 20$.

Reading units

  • If $y$ is in metres and $x$ in seconds, $\frac{dy}{dx}$ is in metres per second.
  • If $P$ is profit in dollars and $n$ the number sold, $\frac{dP}{dn}$ is dollars per extra item sold (the marginal profit).

Average and instantaneous rates

  • Average rate between two points: the gradient of the chord, $\frac{h(b) - h(a)}{b - a}$. From $t = 0$ to $t = 2$ the average rate is $\frac{26 - 10}{2} = 8$ cm per minute.
  • Instantaneous rate at one moment: the derivative.

Using the GDC: you may find a derivative at a point numerically, and find maxima and minima from the graph. On "show that" questions, write the derivative out.

Check yourself

f(x) = 4x² − 3x. What is f′(2)?

  • 13

  • 16

  • 10

  • 5

Show the answer

13

f′(x) = 8x − 3, and 8 × 2 − 3 = 13.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera