5.6 Further differentiation rules

5.6 Further differentiation rules

IB Maths: Analysis and Approaches SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • ddxxn=nxn−1\frac{d}{dx}x^{n}=nx^{n-1} for any rational nn.
  • sin⁡→cos⁡\sin\to\cos, cos⁡→−sin⁡\cos\to-\sin, ex→exe^{x}\to e^{x}, ln⁡x→1x\ln x\to\frac1x (radians).
  • Chain rule: derivative of the outside ×\times derivative of the inside.
  • Product rule uv′+vu′uv'+vu'; quotient rule vu′−uv′v2\dfrac{vu'-uv'}{v^{2}}.
  • Factorise derivatives, and use the numerator to decide the sign of a quotient's derivative.

Standard derivatives

The power rule works for any rational power, and sin⁡x\sin x, cos⁡x\cos x, exe^{x} and ln⁡x\ln x have quoted derivatives. All are in the formula booklet.

Rewrite roots and fractions as powers first: x=x1/2\sqrt{x}=x^{1/2}, 4x2=4x−2\frac{4}{x^{2}}=4x^{-2}.

The other standard derivatives need radians. Differentiate sums term by term:

ddx(3x+4x2−2ln⁡x)=32x−8x3−2x\frac{d}{dx}\left(3\sqrt{x}+\frac{4}{x^{2}}-2\ln x\right)=\frac{3}{2\sqrt{x}}-\frac{8}{x^{3}}-\frac{2}{x}

123456−1.5−1−0.50.511.5xy(π/2, 1)y = sin xy = cos x
The gradient of y = sin x is cos x: where sin x peaks, cos x crosses zero.

f(x)f(x)

Sine:
sin⁡x\sin x
Cosine:
cos⁡x\cos x
Exponential:
exe^{x}
Natural log:
ln⁡x\ln x
Power:
xnx^{n}

f′(x)f'(x)

Sine:
cos⁡x\cos x
Cosine:
−sin⁡x-\sin x
Exponential:
exe^{x}
Natural log:
1x\frac1x
Power:
nxn−1nx^{n-1}

What is the derivative of 4x4\sqrt{x}?

The chain rule

Differentiate the outer function, leaving the inside alone, then multiply by the derivative of the inside.

For a composite function y=f(g(x))y=f(g(x)), let u=g(x)u=g(x). Then dydx=dydu×dudx\frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx}.

  • ddxsin⁡(3x−1)=3cos⁡(3x−1)\frac{d}{dx}\sin(3x-1)=3\cos(3x-1)
  • ddxex2+2=2xex2+2\frac{d}{dx}e^{x^{2}+2}=2xe^{x^{2}+2}
  • ddxln⁡g(x)=g′(x)g(x)\frac{d}{dx}\ln g(x)=\frac{g'(x)}{g(x)}

The chain rule is the key step.

  1. 1

    Name the inside

    u=3x2−1u=3x^{2}-1, so y=u4y=u^{4}

  2. 2

    Differentiate each

    dydu=4u3\frac{dy}{du}=4u^{3}, dudx=6x\frac{du}{dx}=6x

  3. 3

    Multiply and substitute back

    24x(3x2−1)324x(3x^{2}-1)^{3}

Chain rule for (3x2−1)4(3x^2-1)^4

Worked example

Differentiate y=(3x2−1)4y=(3x^{2}-1)^{4}.

What is the derivative of cos⁡(2x)\cos(2x)?

The product rule

For y=uvy=uv, differentiate each factor in turn and add: udvdx+vdudxu\frac{dv}{dx}+v\frac{du}{dx}.

Product rule example: y=20te−0.5ty=20te^{-0.5t} with u=20tu=20t, v=e−0.5tv=e^{-0.5t} gives dydt=20e−0.5t−10te−0.5t=10e−0.5t(2−t)\frac{dy}{dt}=20e^{-0.5t}-10te^{-0.5t}=10e^{-0.5t}(2-t).

Factorise the answer where you can: it makes solving dydx=0\frac{dy}{dx}=0 easier, and an exponential factor is never zero.

12345678910−55101520xy(2, 14.7)dy/dt = 0y = 20te^(−0.5t)dy/dt
y = 20te^(−0.5t) (solid) and its derivative from the product rule (dashed). The derivative is zero at the maximum, t = 2 (x is t here).
  • y=uvy=uvdydx=udvdx+vdudx\dfrac{dy}{dx}=u\dfrac{dv}{dx}+v\dfrac{du}{dx}

Worked example

Differentiate y=x2sin⁡xy=x^{2}\sin x.

What is the derivative of xexxe^{x}?

The quotient rule

Bottom times derivative of top, minus top times derivative of bottom, all over the bottom squared.

If y=uvy=\frac{u}{v}, then dydx=vu′−uv′v2\frac{dy}{dx}=\frac{vu'-uv'}{v^{2}}. The order matters.

For example, ddx(ln⁡xx)=1−ln⁡xx2\frac{d}{dx}\left(\frac{\ln x}{x}\right)=\frac{1-\ln x}{x^{2}}.

The denominator v2v^{2} is never negative, so the sign of the derivative comes from the numerator alone.

12345678−1.5−1−0.50.51xy(e, 1/e)(1, 0)y = ln x / x
y = ln x / x has its maximum where the numerator of the quotient rule, 1 − ln x, is zero: x = e.
  • y=uvy=\dfrac{u}{v}dydx=vu′−uv′v2\dfrac{dy}{dx}=\dfrac{vu'-uv'}{v^{2}}

Worked example

Differentiate y=exxy=\frac{e^{x}}{x}.

In the quotient rule, the numerator is

Rates of change in context

Give the sign, size and units: say what is changing, whether it is increasing or decreasing, how fast and when.

A derivative such as C′(t)C'(t) is a rate of change. Its units are (units of CC) per (unit of tt), for example mg L−1^{-1} per hour.

When asked to interpret, name the quantity, say whether it is increasing or decreasing, how fast, and at what time.

1234567891024681012141618xyC′ = 0 at t = 2C(t)
Illustrative concentration C(t) = 20te^(−0.5t) (x is t). C′ > 0 before t = 2 (increasing) and C′ < 0 after it (decreasing).
  • C′(t)>0C'(t)>0quantity increasing
  • C′(t)<0C'(t)<0quantity decreasing

The concentration of a drug is C(t)C(t) mg L−1^{-1} at tt hours, and C′(3)=−4C'(3)=-4. What does this mean?

Try an exam question

Given f(x)=xe2xf(x)=xe^{2x}, find f′(x)f'(x) and the value of xx for which f′(x)=0f'(x)=0.

[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