Product Rule and Quotient Rule

When two expressions are multiplied, differentiate with the product rule, (uv)'=u'v+uv'; when one is divided by the other, use the quotient rule, \left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^2} for v\ne 0. Both rules take the derivatives of the pieces and recombine them, because the derivative of a product or quotient is not the product or quotient of the derivatives.

Throughout this page u and v are functions of x that are differentiable at the points considered.

Product rule

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

(uv)'=u'v+uv'.

The tempting shortcut is to differentiate each factor and multiply, u'v'. One quick test shows it fails. Take u=x and v=x, so that uv=x^2. The true derivative is 2x, but u'v'=1\cdot 1=1. The product rule gives u'v+uv'=1\cdot x+x\cdot 1=2x, which is correct.

A picture explains where the two terms come from. Let u and v be the side lengths of a rectangle, so uv is its area. A small increase in u adds a strip of area about v times that increase, and a small increase in v adds a strip of area about u times that increase. The tiny corner where the strips meet is the product of two small changes, so it vanishes in the limit. The two strips are the two terms of the rule.

AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYToxNjAwY2U5Yi0wMzlkLTRlYzctYTE2Yi0wYTE0MGJlMjY3OTYAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaFZOI8l33NOyasXdGZnpb7kAAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDplN2ZjYzc3Zi0wMWEwLTRkYTQtODI0ZC00YWJmZDY2YWJkODRscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNoo9mahKTULRor40E0UUGvoQAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQEk1c823LsMXeyz5bqLgm0mXZ+jsOofcGMqdlerjdn8Bl8WcPf/mHTkg06teiBj73Q4uz5fy58k+4ZbI7qhBOto=uvuvΔuΔvu·Δvv·ΔuΔu·Δv: negligible in the limit

Two examples

For each problem, name the four pieces first. Mistakes are easier to spot when u, v, u' and v' are written out.

Example 1: x^2\sin x

Let f(x)=x^2\sin x.

f'(x)=u'v+uv'=2x\sin x+x^2\cos x.

Example 2: (3x+1)e^x

Let f(x)=(3x+1)e^x.

\begin{aligned} f'(x)&=u'v+uv'\\ &=3e^x+(3x+1)e^x\\ &=e^x(3+3x+1)\\ &=(3x+4)e^x. \end{aligned}

Factoring out the common e^x in the third line is worth doing every time. It turns a sum of two terms into a product that is easy to read and to check.

Three or more factors

For three factors, apply the product rule twice: treat uvw as (uv)\,w.

(uvw)'=(uv)'w+(uv)w'=(u'v+uv')w+uvw'=u'vw+uv'w+uvw'.

The result has one term per factor, and each term differentiates a different factor while the others stay as they are. The same pattern holds for four or more factors.

Example. Let f(x)=x\,e^x\sin x, with u=x, v=e^x and w=\sin x. Then u'=1, v'=e^x and w'=\cos x, so

\begin{aligned} f'(x)&=u'vw+uv'w+uvw'\\ &=1\cdot e^x\sin x+x\cdot e^x\sin x+x\cdot e^x\cos x\\ &=e^x(\sin x+x\sin x+x\cos x). \end{aligned}

When not to use the product rule

The rule is valid for every product, but it is not always the shortest route. Two cases are worth recognizing.

A constant times a function. The product c\,f(x) is a constant multiple, and the constant multiple rule gives c\,f'(x) directly. The product rule would return 0\cdot f(x)+c\,f'(x), the same answer with extra steps.

A product that is easy to expand. The expression x(x+1) is a product, but multiplying it out gives x^2+x, and the basic rules give 2x+1. The product rule agrees: 1\cdot(x+1)+x\cdot 1=2x+1. When the factors are polynomials or powers of the same variable, expand first. Keep the product rule for cases such as Examples 1 and 2, where one factor is a function like \sin x or e^x that algebra cannot absorb.

Quotient rule

For v\ne 0,

\left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^2}.

In words: the derivative of the top times the bottom, minus the top times the derivative of the bottom, all over the bottom squared. Order matters. Swapping the two terms in the numerator changes the sign of the whole answer.

Example. Differentiate f(x)=\dfrac{x^2+1}{x-3} for x\ne 3. The pieces are u=x^2+1, v=x-3, u'=2x and v'=1. Substituting:

f'(x)=\frac{2x(x-3)-(x^2+1)\cdot 1}{(x-3)^2}.

Now expand the numerator. First 2x(x-3)=2x^2-6x. Then subtract the whole bracket x^2+1:

2x^2-6x-x^2-1=x^2-6x-1.

Therefore

f'(x)=\frac{x^2-6x-1}{(x-3)^2}.

Deriving the derivative of tangent

The quotient rule produces a standard result. Write \tan x=\dfrac{\sin x}{\cos x} and take u=\sin x, v=\cos x, so u'=\cos x and v'=-\sin x. Then, where \cos x\ne 0,

\begin{aligned} (\tan x)'&=\frac{\cos x\cdot\cos x-\sin x\cdot(-\sin x)}{\cos^2x}\\ &=\frac{\cos^2x+\sin^2x}{\cos^2x}\\ &=\frac{1}{\cos^2x}=\sec^2x. \end{aligned}

The step from the second line to the third uses the identity \sin^2x+\cos^2x=1. The result sits in the table of derivatives next to the other trigonometric functions.

When to avoid the quotient rule

If the denominator is a single term, you can skip the rule. A constant denominator pulls out as a factor, a power of x in the denominator becomes a negative exponent, and a sum in the numerator can be split over the denominator.

Example. Differentiate f(x)=\dfrac{x^2+1}{x} for x\ne 0. Split the fraction: f(x)=x+x^{-1}. Then

f'(x)=1-x^{-2}=1-\frac{1}{x^2}.

The quotient rule gives the same answer with more work: \dfrac{2x\cdot x-(x^2+1)\cdot 1}{x^2}=\dfrac{x^2-1}{x^2}=1-\dfrac{1}{x^2}.

Splitting works only over a single-term denominator. A fraction such as \dfrac{x^2+1}{x-3} cannot be split term by term in the denominator, so it needs the quotient rule.

When a factor, a numerator or a denominator is itself a function of a function, combine these rules with the technique for nested functions.

Mistakes to avoid

All four slips produce answers that look reasonable. A quick numeric test at one point exposes them in seconds.

Try it: Open x^2*sin(x) with its steps. The first step is “Product rule” with u=x^2 and v=\sin x, followed by “Power rule” and “Table derivative of sine”; the result is printed as x^2\cos x+2x\sin x, the same sum in a different order. Then open (x^2+1)/(x-3): the first step is “Quotient rule” with u=x^2+1 and v=x-3. The result is printed with the numerator left unexpanded, -x^2+2x(x-3)-1 over (x-3)^2; the Simplify button turns it into \dfrac{x^2-6x-1}{(x-3)^2}.

Frequently asked questions

Can I use the product rule on x\cdot x^2?

Yes. The product rule works for any product. With u=x and v=x^2 it gives u'v+uv'=1\cdot x^2+x\cdot 2x=3x^2, which matches simplifying to x^3 first. Simplifying is faster whenever the factors are powers of the same variable.

Is there a memory trick for the quotient rule?

Notice that the numerator u'v-uv' has the same two terms as the product rule, joined by a minus sign instead of a plus sign. The denominator is v^2. For a sanity check, take v=1: the formula must reduce to u', and \frac{u'\cdot 1-u\cdot 0}{1^2}=u' does, while the reversed order would give -u'.

Which is easier: quotient rule or negative exponent?

Use the negative exponent when the denominator is a single term, such as x or a constant. The split version has fewer steps and fewer places to slip on a sign. Use the quotient rule when the denominator has several terms, as in x-3, because the fraction cannot be split.

Where to go next

For more practice, try the free derivative solver on your own products and quotients, and use its “Check your answer” box, which accepts any equivalent form of your derivative.