Dividing one function by another is everywhere in calculus — rates built from two changing quantities, rational functions, tangent and other ratios. Differentiating such a function by hand means applying the quotient rule, which is famous less for being hard than for being easy to scramble: one sign slips, the squares land on the wrong term, and the answer quietly goes wrong. This calculator applies the rule in the correct order every time, so you can check homework, verify a long derivation, or get a derivative you trust before you build the rest of a problem on it.
Quick Answer
For h(x) = f(x) / g(x), the derivative is h′(x) = [ f′(x)·g(x) − f(x)·g′(x) ] / [ g(x) ]². The denominator's derivative order matters: it is low times the derivative of high, minus high times the derivative of low, all over low squared.
Separating the Numerator from the Denominator
The quotient rule exists because a division is not a product, and the derivative of a ratio is not the ratio of the derivatives. If you simply divided f′(x) by g′(x), you would be answering a different question. The rule instead tracks how the ratio changes when both parts move at once: the numerator pulling the value up or down, the denominator stretching or shrinking it.
Read the formula in three pieces. The first term, f′(x)·g(x), captures the change contributed by the numerator while the denominator is held still. The second term, f(x)·g′(x), captures the denominator's own change — and it is subtracted, because a growing denominator pulls the value of the fraction down. The division by [g(x)]² rescales everything: because the denominator appears in the original function once, its squared form is what makes the units and the magnitude come out right.
Two conditions ride along with the formula. First, g(x) must not equal zero at any point where you evaluate the derivative, because the original function is undefined there too. Second, both f and g must themselves be differentiable. Students often remember the pattern with the phrase "low d-high minus high d-low, over low squared" — where "low" is the denominator and "high" is the numerator, and "d" means "derivative of".
How to Use the Quotient Rule Calculator
- Rewrite your function clearly as one function divided by another, and decide which part is f(x) (top) and which is g(x) (bottom) before entering anything.
- Enter the numerator expression exactly as written, keeping brackets around sums such as (x² + 1).
- Enter the denominator expression the same way, again with brackets if it contains more than one term.
- Run the calculation and read the derivative in its unsimplified form first — this shows the rule's structure before anything is tidied.
- Compare the simplified result with your own working, term by term, especially the minus sign and the squared denominator.
- If you need the derivative's value at a specific point, substitute that x-value into the finished derivative, and check the denominator of the original function is not zero there.
A Worked Example: Differentiating (x² + 1) / (2x − 3)
Let f(x) = x² + 1 and g(x) = 2x − 3. Their derivatives are f′(x) = 2x and g′(x) = 2. Substituting into the formula gives h′(x) = [ 2x·(2x − 3) − (x² + 1)·2 ] / (2x − 3)². Expanding the top: 2x·(2x − 3) = 4x² − 6x, and (x² + 1)·2 = 2x² + 2. Subtracting, 4x² − 6x − 2x² − 2 = 2x² − 6x − 2. So h′(x) = (2x² − 6x − 2) / (2x − 3)², which factors tidily to 2(x² − 3x − 1) / (2x − 3)². Notice the middle term is −6x, not −2x: the most common slip in this example is multiplying only part of the numerator through. The derivative is undefined at x = 1.5, exactly where the original fraction has its vertical asymptote — a good consistency check.
Where Quotient Rule Answers Usually Go Wrong
The classic error is swapping the subtraction order, computing f·g′ − g·f′ instead and flipping the sign of the whole derivative. The second most common is forgetting to square the denominator, or squaring only its first term. A third trap appears with trigonometric ratios: differentiating tan x by writing it as sin x / cos x is perfectly valid, but the simplification to sec²x only appears if you remember that cos²x + sin²x = 1. Finally, resist simplifying before you differentiate — cancelling a factor that contains x changes the function unless the cancellation is valid for all x in the domain. If your function is actually a product in disguise, the related Product Rule Calculator is the matching tool, and rewriting 1/g(x) as g(x)⁻¹ and using the chain rule is a legitimate cross-check of any quotient rule result.
Quotient Rule or Rewrite as a Product?
Every quotient can be rewritten as a product — f(x)/g(x) is f(x)·[g(x)]⁻¹ — which raises a fair question: should you ever use the quotient rule at all, or always rewrite and use the product rule plus the chain rule? The two routes always agree, as they must. Differentiating (x² + 1)/(2x − 3) the second way gives 2x·(2x − 3)⁻¹ + (x² + 1)·(−1)(2x − 3)⁻²·2; putting both terms over the common denominator (2x − 3)² returns exactly (2x² − 6x − 2)/(2x − 3)², the result from the worked example above. So the choice is tactical, not mathematical. The rewrite is often quicker when the denominator is a single term or a simple power — (sin x)/x³ becomes (sin x)·x⁻³ and differentiates in two lines. The quotient rule is safer when the denominator is a sum, because the negative-power form invites exactly the chain-rule slip (dropping the inner derivative, or the minus sign) that the quotient rule's rigid structure prevents. A useful habit for high-stakes work: compute the derivative by whichever route feels natural, then verify it by the other. Agreement between two genuinely different methods is stronger evidence than re-reading one method twice.
Building the Rest of the Problem on a Derivative You Trust
A quotient derivative is rarely the final answer — it feeds tangent lines, increasing/decreasing analysis, and optimisation problems, so an early sign error poisons everything downstream. Verify your result here, then hand the same function to the Derivative Calculator as an independent check, and browse the wider math calculators collection for the follow-on tools your problem needs.