AP Calculus AB · Study guide

The Quotient Rule

AP® Calculus AB · Unit 2 · Differentiation: Definition and Fundamental Properties

The Quotient Rule

Fractions with a variable on the bottom need their own derivative rule. This guide gives the rule, a way to remember its order, and examples with formulas, tables and a real rate.

The idea in one paragraph

If \(q(x) = \dfrac{f(x)}{g(x)}\), then \(q'(x) = \dfrac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}\), wherever \(g(x) \neq 0\). The order on top matters because of the minus sign: start with the derivative of the top. A common memory line is “low d-high minus high d-low, over low squared,” where “low” is the bottom and “d-high” is the derivative of the top.

1The rule

\[ \frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)\,g(x) - f(x)\,g'(x)}{\left[g(x)\right]^2} \]
PieceMeaning
lowthe bottom, \(g\)
d-highderivative of the top, \(f'\)
highthe top, \(f\)
d-lowderivative of the bottom, \(g'\)
over low squareddivide by \(g^2\)
Where it comes from

Write \(\frac{f}{g} = f \cdot g^{-1}\) and use the product rule with the derivative of \(g^{-1}\), which is \(-g^{-2}g'\): \(f'g^{-1} - fg^{-2}g' = \dfrac{f'g - fg'}{g^2}\).

2Using the rule

Worked Example 1 Polynomial over polynomial

\(\dfrac{d}{dx}\left[\dfrac{x^2 + 1}{x - 3}\right]\)

  1. 1
    Top \(f = x^2 + 1\), \(f' = 2x\). Bottom \(g = x - 3\), \(g' = 1\).
  2. 2
    \(\dfrac{f'g - fg'}{g^2} = \dfrac{2x(x - 3) - (x^2 + 1)(1)}{(x - 3)^2}\).
  3. 3
    Simplify the top: \(2x^2 - 6x - x^2 - 1 = x^2 - 6x - 1\).
Answer: \(\dfrac{x^2 - 6x - 1}{(x - 3)^2}\)
Worked Example 2 Trig over a power

\(\dfrac{d}{dx}\left[\dfrac{\sin x}{x}\right]\)

  1. 1
    \(f = \sin x\), \(f' = \cos x\); \(g = x\), \(g' = 1\).
  2. 2
    \(\dfrac{\cos x \cdot x - \sin x \cdot 1}{x^2}\).
Answer: \(\dfrac{x\cos x - \sin x}{x^2}\)
Common Mistake 1 · Reversing the order on top

\(\dfrac{fg' - f'g}{g^2}\) has the wrong sign. Unlike the product rule, the order matters here. Start with the derivative of the top.

Common Mistake 2 · Dividing the derivatives

\(\dfrac{f'}{g'}\) is not the derivative of \(\dfrac{f}{g}\). For \(\frac{\sin x}{x}\) it would give \(\cos x\), but the true derivative is \(\frac{x\cos x - \sin x}{x^2}\).

Worked Example 3 Find where the slope is 0

\(y = \dfrac{e^x}{1 + x^2}\)

  1. 1
    \(y' = \dfrac{e^x(1 + x^2) - e^x(2x)}{(1 + x^2)^2} = \dfrac{e^x(x^2 - 2x + 1)}{(1 + x^2)^2} = \dfrac{e^x(x - 1)^2}{(1 + x^2)^2}\).
  2. 2
    A fraction is 0 when its top is 0. \(e^x \gt 0\) always, so only \((x - 1)^2 = 0\): \(x = 1\).
  3. 3
    The top is a square times a positive number, so \(y' \ge 0\) everywhere: the function never decreases.
Answer: Slope 0 only at \(x = 1\), and there the graph flattens without turning around.
Figure 1. y′ = eˣ(x − 1)²/(1 + x²)² is never negative, so the graph never falls. At x = 1 the slope is 0 for an instant, a flat spot, not a peak or a valley.

3Values and context

Worked Example 4 From values

\(q(x) = \dfrac{f(x)}{g(x)}\); find \(q'(2)\)

\(f(2) = 3\), \(f'(2) = -1\), \(g(2) = 5\), \(g'(2) = 4\).

  1. 1
    \(q'(2) = \dfrac{f'(2)g(2) - f(2)g'(2)}{[g(2)]^2}\).
  2. 2
    \(= \dfrac{(-1)(5) - (3)(4)}{5^2} = \dfrac{-5 - 12}{25}\).
Answer: \(q'(2) = -\dfrac{17}{25}\)
Worked Example 5 Rates in context

Drug concentration

The concentration of a medicine in the blood is \(c(t) = \dfrac{5t}{t^2 + 4}\) mg/L, \(t\) hours after a dose. Find \(c'(1)\) and \(c'(2)\) and interpret them.

  1. 1
    \(c'(t) = \dfrac{5(t^2 + 4) - 5t(2t)}{(t^2 + 4)^2} = \dfrac{5(4 - t^2)}{(t^2 + 4)^2}\).
  2. 2
    \(c'(1) = \dfrac{5 \cdot 3}{25} = 0.6\) mg/L per hour.
  3. 3
    \(c'(2) = \dfrac{5 \cdot 0}{64} = 0\).
Answer: One hour after the dose the concentration is rising at 0.6 mg/L per hour; at two hours it has stopped rising (its peak, 1.25 mg/L).
Figure 2. One hour after the dose the concentration is rising at 0.6 mg/L per hour. At t = 2 the quotient rule gives c′(2) = 0: the concentration peaks at 1.25 mg/L and then slowly falls.
Write it like this

“\(c'(1) = 0.6\): one hour after the dose, the concentration of the medicine is increasing at 0.6 milligrams per liter per hour.”

4When to simplify instead

Worked Example 6 When not to use it

\(\dfrac{5}{x^3}\) and \(\dfrac{x^2 + 3x}{x}\)

  1. 1
    \(\dfrac{5}{x^3} = 5x^{-3}\), so the derivative is \(-15x^{-4} = -\dfrac{15}{x^4}\). The quotient rule would work, but takes longer.
  2. 2
    \(\dfrac{x^2 + 3x}{x} = x + 3\) for \(x \neq 0\), so the derivative is 1.
Answer: \(-\dfrac{15}{x^4}\) and 1. Simplify first when a fraction allows it.
Common Mistake 3 · Forgetting to square the bottom

The denominator of the derivative is \([g(x)]^2\). Leaving it as \(g(x)\) gives a wrong answer at every point except where \(g = 1\).

Quick reference

SituationBest approach
Variable top and bottomQuotient rule
Constant topRewrite with a negative power: \(\frac{k}{g} = kg^{-1}\)
Single-term bottomSplit or simplify, then use the power rule
Setting the derivative to 0Only the top of the derivative can make it 0