5.6 Further differentiation rules

5.6 Further differentiation rules

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • ddxxn=nxn−1\dfrac{\mathrm{d}}{\mathrm{d}x}x^{n}=nx^{n-1} for any rational nn. Rewrite roots and fractions as powers first.
  • sin⁡x→cos⁡x\sin x\to\cos x, cos⁡x→−sin⁡x\cos x\to-\sin x, ex→exe^{x}\to e^{x}, ln⁡x→1x\ln x\to\dfrac{1}{x}, with angles in 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.
−3−2−11234567−1.5−1−0.50.511.5xy(0, 0)(π/2, 1)y = sin xy = cos x (the derivative)
The gradient of sin x at each point is cos x.

Standard derivatives

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

The power rule works for any rational power: xn→nxn−1x^{n}\to nx^{n-1} for n∈Qn\in\mathbb{Q}. Rewrite x=x1/2\sqrt{x}=x^{1/2}, 4x2=4x−2\dfrac{4}{x^{2}}=4x^{-2} and 1x3=x−1/3\dfrac{1}{\sqrt[3]{x}}=x^{-1/3} first.

The standard derivatives are sin⁡x→cos⁡x\sin x\to\cos x, cos⁡x→−sin⁡x\cos x\to-\sin x, ex→exe^{x}\to e^{x} and ln⁡x→1x\ln x\to\dfrac{1}{x}. Differentiate term by term; there is no such rule for products or quotients.

−3−2−1123456−1.5−1−0.50.511.5xy(π/2, 1)(π/2, 0)y = sin xdy/dx = cos x
y = sin x and its derivative cos x. Where sin x peaks, its gradient (cos x) is zero.

Function

  • xnx^{n}
  • sin⁡x\sin x
  • cos⁡x\cos x
  • exe^{x}
  • ln⁡x\ln x

Derivative

  • nxn−1nx^{n-1}
  • cos⁡x\cos x
  • −sin⁡x-\sin x
  • exe^{x}
  • 1x\dfrac{1}{x}

Worked example

Differentiate 3x+4x2−2ln⁡x3\sqrt{x}+\dfrac{4}{x^{2}}-2\ln x.

What is ddx(4x2)\dfrac{\mathrm{d}}{\mathrm{d}x}\left(\dfrac{4}{x^{2}}\right)?

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) (the inner function). Then

dydx=dydu×dudx.\frac{\mathrm{d}y}{\mathrm{d}x}=\frac{\mathrm{d}y}{\mathrm{d}u}\times\frac{\mathrm{d}u}{\mathrm{d}x}.

This is the chain rule. Examples: sin⁡(3x−1)→3cos⁡(3x−1)\sin(3x-1)\to3\cos(3x-1), ex2+2→2xex2+2e^{x^{2}+2}\to2xe^{x^{2}+2}, and ln⁡(g(x))→g′(x)g(x)\ln(g(x))\to\dfrac{g'(x)}{g(x)}.

−1−0.50.511.522.53−4−3−2−11234xyy = sin(3x − 1)dy/dx = 3cos(3x − 1)
y = sin(3x − 1) and its derivative 3cos(3x − 1). The chain rule gives the factor 3 from the inner function.
  • dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}dydu×dudx\dfrac{\mathrm{d}y}{\mathrm{d}u}\times\dfrac{\mathrm{d}u}{\mathrm{d}x}

Worked example

Differentiate y=(2x+1)5y=(2x+1)^{5}.

What is ddxsin⁡(3x−1)\dfrac{\mathrm{d}}{\mathrm{d}x}\sin(3x-1)?

The product rule

For y=uvy=uv, differentiate each factor in turn and add: u v′+v u′u\,v'+v\,u'. Factorise the result.

If y=uvy=uv with uu and vv functions of xx, the product rule gives

dydx=udvdx+vdudx.\frac{\mathrm{d}y}{\mathrm{d}x}=u\frac{\mathrm{d}v}{\mathrm{d}x}+v\frac{\mathrm{d}u}{\mathrm{d}x}.

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

12345678910−10−5510152025xy(2, 14.7)(2, 0)ydy/dt
y = 20te^(−0.5t) and its derivative 20e^(−0.5t) − 10te^(−0.5t). The derivative is zero at the maximum, t = 2.
  • y=uvy=uvdydx=uv′+vu′\dfrac{\mathrm{d}y}{\mathrm{d}x}=uv'+vu'

Worked example

Differentiate y=20te−0.5ty=20te^{-0.5t} with respect to tt.

In y=x2ln⁡xy=x^{2}\ln x with u=x2u=x^{2}, what are vv, u′u' and v′v'?

The quotient rule

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

If y=uvy=\dfrac{u}{v}, the quotient rule gives

dydx=vdudx−udvdxv2.\frac{\mathrm{d}y}{\mathrm{d}x}=\frac{v\frac{\mathrm{d}u}{\mathrm{d}x}-u\frac{\mathrm{d}v}{\mathrm{d}x}}{v^{2}}.

The order in the numerator matters. The denominator v2v^{2} is never negative, so the sign of the derivative is decided by the numerator alone. That is how you find where a quotient increases or decreases.

12345678−2−1.5−1−0.50.51xy(e, 1/e)(e, 0)y = ln x / xdy/dx
y = ln x / x and its derivative (1 − ln x)/x². The derivative is zero at the maximum, x = e.
  • y=uvy=\dfrac{u}{v}dydx=vu′−uv′v2\dfrac{\mathrm{d}y}{\mathrm{d}x}=\dfrac{vu'-uv'}{v^{2}}

Worked example

Differentiate y=ln⁡xxy=\dfrac{\ln x}{x}.

For y=ln⁡xxy=\dfrac{\ln x}{x}, where is the gradient positive?

Rates of change in context

Say what is changing, whether it is increasing or decreasing, how fast, and when. Units are units of the quantity per unit of time.

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.

A positive value means the quantity is increasing at that instant; a negative value means it is decreasing. When asked to interpret, give the quantity, the direction, the size with units, and the time.

1234567891024681012141618xyC′ = 0C′ < 0C(t) (mg/L)
Illustrative: C(t) = 20te^(−0.5t). C′(t) > 0 while C rises (t < 2); C′(t) < 0 while it falls (t > 2).

C′(t)>0C'(t)>0

Sign:
Positive
Meaning:
Increasing at that instant
Units:
units of CC per unit of tt

C′(t)<0C'(t)<0

Sign:
Negative
Meaning:
Decreasing at that instant
Units:
units of CC per unit of tt

C′(3)=−2.4C'(3)=-2.4 for a drug concentration CC in mg L−1^{-1} at tt hours. What does this mean?

Try an exam question

Differentiate y=ln⁡xxy=\dfrac{\ln x}{x} and hence find the range of values of xx for which yy is increasing.

[5 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