A-level Mathematics7.7 The product, quotient and chain rules

All books

7.7 The product, quotient and chain rules — Learn

Prerequisites: the standard derivatives from Section 7.3, including ekxe^{kx}, sin⁡kx\sin kx, cos⁡kx\cos kx and ln⁡x\ln x; multiplying and dividing algebraic fractions.

By the end of this section you can: differentiate a product of two functions; differentiate a quotient of two functions; differentiate a function of a function with the chain rule; and choose the right rule for an expression.

1. The product rule

When a function is a product of two simpler functions, write the first as uu and the second as vv. Then

ddx(uv)=udvdx+vdudx.\frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx}.

Here ddx\frac{d}{dx} means the derivative with respect to xx.

In words: differentiate the first and keep the second, then keep the first and differentiate the second, and add the two results.

Example 1. Differentiate y=x2sin⁡xy = x^2\sin x.

Take u=x2u = x^2 and v=sin⁡xv = \sin x, so dudx=2x\dfrac{du}{dx} = 2x and dvdx=cos⁡x\dfrac{dv}{dx} = \cos x. Then

dydx=x2cos⁡x+(sin⁡x)(2x)=x2cos⁡x+2xsin⁡x.\frac{dy}{dx} = x^2\cos x + (\sin x)(2x) = x^2\cos x + 2x\sin x.

Example 2. Differentiate y=xe3xy = x e^{3x}.

Take u=xu = x and v=e3xv = e^{3x}. Then dudx=1\dfrac{du}{dx} = 1 and dvdx=3e3x\dfrac{dv}{dx} = 3e^{3x}, so

dydx=x(3e3x)+e3x(1)=e3x(3x+1).\frac{dy}{dx} = x(3e^{3x}) + e^{3x}(1) = e^{3x}(3x + 1).

Taking out the common factor e3xe^{3x} tidies the answer.

2. The quotient rule

For a quotient uv\dfrac{u}{v},

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

The order matters in the numerator: the denominator times the derivative of the top, minus the top times the derivative of the bottom.

Example 3. Differentiate y=sin⁡xxy = \dfrac{\sin x}{x}.

Take u=sin⁡xu = \sin x and v=xv = x. Then dudx=cos⁡x\dfrac{du}{dx} = \cos x and dvdx=1\dfrac{dv}{dx} = 1, so

dydx=xcos⁡x−sin⁡x×1x2=xcos⁡x−sin⁡xx2.\frac{dy}{dx} = \frac{x\cos x - \sin x \times 1}{x^2} = \frac{x\cos x - \sin x}{x^2}.

Example 4. Differentiate y=2x+1x−3y = \dfrac{2x + 1}{x - 3}.

Take u=2x+1u = 2x + 1 and v=x−3v = x - 3. Then dudx=2\dfrac{du}{dx} = 2 and dvdx=1\dfrac{dv}{dx} = 1, so

dydx=(x−3)(2)−(2x+1)(1)(x−3)2=2x−6−2x−1(x−3)2=−7(x−3)2.\frac{dy}{dx} = \frac{(x - 3)(2) - (2x + 1)(1)}{(x - 3)^2} = \frac{2x - 6 - 2x - 1}{(x - 3)^2} = \frac{-7}{(x - 3)^2}.

3. The chain rule

When a function is applied to another function, differentiate the outside and multiply by the derivative of the inside:

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

where uu is the inside function.

Example 5. Differentiate y=(3x+1)5y = (3x + 1)^5.

Let u=3x+1u = 3x + 1, so y=u5y = u^5. Then

dydu=5u4,dudx=3,\frac{dy}{du} = 5u^4, \qquad \frac{du}{dx} = 3,

and

dydx=5u4×3=15(3x+1)4.\frac{dy}{dx} = 5u^4 \times 3 = 15(3x + 1)^4.

Example 6. Differentiate y=sin⁡(x2)y = \sin(x^2).

The outside function is sine and the inside function is x2x^2:

dydx=cos⁡(x2)×2x=2xcos⁡(x2).\frac{dy}{dx} = \cos(x^2) \times 2x = 2x\cos(x^2).

Example 7. Differentiate y=ex2y = e^{x^2}.

dydx=ex2×2x=2xex2.\frac{dy}{dx} = e^{x^2} \times 2x = 2xe^{x^2}.

Example 8. Differentiate y=ln⁡(2x+1)y = \ln(2x + 1).

dydx=12x+1×2=22x+1.\frac{dy}{dx} = \frac{1}{2x + 1} \times 2 = \frac{2}{2x + 1}.

4. Choosing the rule

Read the structure of the expression before you start.

Structure Rule Example
A product, u×vu \times v product rule x2sin⁡xx^2\sin x
A quotient, uv\dfrac{u}{v} quotient rule sin⁡xx\dfrac{\sin x}{x}
A function of a function chain rule sin⁡(x2)\sin(x^2), (3x+1)5(3x+1)^5
A simple sum or multiple power rule, term by term 4x3−2x4x^3 - 2x

A chain-rule expression can be a product as well. Then use the chain rule inside the product rule, and name each part.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.