Skip to main content
Examonaut

Topic 7 · Lesson 4 of 6

Product, chain and quotient rules

The product ruleA level only

To differentiate a product y=uvy = uv, where uu and vv are both functions of xx, picture a rectangle with sides uu and vv, as below. If xx increases slightly, uu grows by δu\delta u and vv by δv\delta v, and the area grows by u δv+v δu+δu δvu\,\delta v + v\,\delta u + \delta u\,\delta v. Divide by δx\delta x and let it shrink: the corner piece δu δvδx\frac{\delta u\,\delta v}{\delta x} vanishes, leaving

uvu δvv δuδuδvuδuvδvnew area − old area = u δv + v δu + δu δv
ddx(uv)=udvdx+vdudx\frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx}

For example, y=x2e3xy = x^2e^{3x}: with u=x2u = x^2 and v=e3xv = e^{3x}, dydx=x2(3e3x)+e3x(2x)=xe3x(3x+2)\frac{dy}{dx} = x^2(3e^{3x}) + e^{3x}(2x) = xe^{3x}(3x + 2). Factorising the answer makes it easy to find where it equals zero.

The chain ruleA level only

A composite function is a function of a function, such as y=(3x2−1)5y = (3x^2 - 1)^5: an "inner" function u=3x2−1u = 3x^2 - 1 inside an "outer" one y=u5y = u^5. Rates multiply, like gears: if yy changes 5 times as fast as uu, and uu changes 3 times as fast as xx, then yy changes 15 times as fast as xx. So

dydx=dydu×dudx\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}

In practice: differentiate the outside (leaving the inside alone), then multiply by the derivative of the inside.

  • y=(3x2−1)5y = (3x^2 - 1)^5: dydx=5(3x2−1)4×6x=30x(3x2−1)4\frac{dy}{dx} = 5(3x^2 - 1)^4 \times 6x = 30x(3x^2 - 1)^4.
  • y=esin⁡xy = e^{\sin x}: dydx=esin⁡xcos⁡x\frac{dy}{dx} = e^{\sin x}\cos x.
  • y=ln⁡(x2+1)y = \ln(x^2 + 1): dydx=1x2+1×2x=2xx2+1\frac{dy}{dx} = \frac{1}{x^2 + 1} \times 2x = \frac{2x}{x^2 + 1}. In general, ddxln⁡f(x)=f′(x)f(x)\frac{d}{dx}\ln f(x) = \frac{f'(x)}{f(x)}.

The quotient ruleA level only

For y=uvy = \frac{u}{v}, write it as uv−1uv^{-1} and use the product and chain rules: dydx=u(−v−2)dvdx+v−1dudx\frac{dy}{dx} = u(-v^{-2})\frac{dv}{dx} + v^{-1}\frac{du}{dx}. Over a common denominator:

ddx(uv)=vdudx−udvdxv2\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}

The quotient rule is in the formula booklet; the order on top matters because of the minus sign. It proves the derivative of tan⁡x\tan x: with u=sin⁡xu = \sin x, v=cos⁡xv = \cos x, ddxtan⁡x=cos⁡xcos⁡x−sin⁡x(−sin⁡x)cos⁡2x=1cos⁡2x=sec⁡2x\frac{d}{dx}\tan x = \frac{\cos x\cos x - \sin x(-\sin x)}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x.

Worked example

Chain, product and quotientexam standard

a) Differentiate y=2xx2+1y = \frac{2x}{x^2 + 1} and find the coordinates of its stationary points. b) Find dydx\frac{dy}{dx} for y=x3sin⁡2xy = x^3\sin 2x.

Show solution
  1. a) Quotient rule with u=2xu = 2x, v=x2+1v = x^2 + 1: dydx=(x2+1)(2)−2x(2x)(x2+1)2=2−2x2(x2+1)2\frac{dy}{dx} = \frac{(x^2 + 1)(2) - 2x(2x)}{(x^2 + 1)^2} = \frac{2 - 2x^2}{(x^2 + 1)^2}.
  2. A fraction is zero only when its top is zero: 2−2x2=02 - 2x^2 = 0, so x=±1x = \pm 1. Stationary points: (1,1)(1, 1) and (−1,−1)(-1, -1).
  3. b) Product rule with u=x3u = x^3, v=sin⁡2xv = \sin 2x (chain rule gives dvdx=2cos⁡2x\frac{dv}{dx} = 2\cos 2x): dydx=2x3cos⁡2x+3x2sin⁡2x\frac{dy}{dx} = 2x^3\cos 2x + 3x^2\sin 2x.

Practise this topic

Both are part of Premium.