DerivCalc
Ratios of functions

Quotient Rule Calculator

Calculate a relevant example, then learn the rule well enough to reproduce and check every step yourself.

Static educational guide4 worked examplesReviewed September 30, 2026
Interactive check

Try the rule calculator

Use ^ for powers, * for multiplication, and parentheses for function inputs.

Definition and meaning

The quotient rule handles a ratio h(x)=f(x)/g(x): h'(x)=[f'(x)g(x)-f(x)g'(x)]/[g(x)]^2, wherever g(x) is nonzero. The subtraction order matters. A useful memory cue is ‘denominator times derivative of numerator minus numerator times derivative of denominator, over denominator squared.’

Why the rule works

Write f/g as f times g^-1. Applying the product rule gives f'g^-1+f(-1)g^-2g'. Putting both terms over g^2 produces (f'g-fg')/g^2. This derivation connects the quotient rule to rules students already know and makes both the minus sign and squared denominator less arbitrary.

A reliable hand method

Label numerator and denominator, compute their derivatives separately, substitute them into the formula without simplifying mentally, then simplify the numerator. Keep the original excluded denominator values even if algebra later cancels a factor. Sometimes rewriting the quotient as a product or simplifying first is shorter.

Example 1: x^2/(x+1)

Answer: x(x+2)/(x+1)^2

  1. Set f=x^2 and g=x+1.
  2. Expand 2x(x+1)-x^2, then factor the numerator.

Example 2: sin(x)/x

Answer: [x cos(x)-sin(x)]/x^2

  1. The numerator derivative is cos(x).
  2. The original domain excludes x=0.

Example 3: ln(x)/x

Answer: [1-ln(x)]/x^2

  1. Use 1/x for the derivative of ln(x).
  2. The real domain is x>0.

Example 4: (x+1)/(x-1)

Answer: -2/(x-1)^2

  1. Form (x-1)-(x+1) in the numerator.
  2. Simplify to -2 and retain x≠1.

Common mistakes

Reversing the numerator subtraction changes the sign of every answer. Squaring only g' instead of the original denominator is another frequent error. Do not cancel across addition or subtraction. Parentheses around the entire numerator prevent sign mistakes when distributing the minus sign.

Scope note. A simplified derivative does not restore holes in the original function. If a common factor cancels, record the excluded point from the starting denominator. Near zeros of the denominator, the derivative can grow without bound, so numerical checks must avoid those unstable points.

How to verify an answer

Differentiate the expression independently, compare the structure of each term, and substitute a safe numerical value into both the symbolic derivative and a centered difference quotient. Avoid points outside the original domain and points near a discontinuity. A matching numerical value increases confidence, but it cannot establish equality for every input. Algebraic reasoning and domain analysis remain necessary.

When the calculator and handwritten work differ, first check parentheses, multiplication symbols, the selected variable, and any missing chain-rule factor. Then factor or expand both answers to see whether they are equivalent. The DerivCalc methodology explains why simplification is deliberately conservative.

Related derivative calculators

Questions about this calculator

Can I use the Quotient Rule Calculator for homework checks?

Yes. Compare the result and named rules with your own work, then check domain restrictions. The numerical spot-check is a consistency test, not a formal proof.

Why can an equivalent answer look different?

Factoring, expanding, reciprocal notation, and trigonometric identities can produce different-looking expressions with the same values on their shared domain.

Does the calculator replace learning the rule?

No. It is designed to expose the rule and intermediate reasoning. The worked examples explain how to select and apply the method by hand.

Editorial standard: formulas and notation are checked against OpenStax Calculus Volume 1, Chapter 3. Content is written and maintained by SilverCodeLabs. Report a correction with the exact expression and expected result.