01 · A polynomial
Differentiate 2x⁵ − 3x³ + 4x − 9.
Hint
The constant disappears.
Worked solution
10x⁴ − 9x² + 4.
Understand · explore · practise
Differentiate powers, polynomials, roots and reciprocals. Rewrite products and fractions, find second derivatives and solve gradient and parameter conditions.
Before you startIndices, expansion, fractions and the meaning of a derivative
01 / The power rule
d/dx (axⁿ) = anxⁿ⁻¹
The coefficient a and exponent n are constants. Apply the rule on an interval where the real-valued power is differentiable. For example:
d/dx (4x⁵) = 20x⁴
d/dx (x⁻²) = −2x⁻³
d/dx (√x) = ½x−1/2, for x > 0
Use the model to compare powers and their gradients. Its positive x-values let you focus on the rule without crossing a root or reciprocal domain boundary.
For f(x) = 3x^(2) at x = 1, the value is 3 and the derivative is 6. Blue shows the function; gold shows its derivative. All selected x-values are positive. Displayed values are rounded to four decimal places.
Pause, replay or seek freely. The notes explain the same idea and stay in view.
02 / Constants and sums
A constant has derivative zero. The derivative of bx is b. Sums and differences can be differentiated term by term:
f(x) = 3x⁴ − 5x² + 7x − 4
f′(x) = 12x³ − 10x + 7
The constant −4 disappears; the linear term 7x becomes 7. Do not keep an extra x in that last term. A vertical translation changes a curve’s height but not its gradient function.
The n = 0 case is the constant rule. Write its derivative as 0 directly, rather than leaving a misleading expression 0x⁻¹ at x = 0.
03 / Rewrite before differentiating
Use index laws to turn roots and denominators into powers:
1/x³ = x⁻³
√x = x1/2
1/√x = x−1/2
x²/√x = x3/2, for x > 0
g(x) = (2x³ − 3x + 4)/x²
= 2x − 3x⁻¹ + 4x⁻²
Divide every numerator term by x²; x ≠ 0.
g′(x) = 2 + 3x⁻² − 8x⁻³
Apply the power rule separately.
g′(x) = 2 + 3/x² − 8/x³
Either index or fraction notation is acceptable; the restriction remains.
Do not differentiate the numerator and denominator separately and divide their derivatives. That is not a differentiation rule.
04 / Expand a product
For h(x) = (x² − 2)(x + 3), expand first:
h(x) = x³ + 3x² − 2x − 6
h′(x) = 3x² + 6x − 2
Multiplying the two individual derivatives would give 2x, which is wrong. Expanding turns this example into a sum you already know how to differentiate.
If 2y² = 9x³ with x > 0 and y > 0, use the positive square root:
y = (3/√2)x3/2
dy/dx = [9/(2√2)]√x
The branch condition y > 0 matters. The negative branch would have the opposite derivative.
05 / Powers and real domains
For 1/x², both the function and its derivative exclude x = 0. For √x, the function exists at zero but its ordinary finite derivative there does not. For real cube-root powers, negative inputs can be allowed: x2/3 means (∛x)², with derivative (2/3)x−1/3 for x ≠ 0.
For a general real exponent, using x > 0 avoids ambiguity. Integer powers extend naturally to negative x, and some rational powers do too. Check the original expression and the point in question.
The expression (x² − 1)/(x − 1) equals x + 1 only when x ≠ 1. Its derivative is 1 on that domain, but the original function still has no value or derivative at x = 1.
06 / Use a specified gradient
For f(x) = x³ − 3x + 2, find points where the gradient is 9.
f′(x) = 3x² − 3
3x² − 3 = 9 ⇒ x = ±2
f(2) = 4, f(−2) = 0
The points are (2,4) and (−2,0). Both roots are needed. If instead a question specifies where a curve meets a line, first solve their intersection equation; then evaluate the derivative at each intersection.
The curve y = x² + x − 2 meets y = 2x at x² − x − 2 = 0, so x = −1 or 2. Its derivative 2x + 1 gives gradients −1 and 5 at (−1,−2) and (2,4).
07 / Unknown coefficients
A quadratic f(x) = ax² + bx + c has a stationary point at (2,−1) and passes through (−1,8). Use both coordinates of the stationary point:
f′(2) = 0 ⇒ 4a + b = 0
f(2) = −1 ⇒ 4a + 2b + c = −1
f(−1) = 8 ⇒ a − b + c = 8
From b = −4a and c = 4a − 1, the third equation gives 9a − 1 = 8. Hence a = 1, b = −4, c = 3.
Let g(x) = 8/(p√x) + 2x for x > 0 and p ≠ 0. Then g′(x) = −(4/p)x−3/2 + 2. If g′(4) = 1, then 2 − 1/(2p) = 1, giving p = 1/2. Treat p as constant when differentiating with respect to x.
08 / Second derivatives
f″(x) = d/dx [f′(x)] = d²y/dx²
f(x) = 3x⁴ − 5x² + 7x − 4
f′(x) = 12x³ − 10x + 7
f″(x) = 36x² − 10
The second derivative measures how the first derivative changes. It is not the square of dy/dx, and d²y/dx² is not a fraction to cancel mechanically.
g(x) = 4√x + 3/√x, x > 0
g′(x) = 2x−1/2 − (3/2)x−3/2
g″(x) = −x−3/2 + (9/4)x−5/2
Keep index form until you have finished both differentiations.
09 / A binomial approximation
The finite binomial expansion of (1 + 2x)⁶ begins 1 + 12x + 60x², followed by terms in x³ and higher. Differentiating the full polynomial gives:
f′(x) = 12 + 120x + terms in x² and higher
For sufficiently small |x|: f′(x) ≈ 12 + 120x
To obtain the derivative through its linear term, retain the original expansion through x². This reasoning works because the omitted terms here are known polynomial powers. An arbitrary numerical approximation cannot automatically be differentiated with the same error guarantee.
10 / Your turn
Keep any restrictions inherited from the original function.
Differentiate 2x⁵ − 3x³ + 4x − 9.
The constant disappears.
10x⁴ − 9x² + 4.
Differentiate 6√x − 2/x² for x > 0.
Use powers 1/2 and −2.
3x−1/2 + 4x⁻³ = 3/√x + 4/x³.
Differentiate (x − 2)(x² + 1).
Expand to x³ − 2x² + x − 2.
3x² − 4x + 1.
Differentiate (3x² + 2x − 5)/x, x ≠ 0.
Rewrite as 3x + 2 − 5x⁻¹.
3 + 5/x², x ≠ 0.
Find the points on y = x² − 4x + 1 where the gradient is −2.
Solve 2x − 4 = −2, then use the original curve.
x = 1, y = −2
The point is (1,−2).
Find f′ and f″ for f(x) = x⁴ + 2/x, x ≠ 0.
The reciprocal is 2x⁻¹.
f′(x) = 4x³ − 2x⁻²
f″(x) = 12x² + 4x⁻³.
If f(x) = px³ + x² and f″(1) = 14, find p.
f″(x) = 6px + 2.
6p + 2 = 14 ⇒ p = 2.
If y² = 4x³, x > 0 and y < 0, find dy/dx.
Take the negative square root first.
y = −2x3/2
dy/dx = −3√x.
Use the first three binomial terms of (1 − x)⁵ to approximate its derivative through the linear term.
The expansion starts 1 − 5x + 10x².
f′(x) ≈ −5 + 20x for small |x|.
The omitted derivative terms start at x²; this is not an exact linear derivative.
Why can’t the derivative of (x² − 4)/(x − 2) be quoted at x = 2?
Check the original denominator.
The original function is undefined at 2. It equals x + 2 and has derivative 1 only where x ≠ 2.
11 / Recap
Section 1 of 11 · The power rule