2.4, 3.4 - Product and quotient rules

2.4, 3.4 - Product and quotient rules

Two changing factors contribute to the change in their product. You will learn how to account for both contributions, differentiate fractions without losing the subtraction order, and combine these rules with the chain rule for logarithmic, exponential and trigonometric functions.

The product rule

If x×x=x2x\times x=x^2, why does differentiating the two factors separately give 11, rather than the correct answer 2x2x? Multiplying derivatives misses how each changing factor interacts with the other factor.

For a concrete picture in algebra, let the factors uu and vv change by small amounts Δu\Delta u and Δv\Delta v. Their product changes by

(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.

Divide by the input change and take the limit. For differentiable functions, the final small-product contribution tends to zero. The other two contributions remain.

The product rule

If uu and vv are differentiable functions of xx,

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

In the formula booklet.

For x×xx\times x, this gives x(1)+x(1)=2xx(1)+x(1)=2x, answering the opening puzzle. Each term differentiates one factor and leaves the other unchanged.

Worked example 1: a linear factor times an exponential

Question. Differentiate y=xexy=xe^x.

Plan. Differentiate each factor once in the product rule, then factor out the common exponential.

u=x,u′=1v=ex,v′=exy′=ex(1)+x(ex)=ex(1+x)\begin{aligned} u&=x,&u'&=1\\ v&=e^x,&v'&=e^x\\ y'&=e^x(1)+x(e^x)\\ &=e^x(1+x) \end{aligned}

Answer. y′=ex(1+x)y'=e^x(1+x).

Check. At x=0x=0, the difference quotient from the original function is heh/h=eh→1he^h/h=e^h\to1, agreeing with y′(0)=1y'(0)=1.

Change only the algebraic factor from xx to x2x^2. Both contributions are still needed.

Worked example 2: a squared factor times an exponential

Question. Differentiate y=x2exy=x^2e^x.

Plan. Use the product rule, then collect the common factor xexxe^x.

y′=ex(2x)+x2(ex)=xex(x+2)\begin{aligned} y'&=e^x(2x)+x^2(e^x)\\ &=xe^x(x+2) \end{aligned}

Answer. y′=xex(x+2)y'=xe^x(x+2).

Check. At x=1x=1, a central difference with step 0.0010.001 gives approximately 8.154858.15485; the derivative gives 3e≈8.154853e\approx8.15485.

You may expand a polynomial product first if that is shorter. The product rule matters most when expansion cannot remove the product, as with x2exx^2e^x or xsin⁡xx\sin x.

Watch out

(uv)′≠u′v′(uv)'\ne u'v'. For x2exx^2e^x, the wrong expression 2xex2xe^x counts the change in x2x^2 but misses the changing exponential. The missing term is x2exx^2e^x.

Change the algebraic power once more.

The quotient rule

A fraction changes when its numerator changes and when its denominator changes. Increasing a positive numerator raises the fraction, but increasing a positive denominator lowers it. The subtraction in the quotient rule reflects those competing effects.

To see the rule, write y=u/vy=u/v as u=yvu=yv, where v≠0v\ne0. The product rule gives u′=y′v+yv′u'=y'v+yv'. Substitute y=u/vy=u/v and solve for y′y'.

The quotient rule

For differentiable uu and vv, with v≠0v\ne0,

ddx(uv)=vu′−uv′v2.\frac{\mathrm d}{\mathrm dx}\left(\frac uv\right) =\frac{vu'-uv'}{v^2}.

In the formula booklet.

Keep brackets around both numerator contributions until the subtraction has been performed.

Worked example 3: a linear denominator

Question. Differentiate y=(x2+1)/(x+2)y=(x^2+1)/(x+2).

Plan. Identify numerator and denominator, apply vu′−uv′vu'-uv', then simplify the numerator.

u=x2+1,u′=2xv=x+2,v′=1y′=(x+2)(2x)−(x2+1)(1)(x+2)2=x2+4x−1(x+2)2\begin{aligned} u&=x^2+1,&u'&=2x\\ v&=x+2,&v'&=1\\ y'&=\frac{(x+2)(2x)-(x^2+1)(1)}{(x+2)^2}\\ &=\frac{x^2+4x-1}{(x+2)^2} \end{aligned}

Answer. y′=(x2+4x−1)/(x+2)2y'=(x^2+4x-1)/(x+2)^2, for x≠−2x\ne-2.

Check. Division gives y=x−2+5/(x+2)y=x-2+5/(x+2). Differentiating this gives 1−5/(x+2)21-5/(x+2)^2, the same result.

Keep the numerator but square the xx in the denominator. Its derivative is now 2x2x, and more terms cancel.

Worked example 4: a quadratic denominator

Question. Differentiate y=(x2+1)/(x2+2)y=(x^2+1)/(x^2+2).

Plan. Apply the quotient rule before cancelling any terms.

y′=(x2+2)(2x)−(x2+1)(2x)(x2+2)2=2x[(x2+2)−(x2+1)](x2+2)2=2x(x2+2)2\begin{aligned} y'&=\frac{(x^2+2)(2x)-(x^2+1)(2x)}{(x^2+2)^2}\\ &=\frac{2x[(x^2+2)-(x^2+1)]}{(x^2+2)^2}\\ &=\frac{2x}{(x^2+2)^2} \end{aligned}

Answer. y′=2x/(x2+2)2y'=2x/(x^2+2)^2, for every real xx, since x2+2>0x^2+2>0.

Check. Rewrite y=1−1/(x2+2)y=1-1/(x^2+2). The chain rule gives y′=2x/(x2+2)2y'=2x/(x^2+2)^2, independently confirming the subtraction sign.

Continue this lesson.

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

Create free account