Quotient Rule

The Quotient Rule gives you the derivative of a fraction by combining the derivatives and original functions of the numerator and denominator.

(fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}

Solve a problem with Quotient Rule

Type the problem. The solver will use Quotient Rule where Quotient Rule is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Quotient Rule takes
ff
gg
Quotient Rule
SymbolMeaning
ffThe function in the numerator (top) of the fraction fg\frac{f}{g}; it can be any differentiable function, and if ff fails to be differentiable somewhere, the Quotient Rule cannot be applied there.
ggThe function in the denominator (bottom) of the fraction fg\frac{f}{g}; it must be non-zero in the domain you are considering, because if g=0g = 0, the fraction is undefined and the derivative does not exist.

When to use it

Reach for the Quotient Rule when you need to differentiate a fraction where both the top and bottom depend on the variable.

Level

Usually taught in: Calculus I · Appears on: AP Calculus

Worked examples

1. Differentiate a fraction with polynomial numerator and denominator

Problem

Find the derivative of x2+3x1\frac{x^2 + 3}{x - 1}.
  1. f=x2+3,f=2x,g=x1,g=1f = x^2 + 3, \quad f' = 2x, \quad g = x - 1, \quad g' = 1

    Identify the numerator ff and denominator gg, then find their derivatives using the Power Rule.

  2. (x2+3x1)=2x(x1)(x2+3)(1)(x1)2\left(\frac{x^2 + 3}{x - 1}\right)' = \frac{2x(x - 1) - (x^2 + 3)(1)}{(x - 1)^2}

    Apply the Quotient Rule formula: fgfgg2\frac{f'g - fg'}{g^2}.

  3. =2x22xx23(x1)2= \frac{2x^2 - 2x - x^2 - 3}{(x - 1)^2}

    Expand each product in the numerator: 2x(x1)=2x22x2x(x-1) = 2x^2 - 2x and (x2+3)(1)=x2+3(x^2+3)(1) = x^2 + 3.

  4. =x22x3(x1)2= \frac{x^2 - 2x - 3}{(x - 1)^2}

    Combine like terms in the numerator: 2x2x2=x22x^2 - x^2 = x^2 and 2x3-2x - 3 remain.

Answer: x22x3(x1)2\frac{x^2 - 2x - 3}{(x - 1)^2}

This is a straightforward polynomial fraction, and the Quotient Rule is the standard approach when both top and bottom contain variables. The final answer can be factored as (x3)(x+1)(x1)2\frac{(x-3)(x+1)}{(x-1)^2}, which reveals where the derivative is zero (at x=3x = 3 and x=1x = -1) and where it is undefined (at x=1x = 1).

2. Differentiate a fraction with negative coefficients and a sum in the denominator

Problem

Find the derivative of x2+4xx2+1\frac{-x^2 + 4x}{x^2 + 1}.
  1. f=x2+4x,f=2x+4,g=x2+1,g=2xf = -x^2 + 4x, \quad f' = -2x + 4, \quad g = x^2 + 1, \quad g' = 2x

    Identify each function and its derivative. Note that ff has a negative leading coefficient.

  2. (x2+4xx2+1)=(2x+4)(x2+1)(x2+4x)(2x)(x2+1)2\left(\frac{-x^2 + 4x}{x^2 + 1}\right)' = \frac{(-2x + 4)(x^2 + 1) - (-x^2 + 4x)(2x)}{(x^2 + 1)^2}

    Apply the Quotient Rule. Be careful to keep the signs correct in both products.

  3. (2x+4)(x2+1)=2x32x+4x2+4(-2x + 4)(x^2 + 1) = -2x^3 - 2x + 4x^2 + 4

    Expand the first product by distributing: 2xx2=2x3-2x \cdot x^2 = -2x^3, 2x1=2x-2x \cdot 1 = -2x, 4x2=4x24 \cdot x^2 = 4x^2, 41=44 \cdot 1 = 4.

  4. (x2+4x)(2x)=2x3+8x2(-x^2 + 4x)(2x) = -2x^3 + 8x^2

    Expand the second product: x22x=2x3-x^2 \cdot 2x = -2x^3 and 4x2x=8x24x \cdot 2x = 8x^2.

  5. 2x32x+4x2+4(2x3+8x2)=2x32x+4x2+4+2x38x2-2x^3 - 2x + 4x^2 + 4 - (-2x^3 + 8x^2) = -2x^3 - 2x + 4x^2 + 4 + 2x^3 - 8x^2

    Subtract the second product from the first by distributing the negative sign.

  6. =4x22x+4= -4x^2 - 2x + 4

    Combine like terms: the 2x3-2x^3 and 2x32x^3 cancel, 4x28x2=4x24x^2 - 8x^2 = -4x^2, and 2x+4-2x + 4 remain.

Answer: 4x22x+4(x2+1)2\frac{-4x^2 - 2x + 4}{(x^2 + 1)^2}

This example involves negative coefficients and a denominator that is always positive, testing whether you can correctly apply the rule with careful sign handling. The denominator x2+1x^2 + 1 is never zero, so the derivative exists everywhere, but the numerator 4x22x+4-4x^2 - 2x + 4 may change sign, which tells us where the original function is increasing or decreasing.

3. Find the rate of change during a road trip (related rates application)

Problem

On a road trip with two legs, during the second leg you track your distance from a waypoint. Your distance from the waypoint is 90tt+3\frac{90t}{t + 3} miles, where tt is the time in hours since starting that leg. Find your speed (rate of change of distance) after 2 hours.
  1. f=90t,f=90,g=t+3,g=1f = 90t, \quad f' = 90, \quad g = t + 3, \quad g' = 1

    Identify the numerator and denominator functions. The numerator is a simple linear function, so its derivative is just the constant 9090.

  2. ddt(90tt+3)=90(t+3)90t(1)(t+3)2\frac{d}{dt}\left(\frac{90t}{t + 3}\right) = \frac{90(t + 3) - 90t(1)}{(t + 3)^2}

    Apply the Quotient Rule with f=90f' = 90, f=90tf = 90t, g=1g' = 1, and g=t+3g = t + 3.

  3. =90t+27090t(t+3)2= \frac{90t + 270 - 90t}{(t + 3)^2}

    Expand the first product: 90(t+3)=90t+27090(t+3) = 90t + 270. Then subtract the second term: 90t(1)=90t90t(1) = 90t.

  4. =270(t+3)2= \frac{270}{(t + 3)^2}

    Simplify the numerator: 90t+27090t=27090t + 270 - 90t = 270. This is a constant, meaning the rate of change does not depend on tt.

  5. At t=2:270(2+3)2=27025=545=10.8\text{At } t = 2: \quad \frac{270}{(2 + 3)^2} = \frac{270}{25} = \frac{54}{5} = 10.8

    Evaluate the derivative at t=2t = 2: (2+3)2=25(2+3)^2 = 25, so we get 27025\frac{270}{25}, which simplifies to 545\frac{54}{5} or 10.810.8 miles per hour.

Answer: 545 or 10.8 mph\frac{54}{5} \text{ or } 10.8 \text{ mph}

This is a related rates problem where the derivative turns out to be constant—the speed is the same at all times during this leg of the trip. Recognizing when a quotient has a simplified derivative (like when the numerator and denominator's growth rates balance) is a key insight for real-world applications. The Quotient Rule handles this correctly even though you might expect a time-varying answer.

Common mistakes

Where Quotient Rule usually goes wrong
Answer came out wrong
(fg)=fg\left(\frac{f}{g}\right)' = \frac{f'}{g'}
Use the Quotient Rule: (fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}.
(fg)=fgfgg\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g}
Always write g2g^2 in the denominator: fgfgg2\frac{f'g - fg'}{g^2}.
(fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{fg' - f'g}{g^2}
Remember: derivative of top times bottom, minus top times derivative of bottom: fgfgf'g - fg', not the reverse.
The mistakeWhy it is wrongThe fix
(fg)=fg\left(\frac{f}{g}\right)' = \frac{f'}{g'}This ignores how the quotient operation works; you cannot simply divide the derivatives because the denominator's change affects the entire fraction, not just through its own rate of change.Use the Quotient Rule: (fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}.
(fg)=fgfgg\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g}Forgetting to square the denominator gives a result with wrong units and wrong magnitude; the formula requires g2g^2, not gg.Always write g2g^2 in the denominator: fgfgg2\frac{f'g - fg'}{g^2}.
(fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{fg' - f'g}{g^2}Reversing the subtraction order changes the sign of the entire answer; subtraction is not commutative, so fgfgfg' - f'g is the negative of the correct expression.Remember: derivative of top times bottom, minus top times derivative of bottom: fgfgf'g - fg', not the reverse.

Tips and when to use something else

  • Memorize the phrase 'low d-high minus high d-low, over low low' (where 'low' is the denominator, 'high' is the numerator, and 'd' means 'derivative'). This catches both the subtraction order and the squared denominator.
  • If both numerator and denominator are complicated, consider rewriting the fraction as a product using negative exponents—for example, fg=fg1\frac{f}{g} = f \cdot g^{-1}—and apply the Product Rule and Chain Rule instead; sometimes that path is simpler.
  • Always simplify your final answer by factoring the numerator and seeing if any factors cancel with the denominator's factors; this often reveals critical points and makes the answer clearer.
  • When the denominator is a constant, you don't need the Quotient Rule: fc=1cf\frac{f}{c} = \frac{1}{c} \cdot f, so just use the constant multiple rule. Similarly, if the numerator is constant, the answer is fgg2\frac{-f \cdot g'}{g^2} without the ff' term.

Frequently asked questions

What is the easiest way to remember the Quotient Rule?
Use the phrase 'low d-high minus high d-low, over low low'—where 'low' is the denominator, 'high' is the numerator, and 'd' means 'derivative of'. This catches both the subtraction order and the squared denominator in one memorable sentence.
Can I use the Quotient Rule if the denominator is a constant?
Yes, the Quotient Rule works fine. If g=cg = c (a constant), then g=0g' = 0, so the formula becomes fcf0c2=cfc2=fc\frac{f' \cdot c - f \cdot 0}{c^2} = \frac{cf'}{c^2} = \frac{f'}{c}. However, you could simplify first to fc\frac{f}{c} and just use the constant multiple rule, which is faster.
Do I need to simplify a fraction before using the Quotient Rule?
You don't have to, but simplifying first can make your work easier. Canceling common factors between numerator and denominator before differentiating gives you a simpler function to work with. Either way, the Quotient Rule will give the correct answer.
Why is the denominator squared in the Quotient Rule?
The denominator is squared because of how quotients transform under differentiation. The rate of change of fg\frac{f}{g} depends on both how ff changes and how gg changes, and the effect of gg changing appears as g2g^2 in the formula. This comes from applying the chain rule to the expression fg1f \cdot g^{-1} if you rewrite the fraction that way.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18