Skip to content
Popular Calculators
Browse Math calculators

Quotient Rule Calculator

Differentiate f(x) = u(x)/v(x) with the quotient rule, showing u′, v′, the substituted formula, the slope at a point and the tangent line.

Use x, ^ for powers and functions such as sin(x), ln(x), sqrt(x), e^x.

The function below the fraction bar.

Optional: a number such as 2, −0.5 or pi/4.

Result

Derivativef′(x) = (2x·(x − 3) − (x^2 + 1))/(x − 3)^2
u, v and their derivativesu = x^2 + 1, u′ = 2x; v = x − 3, v′ = 1
Substituted((2x)·(x − 3) − (x^2 + 1)·1) / (x − 3)²
At the pointf′(1) = −1.5, and f(1) = −1
Tangent liney = −1.5x + 0.5
Worth knowingf has no value where v(x) = 0; you can check the answer with the product rule on u·v⁻¹

How this was calculated

  1. Quotient rule(u/v)′ = (u′v − uv′) / v²
  2. Derivativesu′ = 2x, v′ = 1
  3. Substitute((2x)·(x − 3) − (x^2 + 1)·1) / (x − 3)²
  4. At x = 1f′ = −1.5, tangent y = −1.5x + 0.5

About the Quotient Rule Calculator

Many functions in calculus are fractions: rational functions such as (x² + 1)/(x − 3), trigonometric ratios such as sin(x)/x, and growth models with an exponential on top or bottom. To differentiate a fraction you need the quotient rule, and it is easy to slip on the order of the terms or forget to square the denominator.

This quotient rule calculator takes the numerator u(x) and the denominator v(x) as you would write them, differentiates each one symbolically, substitutes them into the quotient rule and shows the result. If you give a point, it also evaluates the slope there and writes the equation of the tangent line, so you can check homework answers or graphing work in one place.

How to Use the Quotient Rule Calculator

Enter the numerator u(x), the expression above the fraction bar. Use x as the variable, ^ for powers, and functions such as sin(x), cos(x), tan(x), ln(x), log(x), sqrt(x), exp(x) or e^x. Implicit multiplication like 2x or 3sin(x) is understood.

Enter the denominator v(x), the expression below the fraction bar.

Optionally enter a point to evaluate the derivative there. It can be a number such as 2 or −0.5, or an expression such as pi/4.

The Formulas

  f(x)  = u(x) / v(x)
  f′(x) = (u′(x) · v(x) − u(x) · v′(x)) / v(x)²
  tangent at x = a:  y = f(a) + f′(a)(x − a)

Step-by-Step Example

Differentiate f(x) = (x² + 1)/(x − 3) and find the tangent line at x = 1.

  u = x² + 1        u′ = 2x
  v = x − 3         v′ = 1
  f′(x) = (2x(x − 3) − (x² + 1) · 1) / (x − 3)²
  at x = 1:  f′(1) = (2 · (−2) − 2) / (−2)² = −6 / 4 = −1.5
             f(1)  = 2 / (−2) = −1
  tangent:   y = −1 − 1.5(x − 1) = −1.5x + 0.5

Expanding the numerator gives 2x² − 6x − x² − 1 = x² − 6x − 1, so a textbook might write the answer as (x² − 6x − 1)/(x − 3)². Both forms are equal for every x except 3, where the function itself is undefined.

Why the Order Matters

The product rule is symmetric: (uv)′ = u′v + uv′, and swapping the terms changes nothing. The quotient rule has a subtraction, so the order is fixed. Writing uv′ − u′v instead of u′v − uv′ flips the sign of the whole answer, which is one of the most common errors in first-year calculus. The rhyme "low d-high minus high d-low, over the square of what's below" keeps the order straight: the denominator times the derivative of the numerator comes first.

A quick check is to test a simple case you already know. For f(x) = 1/x, the quotient rule gives (0 · x − 1 · 1)/x² = −1/x², which matches the power rule applied to x⁻¹. If your version of the rule gives +1/x², the order is reversed.

Quotient Rule Versus Other Methods

Any quotient can be rewritten as a product, u · v⁻¹, and differentiated with the product rule and the chain rule. That route gives u′v⁻¹ − uv′v⁻², which simplifies to the same quotient rule result. Some students prefer it because there is one less formula to remember; others find the quotient rule tidier for rational functions.

When the denominator is a constant, the quotient rule is unnecessary: (x² + 1)/5 is just (1/5)(x² + 1), whose derivative is 2x/5. When the numerator is a constant, as in 3/(x² + 1), rewriting as 3(x² + 1)⁻¹ and using the chain rule is often quicker, giving −6x/(x² + 1)². The calculator handles all of these cases, so you can compare the forms.

Supported Functions and Input Tips

The calculator differentiates powers, polynomials, sin, cos, tan, sec, csc and cot, inverse trigonometric functions (asin, acos, atan), hyperbolic functions (sinh, cosh, tanh), sqrt, natural log ln, base-10 log, exp and absolute value, with the chain rule applied automatically. Powers such as x^x, where both the base and the exponent contain x, are handled through logarithmic differentiation.

Use brackets generously. Write sin(2x) rather than sin 2x, and e^(2x) rather than e^2x, which means e² · x. Write 1/(x + 1) for a fraction with a sum underneath; 1/x + 1 means one over x, plus one. Angles in trigonometric functions are in radians, as in all calculus.

Where Quotient Rule Derivatives Are Used

The derivative of a quotient appears whenever a rate is a ratio. Average cost per unit is total cost divided by quantity, and its derivative shows whether making more units lowers the average cost. Concentration in a mixing tank is the amount of substance divided by the volume, both changing in time. The tangent function itself is sin/cos, and the quotient rule is how its derivative sec²(x) is first derived.

Finding where a quotient's derivative is zero locates maximums and minimums. For f(x) = x/(x² + 1), the derivative (x² + 1 − 2x²)/(x² + 1)² is zero when x² = 1, so the function peaks at x = 1 with value 0.5 and bottoms out at x = −1.

Understanding Your Result

The headline shows f′(x) as a formula. It is tidied, so terms like 1 · v are simplified, but brackets are not expanded.

The u, v and their derivatives line lists the four pieces that go into the rule.

The substituted line shows the rule with those pieces in place, before simplification, matching how you would write it by hand.

The at the point line gives the slope f′(a) and the function value f(a).

The tangent line gives the line touching the curve at that point in the form y = mx + b.

When Should You Use This Calculator?

Use it to check a derivative you worked out by hand.

Use it to find the slope or tangent line of a rational or trigonometric function at a point.

Use it to see the intermediate steps when learning the quotient rule.

Common Mistakes

Reversing the subtraction. It is u′v − uv′, not uv′ − u′v.

Forgetting to square the denominator. The bottom of the answer is v², not v.

Missing brackets in the input. Write e^(2x) and 1/(x + 1), not e^2x and 1/x + 1.

Evaluating where v = 0. The function and its derivative are undefined there.

Frequently Asked Questions

What is the quotient rule?

For f(x) = u(x)/v(x), the derivative is (u′v − uv′) divided by v². Differentiate the top and bottom separately, then combine them in that order; the minus sign makes the order important, unlike the product rule.

How do I remember the quotient rule?

A common rhyme is low d-high minus high d-low, over the square of what's below. Low is the denominator, high is the numerator and d means derivative, which gives (v·u′ − u·v′)/v².

What is the derivative of (x² + 1)/(x − 3)?

Here u′ = 2x and v′ = 1, so f′(x) = (2x(x − 3) − (x² + 1))/(x − 3)². At x = 1 the slope is (−4 − 2)/4 = −1.5, and the tangent line is y = −1.5x + 0.5.

When should I use the quotient rule instead of the product rule?

Use it whenever a function is a fraction with x in the denominator. You can also rewrite u/v as u·v⁻¹ and use the product and chain rules, which gives the same answer after simplifying.

Where is the derivative undefined?

Wherever the denominator v(x) equals zero, because the original function is undefined there too. The calculator reports this when you evaluate at such a point, for example 1/x at x = 0.

Do I need to simplify the answer?

Not for correctness. The calculator tidies obvious terms such as multiplying by 1, but it does not expand brackets or cancel factors, so a textbook answer may look different while being equal for every x.

Formula and article last checked September 28, 2026. How we test these calculators.