5.3 Differentiating polynomials

5.3 Differentiating polynomials

IB Maths: Analysis and Approaches SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Power rule: axn→anxn−1ax^{n}\to anx^{n-1} for any integer nn. Constants differentiate to 0.
  • Differentiate term by term.
  • Rewrite axn\frac{a}{x^{n}} as ax−nax^{-n} first; the power goes more negative.
  • Expand products and split quotients before differentiating.
  • Gradient at a point: f′(a)f'(a). For a given gradient solve f′(x)=mf'(x)=m, then use f(x)f(x) for yy.

The power rule

Multiply by the power, then reduce the power by one.

For f(x)=axnf(x)=ax^{n}, f′(x)=anxn−1f'(x)=anx^{n-1}.

  • 5x4→20x35x^{4}\to20x^{3}
  • 7x→77x\to7, since x0=1x^{0}=1
  • A constant such as 9 gives 0: a horizontal line has gradient zero.

This is the power rule.

  • axnax^{n}anxn−1anx^{n-1}
−2−1.5−1−0.50.511.52−4−22468xy(0, 0)y = x³y = 3x²
The derivative of x³ (solid) is 3x² (dashed): where x³ is steepest, 3x² is largest.

What is f′(x)f'(x) when f(x)=6x5f(x)=6x^{5}?

Term by term

The derivative of a sum is the sum of the derivatives, and a constant multiple stays in front.

Differentiate a polynomial term by term: 4x3−5x2+7→12x2−10x4x^{3}-5x^{2}+7\to12x^{2}-10x.

The constant 7 disappears. Then substitute a value of xx to find the gradient at that point.

  • f(x)+g(x)f(x)+g(x)f′(x)+g′(x)f'(x)+g'(x)
  • Constant term0

Worked example

Given f(x)=2x3−4x2+x−9f(x)=2x^{3}-4x^{2}+x-9, find f′(2)f'(2).

What is f′(x)f'(x) for f(x)=x3+4x−5f(x)=x^{3}+4x-5?

Negative powers

Rewrite the fraction as a power of xx, then use the power rule. A negative power goes more negative.

8x2=8x−2\frac{8}{x^{2}}=8x^{-2}, so the derivative is 8(−2)x−3=−16x38(-2)x^{-3}=-\frac{16}{x^{3}}.

Reducing a negative power by one makes it more negative: −2→−3-2\to-3, not −1-1.

For g(x)=8x2−3xg(x)=\frac{8}{x^{2}}-3x, g′(x)=−16x3−3g'(x)=-\frac{16}{x^{3}}-3.

  • axn\dfrac{a}{x^{n}}ax−nax^{-n}
  • x−2x^{-2}−2x−3-2x^{-3}

What is the derivative of 5x3\frac{5}{x^{3}}?

Products and quotients

You can only differentiate sums of axnax^{n} terms, so expand brackets or split the fraction first.

Expand first.

  • Product: (x2−3)(2x+1)=2x3+x2−6x−3(x^{2}-3)(2x+1)=2x^{3}+x^{2}-6x-3, so dydx=6x2+2x−6\frac{\mathrm{d}y}{\mathrm{d}x}=6x^{2}+2x-6.
  • Quotient by a single term: x3+4xx2=x+4x−1\frac{x^{3}+4x}{x^{2}}=x+4x^{-1}, so dydx=1−4x−2\frac{\mathrm{d}y}{\mathrm{d}x}=1-4x^{-2}.

Rewrite first

(2x−1)(x+4)(2x-1)(x+4):
2x2+7x−42x^{2}+7x-4
x3+4xx2\dfrac{x^{3}+4x}{x^{2}}:
x+4x−1x+4x^{-1}

Then differentiate

(2x−1)(x+4)(2x-1)(x+4):
4x+74x+7
x3+4xx2\dfrac{x^{3}+4x}{x^{2}}:
1−4x−21-4x^{-2}

Differentiate y=(2x−1)(x+4)y=(2x-1)(x+4).

Using the derivative

f′(a)f'(a) is the gradient of the curve at x=ax=a and the rate of change of ff there.

To find the gradient at a point, substitute its xx-coordinate into f′(x)f'(x).

To find where the gradient is mm, solve f′(x)=mf'(x)=m, then substitute each xx into f(x)f(x), not f′(x)f'(x), for the yy-coordinate.

If T(x)T(x) is total cost, T′(x)T'(x) is the marginal cost, the approximate cost of one more item.

  1. 1

    Differentiate

    f′(x)=3x2−3f'(x)=3x^{2}-3

  2. 2

    Solve f′(x)=mf'(x)=m

    3x2−3=93x^{2}-3=9, so x=±2x=\pm2

  3. 3

    Use f(x)f(x) for yy

    f(2)=2f(2)=2, f(−2)=−2f(-2)=-2

Finding points with a given gradient

Worked example

Find the points on y=x3−3xy=x^{3}-3x where the gradient is 9.

The gradient of y=x2+5xy=x^{2}+5x at x=1x=1 is

Try an exam question

f(x)=2x3−3x+5f(x)=2x^{3}-\dfrac{3}{x}+5. Find f′(x)f'(x) and the gradient of the curve at x=1x=1.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find f′(x)f'(x).

1 mark, marked against the mark scheme

Revision notes