Unit 2 · Topic 2.9 Beta

The Quotient Rule

3 min read · freeNot practiced

Many quantities are ratios: miles per gallon, concentration, average cost per item. When both the top and the bottom of a fraction change, how fast does the fraction change? The product rule turns out to hold the answer. This page derives the quotient rule from it, shows how to use it without sign slips, and shows when a quick rewrite makes it unnecessary.

The guess that fails, again

As with products, dividing the derivatives does not work. Take x2x\frac{x^2}{x}, which is just xx for x≠0x \ne 0, with derivative 1. The quotient of the derivatives is 2x1=2x\frac{2x}{1} = 2x. Wrong.

Deriving the rule from the product rule

Let q(x)=f(x)g(x)q(x) = \frac{f(x)}{g(x)}. Then f=q⋅gf = q \cdot g, a product. Assuming qq is differentiable, the product rule gives

f′=q′g+qg′.f' = q'g + qg'.

Solve for q′q': q′=f′−qg′gq' = \frac{f' - qg'}{g}. Replace qq with fg\frac{f}{g} and multiply the top and bottom by gg:

q′=f′−fgg′g=f′g−fg′g2.q' = \frac{f' - \frac{f}{g}g'}{g} = \frac{f'g - fg'}{g^2}.

The quotient rule

If ff and gg are differentiable at xx and g(x)≠0g(x) \ne 0,

ddx(f(x)g(x))=f′(x)g(x)−f(x)g′(x)(g(x))2.\frac{d}{dx}\left( \frac{f(x)}{g(x)} \right) = \frac{f'(x)g(x) - f(x)g'(x)}{\left( g(x) \right)^2}.

A rhyme many students use: "low d-high minus high d-low, over low squared." "Low" is the denominator, "high" is the numerator, and "d" means "the derivative of". Two things make this rule different from the product rule: the numerator is a difference, so its order matters, and the bottom is squared.

Product ruleQuotient rule
Formulaf′g+fg′f'g + fg'f′g−fg′g2\frac{f'g - fg'}{g^2}
Middle signplusminus
Order matters?noyes: f′gf'g first
Denominatornoneg2g^2

Worked example 1. Differentiate f(x)=xx2+1f(x) = \frac{x}{x^2 + 1}.

High =x= x, d-high =1= 1. Low =x2+1= x^2 + 1, d-low =2x= 2x.

f′(x)f'(x)=(1)(x2+1)−(x)(2x)(x2+1)2= \frac{(1)(x^2 + 1) - (x)(2x)}{(x^2 + 1)^2}=1−x2(x2+1)2= \frac{1 - x^2}{(x^2 + 1)^2}.

Check with the graph: the numerator is 0 at x=±1x = \pm 1, where the graph turns, and f′(0)=1f'(0) = 1, where the graph rises through the origin.

Top: the graph of f(x) = x over (x squared plus 1), with a low point at (minus 1, minus 0.5) and a high point at (1, 0.5). Level tangent lines are drawn at x = minus 1 and 1, and a tangent line of slope 1 at x = 0. Bottom: the graph of f prime of x = (1 minus x squared) over (x squared plus 1) squared, which crosses 0 at x = minus 1 and 1 and has height 1 at x = 0.
Figure 1. The graph of xx2+1\frac{x}{x^2 + 1} and of its derivative. The derivative is 0 where the tangent lines are level. LevlPrep original diagram.

Worked example 2. Differentiate y=sin⁡xxy = \frac{\sin x}{x} for x>0x > 0.

y′y'=(cos⁡x)(x)−(sin⁡x)(1)x2= \frac{(\cos x)(x) - (\sin x)(1)}{x^2}=xcos⁡x−sin⁡xx2= \frac{x\cos x - \sin x}{x^2}.

If you had written sin⁡x−xcos⁡x\sin x - x\cos x on top, every slope would have the wrong sign.

From a table

Worked example 3. A table gives f(2)=4f(2) = 4, f′(2)=1f'(2) = 1, g(2)=2g(2) = 2, g′(2)=−3g'(2) = -3. Find q′(2)q'(2) for q=fgq = \frac{f}{g}, then the tangent line.

q′(2)q'(2)=f′(2)g(2)−f(2)g′(2)(g(2))2= \frac{f'(2)g(2) - f(2)g'(2)}{\left( g(2) \right)^2}=(1)(2)−(4)(−3)4= \frac{(1)(2) - (4)(-3)}{4}=144= \frac{14}{4}=72= \frac{7}{2}.

Height: q(2)=42=2q(2) = \frac{4}{2} = 2. Tangent line: y=2+72(x−2)y = 2 + \frac{7}{2}(x - 2).

Notice the double negative: −(4)(−3)=+12-(4)(-3) = +12. Write every substituted value in parentheses so signs cannot hide.

A constant on top

When the numerator is a constant cc, its derivative is 0 and the rule shortens to

ddx(cg(x))=−cg′(x)(g(x))2.\frac{d}{dx}\left( \frac{c}{g(x)} \right) = \frac{-c\,g'(x)}{\left( g(x) \right)^2}.

For example, ddx(1x2+1)\frac{d}{dx}\left( \frac{1}{x^2 + 1} \right)=−2x(x2+1)2= \frac{-2x}{(x^2 + 1)^2}, which is −12-\frac{1}{2} at x=1x = 1.

Rewrite when you can

When the denominator is a single term, divide first. 3x2−5x=3x−5x−1\frac{3x^2 - 5}{x} = 3x - 5x^{-1}, so its derivative is 3+5x−23 + 5x^{-2}, with no quotient rule needed. The quotient rule gives the same answer, 6x⋅x−(3x2−5)x2\frac{6x \cdot x - (3x^2 - 5)}{x^2}=3x2+5x2= \frac{3x^2 + 5}{x^2}, with more chances for a slip. Answers may look different and still be equal; that is fine on the exam.

Common mistakes

  • Reversing the numerator: fg′−f′gfg' - f'g gives the negative of the answer.
  • Forgetting to square the denominator.
  • Dividing the derivatives: f′g′\frac{f'}{g'} is not the derivative of fg\frac{f}{g}.
  • Simplifying more than needed. A correct, unsimplified answer earns full credit; a simplification error can lose it.

With the quotient rule, the next topic finds the derivatives of the remaining trigonometric functions.

Spot a mistake on this page?