HomeLearning HubA Level MathsP1 7: Differentiation
P1 7

Differentiation

Pure Mathematics 1 · Paper 1 · AS and A Level

🎯What you need to be able to do

  • Differentiate \( ax^{n} \) for rational \(n\), and sums of such terms.
  • Rewrite roots and fractions as powers before differentiating.
  • Apply the chain rule to \( (ax+b)^{n} \) and similar composite expressions.
  • Find the equations of tangents and normals.
  • Determine where a function is increasing or decreasing.
  • Find stationary points and classify them using the second derivative or a sign test.
  • Solve practical maximum and minimum problems, setting up the function yourself.
  • Use the chain rule for connected rates of change.

📚The mathematics

The basic rule

\[ y = ax^{n} \;\Longrightarrow\; \frac{\mathrm{d}y}{\mathrm{d}x} = anx^{\,n-1} \]

Multiply by the power, then reduce the power by one. It works for negative and fractional powers too, which is why the first move on any awkward expression is to rewrite it as a power:

\( \dfrac{3}{x^{2}} = 3x^{-2} \)
\( \sqrt{x} = x^{1/2} \)
\( \dfrac{5}{\sqrt{x}} = 5x^{-1/2} \)
\( \dfrac{x^{3}+2x}{x} = x^{2} + 2 \)

Most “I cannot differentiate this” moments are really “I have not rewritten this yet” moments. Note the last one: divide through first when the denominator is a single term, since there is no quotient rule at P1.

The notation \( \dfrac{\mathrm{d}y}{\mathrm{d}x} \) and \( \mathrm{f}'(x) \) mean the same thing. Both represent the gradient of the tangent, and equivalently the rate of change of \(y\) with respect to \(x\).

The chain rule

\[ y = \left(ax + b\right)^{n} \;\Longrightarrow\; \frac{\mathrm{d}y}{\mathrm{d}x} = an\left(ax+b\right)^{n-1} \]

Differentiate the outside, leave the inside alone, then multiply by the derivative of the inside. The factor people forget is that last one: the derivative of \( (3x+1)^{4} \) is \( 12(3x+1)^{3} \), not \( 4(3x+1)^{3} \).

Tangents and normals

At the point where \( x = a \):

  • the \(y\)-coordinate comes from \( \mathrm{f}(a) \) — the function, not the derivative;
  • the gradient of the tangent is \( \mathrm{f}'(a) \);
  • the gradient of the normal is \( -\dfrac{1}{\mathrm{f}'(a)} \), since the normal is perpendicular.

Then use \( y - y_1 = m(x - x_1) \). Two errors account for nearly all lost marks here: substituting into \( \mathrm{f}' \) to get the \(y\)-coordinate, and using the tangent gradient for the normal.

Increasing, decreasing and stationary

\( \mathrm{f}'(x) > 0 \) — increasing
\( \mathrm{f}'(x) < 0 \) — decreasing
\( \mathrm{f}'(x) = 0 \) — stationary

“Show that \( \mathrm{f} \) is increasing for all \(x\)” usually means showing \( \mathrm{f}'(x) \) is a sum of squares or otherwise clearly positive — completing the square on the derivative is the standard technique.

Classifying stationary points

Solve \( \dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 \) to locate them, then classify by one of two methods:

  • Second derivative. \( \dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} > 0 \) means a minimum (the curve is concave up, holding water); \( \dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} < 0 \) means a maximum. This is quicker when the second derivative is easy.
  • Sign test. Evaluate \( \dfrac{\mathrm{d}y}{\mathrm{d}x} \) just either side of the point and record the signs. Necessary when the second derivative is zero, which is inconclusive.

The second derivative being zero does not prove a point of inflexion — \( y = x^{4} \) has \( \dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} = 0 \) at the origin and a clear minimum there. Fall back on the sign test.

Practical maxima and minima

These questions follow a fixed procedure, and the marks are spread across all of it:

  1. Write an expression for the quantity to be optimised.
  2. Use the constraint to eliminate the second variable, so you have a function of one variable. This is usually the hardest step and it is where the “show that” part often sits.
  3. Differentiate and set to zero.
  4. Solve, rejecting any root that makes no physical sense (a negative length, for instance).
  5. Classify — show it is the maximum or minimum you claimed.
  6. Answer the question actually asked, which is often the optimal value rather than the \(x\) that produces it.
Step 5 is a mark and it is the one most often skipped. Solving \( \dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 \) locates a stationary point; it does not say which kind. A single line — “\( \dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} = 6 > 0 \), so this is a minimum” — secures it.

Connected rates of change

When two quantities both vary with time, the chain rule links their rates:

\[ \frac{\mathrm{d}V}{\mathrm{d}t} = \frac{\mathrm{d}V}{\mathrm{d}r} \times \frac{\mathrm{d}r}{\mathrm{d}t} \]

The method: write down what you are given and what you want, both as derivatives, then find the missing link by differentiating a formula connecting the variables. Choose the chain so the intermediate quantities cancel, exactly as fractions would.

✏️Worked example

A closed cylinder has radius \(r\) cm and height \(h\) cm, and its volume is 1000 cm\(^3\). (a) Show that the total surface area is \( A = 2\pi r^{2} + \dfrac{2000}{r} \). (b) Find the value of \(r\) that minimises \(A\), and show that it is a minimum. (c) The radius of a different cylinder is increasing at 0.2 cm s\(^{-1}\). Find the rate of increase of its volume when \( r = 5 \) and the height is fixed at 8 cm.

(a) The volume constraint gives \( \pi r^{2}h = 1000 \), so \( h = \dfrac{1000}{\pi r^{2}} \). A closed cylinder has two circular ends and a curved surface:

\[ A = 2\pi r^{2} + 2\pi rh = 2\pi r^{2} + 2\pi r \times \frac{1000}{\pi r^{2}} = 2\pi r^{2} + \frac{2000}{r} \]

as required — the \( \pi \) and one power of \(r\) cancel. If they do not, check the constraint.

(b) Rewrite as a power first: \( A = 2\pi r^{2} + 2000r^{-1} \), so

\[ \frac{\mathrm{d}A}{\mathrm{d}r} = 4\pi r - \frac{2000}{r^{2}} \]

Setting this to zero: \( 4\pi r = \dfrac{2000}{r^{2}} \), so \( r^{3} = \dfrac{2000}{4\pi} = 159.15 \) and \( r = 5.42 \) cm.

To show it is a minimum, \( \dfrac{\mathrm{d}^{2}A}{\mathrm{d}r^{2}} = 4\pi + \dfrac{4000}{r^{3}} \). For any \( r > 0 \) both terms are positive, so the second derivative is positive and the stationary point is a minimum.

(c) With \(h\) fixed, \( V = \pi r^{2}h = 8\pi r^{2} \), so \( \dfrac{\mathrm{d}V}{\mathrm{d}r} = 16\pi r \). By the chain rule,

\[ \frac{\mathrm{d}V}{\mathrm{d}t} = \frac{\mathrm{d}V}{\mathrm{d}r} \times \frac{\mathrm{d}r}{\mathrm{d}t} = 16\pi(5) \times 0.2 = 16\pi = 50.3\ \text{cm}^{3}\,\text{s}^{-1} \]
Check it. In (b), substituting back gives \( h = \dfrac{1000}{\pi(5.42)^{2}} = 10.8 \) cm, which is exactly \( 2r \). The optimal closed cylinder always has height equal to diameter — it is as close to a sphere as a cylinder can get. If your \(h\) does not come out at \( 2r \), there is an algebraic slip somewhere.
“Show that” means derive, not verify. In part (a) you must start from the volume constraint and produce the printed expression. Substituting the given formula back into the volume to check it is consistent is circular and earns nothing. And in (c), the units of a rate of change come from the notation: \( \dfrac{\mathrm{d}V}{\mathrm{d}t} \) is a volume per time, so cm\(^3\) s\(^{-1}\) — quoting cm s\(^{-1}\) loses the final mark.

📝Practise

Work through these, then reveal the answer. Each question targets a different objective from the list above.

1. Differentiate \( y = 4\sqrt{x} - \dfrac{6}{x^{2}} + 5 \).
Rewrite as powers: \( y = 4x^{1/2} - 6x^{-2} + 5 \). Then \( \dfrac{\mathrm{d}y}{\mathrm{d}x} = 4\left(\tfrac12\right)x^{-1/2} - 6(-2)x^{-3} = 2x^{-1/2} + 12x^{-3} \), that is \( \dfrac{2}{\sqrt{x}} + \dfrac{12}{x^{3}} \). The constant 5 differentiates to zero, and note the double negative in the second term producing a plus.
2. Find the equation of the normal to \( y = x^{3} - 2x^{2} + 4 \) at the point where \( x = 2 \).
The point: \( y = 8 - 8 + 4 = 4 \), so \( (2, 4) \). The gradient: \( \dfrac{\mathrm{d}y}{\mathrm{d}x} = 3x^{2} - 4x \), which at \( x = 2 \) is \( 12 - 8 = 4 \). The normal gradient is \( -\tfrac{1}{4} \). So \( y - 4 = -\tfrac{1}{4}(x-2) \), giving \( 4y - 16 = -x + 2 \), or \( x + 4y - 18 = 0 \).
3. Find and classify the stationary points of \( y = 2x^{3} - 3x^{2} - 12x + 5 \).
\( \dfrac{\mathrm{d}y}{\mathrm{d}x} = 6x^{2} - 6x - 12 = 6(x^{2} - x - 2) = 6(x-2)(x+1) \), which is zero at \( x = 2 \) and \( x = -1 \). The \(y\)-values are \( y(2) = 16 - 12 - 24 + 5 = -15 \) and \( y(-1) = -2 - 3 + 12 + 5 = 12 \). Now \( \dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}} = 12x - 6 \): at \( x = 2 \) it is \( 18 > 0 \), a minimum at \( (2, -15) \); at \( x = -1 \) it is \( -18 < 0 \), a maximum at \( (-1, 12) \).
4. Differentiate \( y = \dfrac{5}{(2x - 3)^{4}} \).
Rewrite: \( y = 5(2x-3)^{-4} \). Chain rule — differentiate the outside, then multiply by the derivative of the inside (which is 2): \( \dfrac{\mathrm{d}y}{\mathrm{d}x} = 5(-4)(2x-3)^{-5} \times 2 = -40(2x-3)^{-5} = \dfrac{-40}{(2x-3)^{5}} \). Omitting the factor of 2 gives \( -20 \) and loses the mark.
5. An open rectangular tank has a square base of side \(x\) m and volume 32 m\(^3\). Show that its surface area is \( A = x^{2} + \dfrac{128}{x} \) and find the value of \(x\) that minimises it.
Let the height be \(h\). Volume: \( x^{2}h = 32 \), so \( h = \dfrac{32}{x^{2}} \). An open tank has a base and four sides: \( A = x^{2} + 4xh = x^{2} + 4x\left(\dfrac{32}{x^{2}}\right) = x^{2} + \dfrac{128}{x} \). ✓ Then \( \dfrac{\mathrm{d}A}{\mathrm{d}x} = 2x - \dfrac{128}{x^{2}} = 0 \) gives \( 2x^{3} = 128 \), so \( x^{3} = 64 \) and \( x = 4 \) m. Check: \( \dfrac{\mathrm{d}^{2}A}{\mathrm{d}x^{2}} = 2 + \dfrac{256}{x^{3}} > 0 \), a minimum. Reading "open" as "closed" and using \( 2x^{2} \) is the trap here.
6. The volume of a sphere is increasing at 30 cm\(^3\) s\(^{-1}\). Find the rate at which the radius is increasing when \( r = 4 \) cm.
\( V = \tfrac{4}{3}\pi r^{3} \), so \( \dfrac{\mathrm{d}V}{\mathrm{d}r} = 4\pi r^{2} \). By the chain rule \( \dfrac{\mathrm{d}V}{\mathrm{d}t} = \dfrac{\mathrm{d}V}{\mathrm{d}r} \times \dfrac{\mathrm{d}r}{\mathrm{d}t} \), so \( 30 = 4\pi(16)\dfrac{\mathrm{d}r}{\mathrm{d}t} \), giving \( \dfrac{\mathrm{d}r}{\mathrm{d}t} = \dfrac{30}{201.06} = 0.149 \) cm s\(^{-1}\). The radius grows ever more slowly as the sphere inflates, since the same volume spreads over a larger surface — a built-in sanity check.

🔗Go deeper — other people’s work

These are external resources, not mine. If one stops working, tell me and everything above it on this page still stands.

  • 3Blue1Brown — Essence of Calculus, the best available intuition for a derivative
  • Desmos — graph \(y\) and \( \dfrac{\mathrm{d}y}{\mathrm{d}x} \) together and watch the stationary points line up with the zeros
  • Khan Academy — optimisation and related rates