Product, quotient and chain rules

Product, quotient and chain rules

Spec G4 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Chain rule: dydx=dydu×dudx\frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx}.
  • Product rule: ddx(uv)=udvdx+vdudx\frac{d}{dx}(uv)=u\frac{dv}{dx}+v\frac{du}{dx}.
  • Quotient rule: ddx(uv)=vu′−uv′v2\frac{d}{dx}\left(\frac uv\right)=\frac{vu'-uv'}{v^2}; the order in the numerator matters.
  • Connected rates: link rates with the chain rule, differentiating before substituting.
  • For a function and its inverse, dydx=1dx/dy\frac{dy}{dx}=\frac{1}{dx/dy}.

The chain rule

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

For y=f(u)y=f(u) with u=g(x)u=g(x), the chain rule applies to a composite function.

In practice: differentiate the outer function, leaving the inner function alone, then multiply by the derivative of the inner function. Chains can have more than two links: y=sin⁡3(2x)y=\sin^3(2x) gives 3sin⁡2(2x)×cos⁡(2x)×23\sin^2(2x)\times\cos(2x)\times2.

−3−2−1123−2246xy(0, 3)y = √(4x² + 9)dy/dx
y = √(4x² + 9) and its derivative 4x/√(4x² + 9) from the chain rule (dashed)
  • Chain ruledydx=dydu×dudx\frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx}

Worked example

Differentiate y=4x2+9y=\sqrt{4x^2+9}.

What is ddx(x2+1)5\frac{d}{dx}\left(x^2+1\right)^5?

The product rule

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

For y=uvy=uv where uu and vv are both functions of xx, use the product rule.

Factorise the result to find stationary points. To classify them, differentiate again, using the product rule a second time.

−2−1.8−1.6−1.4−1.2−1−0.8−0.6−0.4−0.200.20.40.20.40.60.811.2xy(0, 0)(−2/3, 0.060)y = x²e^(3x)
y = x²e^(3x): a minimum at the origin and a maximum at x = −2/3
  • Product ruledydx=udvdx+vdudx\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}

Worked example

Differentiate y=x2e3xy=x^2e^{3x} and find its stationary points.

What is ddx(xsin⁡x)\frac{d}{dx}(x\sin x)?

The quotient rule

For y=uvy=\frac uv, the numerator is v u′−u v′v\,u'-u\,v' and the denominator is v2v^2.

For y=uvy=\frac{u}{v} use the quotient rule. Stationary points need only the numerator to be zero. The order in the numerator matters: it is v u′−u v′v\,u'-u\,v'.

A quotient can often be rewritten as a product uv−1uv^{-1} and handled with the product and chain rules instead, which avoids sign errors.

−5−4−3−2−112345−2−1123xy(0.721, 2.081)(−1.387, −1.081)y = (3x + 1)/(x² + 1)
The two stationary points of y = (3x + 1)/(x² + 1)
  • Quotient ruledydx=vdudx−udvdxv2\frac{dy}{dx}=\dfrac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2}

Worked example

Differentiate y=3x+1x2+1y=\frac{3x+1}{x^2+1} and find where it is stationary.

In the quotient rule for uv\frac{u}{v}, what is the numerator?

Connected rates of change

Use the chain rule so the unwanted quantity cancels: drdt=drdV×dVdt\frac{dr}{dt}=\frac{dr}{dV}\times\frac{dV}{dt}.

Connected rates are rates of change of different quantities linked through a formula, found using the chain rule:

drdt=drdV×dVdt=dVdt÷dVdr.\frac{dr}{dt}=\frac{dr}{dV}\times\frac{dV}{dt}=\frac{dV}{dt}\div\frac{dV}{dr}.

Write down what you are given and what you want, then choose the chain linking them. For the surface area S=4πr2S=4\pi r^2, dSdt=dSdr×drdt\frac{dS}{dt}=\frac{dS}{dr}\times\frac{dr}{dt}.

  1. 1

    List

    what is given, such as dVdt\frac{dV}{dt}, and what is wanted

  2. 2

    Link

    choose the chain so unwanted terms cancel

  3. 3

    Differentiate

    before substituting numbers

  4. 4

    Substitute

    the values and give units

Connected rates: differentiate first, then substitute

Worked example

A balloon with V=43πr3V=\frac43\pi r^3 is inflated at 5050 cm3^3 s−1^{-1}. Find drdt\frac{dr}{dt} and dSdt\frac{dS}{dt} when r=5r=5, where S=4πr2S=4\pi r^2.

Given dVdt\frac{dV}{dt}, which gives drdt\frac{dr}{dt}?

Inverse functions and choosing rules

Look at the outermost operation; if xx is easier to write in terms of yy, use dydx=1dx/dy\frac{dy}{dx}=\frac{1}{dx/dy}.

For a function whose inverse function is also differentiable, dydx=1dxdy\frac{dy}{dx}=\frac{1}{\frac{dx}{dy}}. For example x=y3+yx=y^3+y gives dxdy=3y2+1\frac{dx}{dy}=3y^2+1, so dydx=13y2+1\frac{dy}{dx}=\frac{1}{3y^2+1}. At (2,1)(2,1) the gradient is 14\frac14.

Otherwise, look at the outermost operation. Many questions use two rules: y=x21+xy=x^2\sqrt{1+x} needs the product rule, with the chain rule for the root. Simplify before differentiating when possible.

−10−8−6−4−2246810−2−112xy(2, 1), gradient 1/4
x = y³ + y: at (2, 1) the gradient is 1/4

Product

Rule:
Product rule
Example:
xsin⁡2xx\sin2x

Fraction

Rule:
Quotient rule
Example:
3x+1x2+1\frac{3x+1}{x^2+1}

Function of a function

Rule:
Chain rule
Example:
4x2+9\sqrt{4x^2+9}

Product with a root

Rule:
Product and chain rules
Example:
x21+xx^2\sqrt{1+x}

Which rules does y=x21+xy=x^2\sqrt{1+x} need?

Try an exam question

Differentiate y=e2xx+1y=\dfrac{e^{2x}}{x+1}, giving your answer in its simplest form.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find dydx\frac{dy}{dx}.

1 mark, marked against the mark scheme

Revision notes