9B - The product rule

9B - The product rule

If two factors both change, how does their product change? You will account for both contributions, differentiate products of familiar functions, and combine the product and chain rules without losing factors or signs.

Why differentiating each factor is insufficient

Does differentiating x(x+3)x(x+3) mean multiplying the derivatives 1×11\times1?

Expand first to check: x(x+3)=x2+3xx(x+3)=x^2+3x, whose derivative is 2x+32x+3. At x=2x=2, the correct gradient is 77, not 11. Multiplying the derivatives has lost the original factors.

A rectangle explains what is missing. Its area is the product uvuv. If its width increases by Δu\Delta u and its height by Δv\Delta v, there are two strips of extra area, plus a small corner. Here Δ\Delta means “change in”.

[DIAGRAM: asset_name: Two contributions to a changing product; asset_slug: product-area-change; caption: Increasing both sides adds two strips and a corner to the original rectangle; description: A rectangle of width u and height v is enlarged by delta u to the right and delta v above. The original area uv is neutral, the right strip has area v delta u in pale blue, the top strip has area u delta v in pale sage, and the corner has area delta u delta v in pale clay. Dimension arrows identify u, v, delta u and delta v.]
Increasing both sides adds two strips and a corner to the original rectangle

The exact change in area is

(u+Δu)(v+Δv)−uv=vΔu+uΔv+ΔuΔv.(u+\Delta u)(v+\Delta v)-uv =v\Delta u+u\Delta v+\Delta u\Delta v.

For example, increasing sides 33 and 22 by 0.10.1 and 0.20.2 adds 2(0.1)+3(0.2)+(0.1)(0.2)=0.822(0.1)+3(0.2)+(0.1)(0.2)=0.82. The new area is 3.1×2.2=6.823.1\times2.2=6.82.

When uu and vv are differentiable functions of xx, both changes shrink with a small change in xx. After dividing by that change in xx, the corner contribution tends to zero. The two strips give the two surviving contributions: the rate of change of one factor multiplied by the current value of the other.

Key idea

A product has two contributions to its derivative. Each contribution differentiates one factor and leaves the other unchanged.

This rectangle argument explains the structure; it does not require the values of general functions to be positive. The product rule also applies to negative values wherever both functions are differentiable.

Differentiating a product

Choose the two factors before differentiating, then keep the two contributions separate until both are correct.

Product rule

If u(x)u(x) and v(x)v(x) are differentiable at the point considered, then

ddx(uv)=u′v+uv′.\frac{d}{dx}(uv)=u'v+uv'.

The order uv′+vu′uv'+vu' is equivalent.

Not on the formulae sheet: learn it.

For the opening product, u=xu=x and v=x+3v=x+3. The rule gives 1(x+3)+x(1)=2x+31(x+3)+x(1)=2x+3, agreeing with expansion. Expansion can be quickest for short polynomial products; the rule is especially useful when expansion cannot remove the product. Trigonometric inputs below are in radians.

Worked example 1: a power multiplied by sine

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

Plan. Take u=x2u=x^2 and v=sin⁡xv=\sin x, then add u′vu'v and uv′uv'.

u′=2xv′=cos⁡xdydx=(2x)sin⁡x+x2cos⁡xdifferentiate one factor at a time\begin{aligned} u'&=2x &v'&=\cos x\\ \frac{dy}{dx}&=(2x)\sin x+x^2\cos x &&\text{differentiate one factor at a time} \end{aligned}

Answer. dydx=2xsin⁡x+x2cos⁡x\frac{dy}{dx}=2x\sin x+x^2\cos x, for all real xx.

Check. At x=π2x=\frac\pi2, this gives π\pi. A central gradient calculated from the original x2sin⁡xx^2\sin x with step 0.00010.0001 is approximately 3.1415933.141593, agreeing with π\pi.

Keep x2x^2 and change the other factor from sine to cosine. This changes one derivative and its sign.

Worked example 2: a power multiplied by cosine

Question. Differentiate y=x2cos⁡xy=x^2\cos x.

Plan. Keep the same first factor and use ddxcos⁡x=−sin⁡x\frac{d}{dx}\cos x=-\sin x.

u=x2v=cos⁡xu′=2xv′=−sin⁡xdydx=2xcos⁡x+x2(−sin⁡x)add the two contributions=2xcos⁡x−x2sin⁡xsimplify the sign\begin{aligned} u&=x^2 &v&=\cos x\\ u'&=2x &v'&=-\sin x\\ \frac{dy}{dx}&=2x\cos x+x^2(-\sin x) &&\text{add the two contributions}\\ &=2x\cos x-x^2\sin x &&\text{simplify the sign} \end{aligned}

Answer. dydx=2xcos⁡x−x2sin⁡x\frac{dy}{dx}=2x\cos x-x^2\sin x, for all real xx.

Check. At x=π2x=\frac\pi2, the derivative is −π2/4≈−2.467401-\pi^2/4\approx-2.467401. The central gradient of the original product with step 0.00010.0001 is approximately −2.467401-2.467401.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account