Product, quotient and chain rules

Product, quotient and chain rules

Spec 7.4 · Edexcel A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Chain rule: dydx=dydu×dudx\dfrac{dy}{dx}=\dfrac{dy}{du}\times\dfrac{du}{dx}.
  • Product rule: ddx(uv)=u v′+v u′\dfrac{d}{dx}(uv)=u\,v'+v\,u'.
  • Quotient rule: ddx(uv)=v u′−u v′v2\dfrac{d}{dx}\left(\dfrac uv\right)=\dfrac{v\,u'-u\,v'}{v^{2}}.
  • sec⁡x→sec⁡xtan⁡x\sec x\to\sec x\tan x; cosec⁡x→−cosec⁡xcot⁡x\operatorname{cosec}x\to-\operatorname{cosec}x\cot x; cot⁡x→−cosec⁡2x\cot x\to-\operatorname{cosec}^{2}x.
  • For linked rates, chain the rates: dVdt=dVdr×drdt\dfrac{dV}{dt}=\dfrac{dV}{dr}\times\dfrac{dr}{dt}, and dydx=1dx/dy\dfrac{dy}{dx}=\dfrac{1}{dx/dy}.

The chain rule

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

For y=f(g(x))y=f(g(x)) let u=g(x)u=g(x). The chain rule says dydx=dydu×dudx\frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx}.

Examples: ddxcos⁡2x=−2sin⁡xcos⁡x\frac{d}{dx}\cos^{2}x=-2\sin x\cos x and ddx(2x+1)5=10(2x+1)4\frac{d}{dx}(2x+1)^{5}=10(2x+1)^{4}. Results such as ddxekx=kekx\frac{d}{dx}e^{kx}=ke^{kx} come from this rule.

  1. 1

    Spot the layers

    Name the inner function u and the outer function.

  2. 2

    Differentiate outer

    Keep u inside as it is.

  3. 3

    Differentiate inner

    Find du/dx.

  4. 4

    Multiply

    Outer derivative × inner derivative.

Chain rule routine

Worked example

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

What is ddxsin⁡3x\frac{d}{dx}\sin^{3}x?

The product rule

For y=uvy=uv, dydx=udvdx+vdudx\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}.

Use the product rule when two functions of xx are multiplied. For y=2x4sin⁡xy=2x^{4}\sin x, dydx=2x4cos⁡x+8x3sin⁡x\frac{dy}{dx}=2x^{4}\cos x+8x^{3}\sin x.

For f(x)=x3e2xf(x)=x^{3}e^{2x}, f′(x)=x2e2x(2x+3)f'(x)=x^{2}e^{2x}(2x+3). Since e2xe^{2x} is never 00, the non-zero stationary point is at x=−32x=-\frac32.

−3−2.5−2−1.5−1−0.50.512468xyx = −1.5, minimum(0, 0)f(x) = x³e^(2x)
f(x) = x³e^(2x). Since f′(x) = x²e^(2x)(2x + 3), the non-zero stationary point is at x = −3/2, a minimum.
  • Product ruleu v′+v u′u\,v'+v\,u'

Worked example

Find the stationary point of y=xe−xy=xe^{-x}.

Which is the product rule for y=uvy=uv?

The quotient rule

For y=uvy=\frac uv, dydx=v u′−u v′v2\frac{dy}{dx}=\frac{v\,u'-u\,v'}{v^{2}}.

Use the quotient rule for a fraction of two functions. For y=e3xxy=\frac{e^{3x}}{x}, dydx=e3x(3x−1)x2\frac{dy}{dx}=\frac{e^{3x}(3x-1)}{x^{2}}.

For h(x)=ln⁡xx2h(x)=\frac{\ln x}{x^{2}}, h′(x)=1−2ln⁡xx3h'(x)=\frac{1-2\ln x}{x^{3}}. Sometimes writing uv=uv−1\frac uv=uv^{-1} and using the product and chain rules is quicker.

0.511.522.533.544.555.56−3−2.5−2−1.5−1−0.50.5xymaximum (1.65, 0.18)(1, 0)h(x) = ln x / x²
h(x) = ln x ÷ x². Since h′(x) = (1 − 2 ln x)/x³ is zero at x = √e ≈ 1.65, this is the maximum point.
  • Quotient rulev u′−u v′v2\dfrac{v\,u'-u\,v'}{v^{2}}

Worked example

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

In the quotient rule, which term comes first on the top line?

Sec, cosec and cot

sec⁡x\sec x differentiates to sec⁡xtan⁡x\sec x\tan x; cosec⁡x\operatorname{cosec}x and cot⁡x\cot x each carry a minus sign.

These come from the quotient or chain rule, writing sec⁡x=1cos⁡x\sec x=\frac{1}{\cos x} and so on. The derivatives of the ‘co’ functions each carry a minus sign.

Example: y=cos⁡x1+sin⁡xy=\frac{\cos x}{1+\sin x} gives dydx=−sin⁡x(1+sin⁡x)−cos⁡2x(1+sin⁡x)2=−11+sin⁡x\frac{dy}{dx}=\frac{-\sin x(1+\sin x)-\cos^{2}x}{(1+\sin x)^{2}}=-\frac{1}{1+\sin x}, using sin⁡2x+cos⁡2x=1\sin^{2}x+\cos^{2}x=1.

−0.50.511.522.53−4−3−2−1123xy(0, 1)gradient −1ydy/dx
y = cos x/(1 + sin x) (solid) and its derivative dy/dx = −1/(1 + sin x) (dashed). At x = 0, y = 1 and the gradient is −1.

Function

  • sec⁡x\sec x
  • cosec⁡x\operatorname{cosec}x
  • cot⁡x\cot x

Derivative

  • sec⁡xtan⁡x\sec x\tan x
  • −cosec⁡xcot⁡x-\operatorname{cosec}x\cot x
  • −cosec⁡2x-\operatorname{cosec}^{2}x

Which of sec⁡x\sec x, cosec⁡x\operatorname{cosec}x, cot⁡x\cot x have a derivative with a minus sign?

Connected rates of change

Use the chain rule to connect the rates, for example dVdt=dVdr×drdt\frac{dV}{dt}=\frac{dV}{dr}\times\frac{dr}{dt}.

For connected rates, write the rate you want, the rate you are given, and the link before substituting.

A sphere's volume V=43πr3V=\frac43\pi r^{3} grows at 200200 cm3^3 s−1^{-1}. Then drdt=2004πr2=2π\frac{dr}{dt}=\frac{200}{4\pi r^{2}}=\frac2\pi cm s−1^{-1} when r=5r=5. For inverse functions, dydx=1dx/dy\frac{dy}{dx}=\frac{1}{dx/dy}: from x=y3+yx=y^{3}+y, dydx=13y2+1\frac{dy}{dx}=\frac{1}{3y^{2}+1}.

12345678910246810121416xyr = 5: 2/π ≈ 0.64dr/dt (cm/s)
dr/dt = 200 ÷ (4πr²) for a sphere growing at 200 cm³ s⁻¹: the radius grows more slowly as r gets larger.
  • Connected ratesdrdt=drdV×dVdt\dfrac{dr}{dt}=\dfrac{dr}{dV}\times\dfrac{dV}{dt}
  • Inversedydx=1dx/dy\dfrac{dy}{dx}=\dfrac{1}{dx/dy}

Worked example

A circle's area AA grows at 1212 cm2^2 s−1^{-1}. Find drdt\frac{dr}{dt} when r=3r=3.

Which chain rule links drdt\frac{dr}{dt} to dVdt\frac{dV}{dt}?

Try an exam question

Given y=x2e3xy=x^{2}e^{3x}, find dydx\frac{dy}{dx} and the xx-coordinates of the stationary points.

[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