5.9 Differentiation rules and related rates

5.9 Differentiation rules and related rates

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Know the derivatives of xnx^n (n∈Qn\in\mathbb{Q}), sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, exe^x and ln⁡x\ln x, with angles in radians.
  • Chain rule: dydx=dydu×dudx\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}.
  • Product rule: ddx(uv)=udvdx+vdudx\dfrac{d}{dx}(uv)=u\dfrac{dv}{dx}+v\dfrac{du}{dx}.
  • Quotient rule: ddx(uv)=vu′−uv′v2\dfrac{d}{dx}\left(\dfrac uv\right)=\dfrac{vu'-uv'}{v^2}.
  • For related rates, link the rates with the chain rule, differentiate first, then substitute.

Standard derivatives

Know the derivatives of powers, trigonometric, exponential and logarithmic functions, with angles in radians.

Here nn can be any fraction or negative power. Rewrite roots and fractions as powers first: 3x=3x−1/2\dfrac{3}{\sqrt x}=3x^{-1/2} has derivative −32x−3/2-\tfrac32x^{-3/2}.

Put your GDC in radian mode when evaluating trigonometric derivatives.

f(x)f(x)

Power:
xnx^n
Sine:
sin⁡x\sin x
Cosine:
cos⁡x\cos x
Tangent:
tan⁡x\tan x
Exponential:
exe^x
Logarithm:
ln⁡x\ln x

f′(x)f'(x)

Power:
nxn−1nx^{n-1}
Sine:
cos⁡x\cos x
Cosine:
−sin⁡x-\sin x
Tangent:
1cos⁡2x\dfrac1{\cos^2x}
Exponential:
exe^x
Logarithm:
1x\dfrac1x

What is the derivative of 3x\dfrac{3}{\sqrt x}?

The chain rule

Differentiate the outer function, then multiply by the derivative of the inner function.

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

  • y=sin⁡(2x+5)⇒2cos⁡(2x+5)y=\sin(2x+5)\Rightarrow2\cos(2x+5)
  • y=e−0.5t⇒−0.5e−0.5ty=e^{-0.5t}\Rightarrow-0.5e^{-0.5t}
  • y=ln⁡(3x+2)⇒33x+2y=\ln(3x+2)\Rightarrow\dfrac{3}{3x+2}
  • y=(x2+1)1/2⇒xx2+1y=(x^2+1)^{1/2}\Rightarrow\dfrac{x}{\sqrt{x^2+1}}
  • dydx\dfrac{dy}{dx}dydu×dudx\dfrac{dy}{du}\times\dfrac{du}{dx}

Worked example

Differentiate y=(3x2+1)4y=(3x^2+1)^4.

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

Product and quotient rules

For uvuv use uv′+vu′uv'+vu'; for uv\dfrac uv use vu′−uv′v2\dfrac{vu'-uv'}{v^2}, in that order.

The product rule applies to y=uvy=uv, the quotient rule to y=uvy=\dfrac uv. For y=x2sin⁡xy=x^2\sin x, dydx=x2cos⁡x+2xsin⁡x\dfrac{dy}{dx}=x^2\cos x+2x\sin x.

Factorise the result to make dydx=0\dfrac{dy}{dx}=0 easy to solve: y=t e−0.5ty=\sqrt t\,e^{-0.5t} gives e−0.5t(1−t)2t\dfrac{e^{-0.5t}(1-t)}{2\sqrt t}. In the quotient rule the order matters: vu′−uv′vu'-uv'.

  • Product ruleddx(uv)=udvdx+vdudx\dfrac{d}{dx}(uv)=u\dfrac{dv}{dx}+v\dfrac{du}{dx}
  • Quotient ruleddx(uv)=vu′−uv′v2\dfrac{d}{dx}\left(\dfrac uv\right)=\dfrac{vu'-uv'}{v^2}

Worked example

Differentiate y=xe2xy=xe^{2x}.

Worked example

Differentiate y=xx+1y=\dfrac{x}{x+1}.

What is the derivative of x2ln⁡xx^2\ln x?

Stationary points and optimisation

Solve dydx=0\dfrac{dy}{dx}=0 using the rules, justify the type, then evaluate the model.

A stationary point occurs where dydx=0\dfrac{dy}{dx}=0. Tell a maximum from a minimum by the sign of the gradient either side, or the sign of the second derivative.

For optimisation: write the quantity in one variable, differentiate, solve f′(x)=0f'(x)=0, justify maximum or minimum, and answer in context with units. For c(t)=4te−t/2c(t)=4te^{-t/2}, c′(t)=(4−2t)e−t/2c'(t)=(4-2t)e^{-t/2}, which is zero at t=2t=2.

123456789100.511.522.533.54xy(2, 2.94)c(t) = 4te^(−t/2)
c(t) = 4te^(−t/2) is greatest at t = 2, where c ≈ 2.94

A rectangle has perimeter 20 m. What width gives the greatest area?

Try an exam question

The curve CC has equation y=xe−2xy=xe^{-2x}. (a) Find dydx\dfrac{dy}{dx}. (b) Find the xx-coordinate of the stationary point of CC.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find dhdt\dfrac{dh}{dt}.

1 mark, marked against the mark scheme

Revision notes