5.3 Differentiating polynomials

5.3 Differentiating polynomials

IB Maths: Analysis and Approaches HL: 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\dfrac{a}{x^{n}} as ax−nax^{-n} first; the power goes more negative.
  • Expand products and split quotients before differentiating.
  • Gradient at a point is f′(a)f'(a). To find points with a given gradient, solve f′(x)=mf'(x)=m, then use f(x)f(x) for yy.
−3−2−1123−10−5510xyf(x) = x³f′(x) = 3x²
f (solid) and f′ (dashed): f′ gives the gradient of f.

The power rule

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

For any integer nn and constant aa, if f(x)=axnf(x)=ax^{n} then 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→09\to0, because a horizontal line has gradient zero.
  • f(x)=axnf(x)=ax^{n}f′(x)=anxn−1f'(x)=anx^{n-1}
−3−2−1123−10−5510xygradient 3 at x = 1f(x) = x³f′(x) = 3x²
At x = 1, the gradient of x³ is 3, the value of f′(1).

What is the derivative of 6x56x^{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. For example f(x)=4x3−5x2+7f(x)=4x^{3}-5x^{2}+7 gives f′(x)=12x2−10xf'(x)=12x^{2}-10x. The constant 7 disappears.

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

−1−0.50.511.52−551015202530xy(0, 0)f′ = 0f(x)f′(x)
f(x) = 4x³ − 5x² + 7 and its gradient function f′(x) = 12x² − 10x. Where f turns, f′ is zero.
  • 4x3−5x2+74x^{3}-5x^{2}+712x2−10x12x^{2}-10x
  • 3x2−7x+23x^{2}-7x+26x−76x-7

Worked example

For f(x)=2x4−3x2+5x−1f(x)=2x^{4}-3x^{2}+5x-1, find f′(−1)f'(-1).

Differentiate 3x2−7x+23x^{2}-7x+2.

Negative powers

Rewrite the fraction as a power of xx, then use the power rule. The power gets more negative.

The rule works for any negative power. Write 8x2=8x−2\dfrac{8}{x^{2}}=8x^{-2}, so the derivative is 8(−2)x−3=−16x38(-2)x^{-3}=-\dfrac{16}{x^{3}}.

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

Example: g(x)=8x2−3xg(x)=\dfrac{8}{x^{2}}-3x gives g′(x)=−16x3−3g'(x)=-\dfrac{16}{x^{3}}-3.

11.522.533.54−15−10−55xy(1, 8)(1, −16)y = 8x⁻²dy/dx = −16x⁻³
y = 8/x² and its derivative −16/x³. The gradient is negative and flattens towards zero as x grows.
  • 1xn\dfrac{1}{x^{n}}x−nx^{-n}
  • x−2x^{-2}−2x−3-2x^{-3}

Worked example

Differentiate y=4x3+xy=\dfrac{4}{x^{3}}+x.

Differentiate y=5xy=\dfrac{5}{x}.

Expand before differentiating

Only sums of axnax^{n} terms can be differentiated directly, so expand brackets and split fractions 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\dfrac{\mathrm{d}y}{\mathrm{d}x}=6x^{2}+2x-6.
  • Quotient by a single term: x3+4xx2=x+4x−1\dfrac{x^{3}+4x}{x^{2}}=x+4x^{-1}, so dydx=1−4x−2\dfrac{\mathrm{d}y}{\mathrm{d}x}=1-4x^{-2}.

You must expand first each time.

  1. 1

    Expand brackets

    or split the fraction

  2. 2

    Write as powers

    including negative powers

  3. 3

    Differentiate

    term by term

Differentiating a product or quotient.

Find dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} for y=(x+2)(x−5)y=(x+2)(x-5).

Using the derivative

f′(a)f'(a) is the gradient of the curve at x=ax=a. To find where the gradient has a given value, solve f′(x)=mf'(x)=m.

  • Gradient at a point: substitute its xx-coordinate into f′(x)f'(x).
  • Where the gradient is mm: solve f′(x)=mf'(x)=m, then substitute each xx into the original f(x)f(x) for the yy-coordinate.

In economics, if T(x)T(x) is total cost, T′(x)T'(x) is the marginal cost, the approximate cost of making one more item.

−2−1.5−1−0.50.511.522.533.5−6−4−224681012xy(3, 2)(-1, -2)y = x³ − 3x² + 2
y = x³ − 3x² + 2 has gradient 9 at the two marked points.

Worked example

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

Total cost is T(x)=0.1x2+20x+500T(x)=0.1x^{2}+20x+500. What is the marginal cost when x=50x=50?

Try an exam question

The curve CC has equation y=x3−3x2+2y=x^{3}-3x^{2}+2. Find the coordinates of the points on CC where the gradient is 9.

[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