Lesson 5 of 8 · 14 min

Differentiating polynomials

Use the sum and constant multiple properties of the derivative to differentiate any polynomial term by term, expanding products and powers first.

What you will be able to do

  • Recognise and use ddx(f(x)+g(x))=ddxf(x)+ddxg(x)\frac{d}{dx}\left(f(x) + g(x)\right) = \frac{d}{dx}f(x) + \frac{d}{dx}g(x).
  • Differentiate a polynomial term by term.
  • Expand products and powers before differentiating, and differentiate with respect to variables other than x.

Two taps fill a tank. One adds 8 litres per minute and the other adds 5 litres per minute, so together the volume rises at 13 litres per minute. Rates of change add, and derivatives behave the same way.

Key idea

The sum and difference property

ddx(f(x)+g(x))=ddxf(x)+ddxg(x)\frac{d}{dx}\left(f(x) + g(x)\right) = \frac{d}{dx}f(x) + \frac{d}{dx}g(x)

and likewise ddx(f(x)−g(x))=f′(x)−g′(x)\frac{d}{dx}\left(f(x) - g(x)\right) = f'(x) - g'(x). With the constant multiple rule, ddx(kf(x))=kf′(x)\frac{d}{dx}\left(kf(x)\right) = kf'(x), this means you can differentiate a polynomial one term at a time.

At x=1x = 1, y=x2y = x^2 has gradient 2 and y=2xy = 2x has gradient 2, so their sum y=x2+2xy = x^2 + 2x has gradient 2+2=42 + 2 = 4 there.

Worked example

Differentiate f(x)=x42−3x3+6x−1f(x) = \frac{x^4}{2} - 3x^3 + 6x - 1

  • Simple familiar
  • Technology free

Find f′(x)f'(x) for f(x)=x42−3x3+6x−1f(x) = \frac{x^4}{2} - 3x^3 + 6x - 1.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Differentiate each term with the power rule, keeping its coefficient and sign.

  2. Constant terms differentiate to 0.

  3. Collect the results.

Watch out for

  • Losing the 12\frac{1}{2}: ddx(x42)=2x3\frac{d}{dx}\left(\frac{x^4}{2}\right) = 2x^3, not 4x34x^3.

  • Leaving the constant −1-1 in the answer.

Find dydx\frac{dy}{dx} for y=x4−6x2+3x−8y = x^4 - 6x^2 + 3x - 8.

fracdydx =
Reads asYour answer shows here as maths.
Why the sum property holds

Let s(x)=f(x)+g(x)s(x) = f(x) + g(x). Then

s(x+h)−s(x)h=f(x+h)−f(x)h+g(x+h)−g(x)h.\frac{s(x + h) - s(x)}{h} = \frac{f(x + h) - f(x)}{h} + \frac{g(x + h) - g(x)}{h}.

As h→0h \to 0, the first fraction approaches f′(x)f'(x) and the second approaches g′(x)g'(x), so s′(x)=f′(x)+g′(x)s'(x) = f'(x) + g'(x).

There is no such shortcut for products. The derivative of a product is not the product of the derivatives. You will learn a product rule in a later topic; for now, expand first, then differentiate term by term.

Worked example

Expand first, then differentiate

  • Complex familiar
  • Technology free

Find dydx\frac{dy}{dx} for

(a) y=(2x−1)(x2+3)y = (2x - 1)(x^2 + 3)

(b) y=(x+2)3y = (x + 2)^3

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Expand products and powers of brackets.

  2. Collect like terms.

  3. Differentiate term by term.

Watch out for

  • Multiplying the derivatives of the factors in (a): 2×2x=4x2 \times 2x = 4x is wrong.

  • Expanding (x+2)3(x + 2)^3 as x3+8x^3 + 8.

Differentiate f(x)=x(x−4)2f(x) = x(x - 4)^2.

f'(x) =
Reads asYour answer shows here as maths.

Common mistake

Differentiating a product factor by factor

ddx[(x+1)(x−2)]\frac{d}{dx}\left[(x + 1)(x - 2)\right] is not 1×1=11 \times 1 = 1. Expand first: (x+1)(x−2)=x2−x−2(x + 1)(x - 2) = x^2 - x - 2, so the derivative is 2x−12x - 1. The same goes for powers of brackets: expand (x+2)3(x + 2)^3 before differentiating.

The letters don't matter. If A=πr2A = \pi r^2 then dAdr=2πr\frac{dA}{dr} = 2\pi r, read "the derivative of AA with respect to rr" (π\pi is just a constant). If h(t)=20t−5t2h(t) = 20t - 5t^2 then h′(t)=20−10th'(t) = 20 - 10t. Differentiate with respect to the variable the question names.

The volume of a sphere of radius rr is V=43πr3V = \frac{4}{3}\pi r^3. Find dVdr\frac{dV}{dr}.

fracdVdr =
Reads asYour answer shows here as maths.

Exam tip

The algebra is where marks go

Most marks lost on these questions come from the algebra, not the calculus. Expand carefully, collect like terms, then differentiate. In Paper 2 you can check a derivative: compare your value of f′(1)f'(1) with the graphics calculator's derivative at x=1x = 1.

Summary

  • ddx(f(x)±g(x))=f′(x)±g′(x)\frac{d}{dx}\left(f(x) \pm g(x)\right) = f'(x) \pm g'(x): differentiate term by term.

  • With the power rule and the constant multiple rule, this differentiates any polynomial.

  • Differentiating a polynomial of degree nn gives a polynomial of degree n−1n - 1.

  • Expand products and powers of brackets first. The derivative of a product is not the product of the derivatives.

  • Differentiate with respect to the variable named: dAdr\frac{dA}{dr}, h′(t)h'(t), dVdt\frac{dV}{dt}.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 5 of 80% read

Save your progress with a free account