Quotient Rule Calculator

Published on: April 27, 2025
Final Answer: Free | Full Steps: Plus

This Quotient Rule Calculator differentiates one function divided by another, and shows the working line by line. The numerator of the answer subtracts in a fixed order, so which function is on top matters and swapping them flips the sign. The denominator is squared. Following the same pattern every time keeps the order of subtraction and the squared denominator from being muddled.

Step-by-step method

  1. Set up the problem.
  2. Write the quotient rule formula.
  3. Differentiate the numerator.
  4. Differentiate the denominator.
  5. Substitute into the quotient rule formula.
  6. Simplify the result.

Formula: Quotient Rule

This rule differentiates one function divided by another. Take the bottom times the derivative of the top, subtract the top times the derivative of the bottom, then divide by the bottom squared.

\(\frac{d}{dx}\left(\frac{f\left(x\right)}{g\left(x\right)}\right) = \frac{f'\left(x\right)g\left(x\right) - f\left(x\right)g'\left(x\right)}{\left[g\left(x\right)\right]^{2}}\)

Useful Tips to Remember

The quotient rule says \(\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}\). The order in the numerator matters because of the minus sign, so it always starts with the derivative of the top. Do not forget to square the denominator. Sometimes rewriting the quotient as a product with a negative power makes the differentiation simpler.

Required knowledge

Where Is the Quotient Rule Used?

The quotient rule differentiates one function divided by another, using \(\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}\). It is needed for rates and averages that change, such as average cost per item, fuel efficiency or the concentration of a solution. Differentiating average cost shows the production level where each item is cheapest to make. In physics and chemistry, it handles formulas with variables in the denominator, and it is also how the derivative of \(\tan x\) and other trigonometric ratios is found.

  • Minimising the average cost per item in business
  • Finding how concentration changes as a solution is diluted
  • Differentiating \(\tan x\) and rational functions
  • Working with efficiency and rate formulas
  • Analysing how a medicine's concentration in the blood changes

Quotient Rule Practice Problems

Example 1 differentiates \(\frac{x^2 + 1}{x - 1}\), and Example 2 differentiates \(\frac{\sin x}{x}\). Try the quotient rule yourself before checking each step. For two more free worked examples, check out the Quotient Rule Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(f\left(x\right) = \frac{x^{2} + 1}{x - 1}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the quotient rule formula.
  3. Differentiate the numerator.
  4. Differentiate the denominator.
  5. Substitute into the quotient rule formula.
  6. Simplify the result.

Formula

Formula: Quotient Rule

This rule differentiates one function divided by another. Take the bottom times the derivative of the top, subtract the top times the derivative of the bottom, then divide by the bottom squared.

\(\frac{d}{dx}\left(\frac{f\left(x\right)}{g\left(x\right)}\right) = \frac{f'\left(x\right)g\left(x\right) - f\left(x\right)g'\left(x\right)}{\left[g\left(x\right)\right]^{2}}\)

Step 1

Step 1 - Set up the numerator f(x) and the denominator g(x).

In this problem: The numerator is \(x^{2} + 1\) and the denominator is \(x - 1\).

\(\begin{gathered} f\left(x\right) = x^{2} + 1 \\ g\left(x\right) = x - 1 \end{gathered}\)

Step 2

Step 2 - Write the quotient rule formula.

In this problem: The derivative of a quotient is: bottom times derivative of top, minus top times derivative of bottom, all over the bottom squared.

\(\frac{d}{dx}\left(\frac{f\left(x\right)}{g\left(x\right)}\right) = \frac{f'\left(x\right)g\left(x\right) - f\left(x\right)g'\left(x\right)}{\left[g\left(x\right)\right]^{2}}\)

Step 3

Step 3 - Differentiate the numerator.

In this problem: Differentiate \(x^{2} + 1\) to get \(2 x\).

\(f'\left(x\right) = \frac{d}{dx}\left(x^{2} + 1\right) = 2 x\)

Step 4

Step 4 - Differentiate the denominator.

In this problem: Differentiate \(x - 1\) to get \(1\).

\(g'\left(x\right) = \frac{d}{dx}\left(x - 1\right) = 1\)

Step 5

Step 5 - Substitute into the quotient rule formula.

In this problem: Substitute the functions and their derivatives into the formula.

\(y'\left(x\right) = \frac{\left(2 x\right)\left(x - 1\right) - \left(x^{2} + 1\right)\left(1\right)}{\left(x - 1\right)^{2}}\)

Step 6

Step 6 - Simplify the result.

In this problem: Expand the numerator and simplify the fraction.

\(y'\left(x\right) = \frac{x^{2} - 2 x - 1}{\left(x - 1\right)^{2}}\)

Final Answer

\(f'\left(x\right) = \frac{x^{2} - 2 x - 1}{\left(x - 1\right)^{2}}\)
See Example 2 Hide Example 2

Problem

\(f\left(x\right) = \frac{\sin{\left(x \right)}}{x}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the quotient rule formula.
  3. Differentiate the numerator.
  4. Differentiate the denominator.
  5. Substitute into the quotient rule formula.
  6. Simplify the result.

Formula

Formula: Quotient Rule

This rule differentiates one function divided by another. Take the bottom times the derivative of the top, subtract the top times the derivative of the bottom, then divide by the bottom squared.

\(\frac{d}{dx}\left(\frac{f\left(x\right)}{g\left(x\right)}\right) = \frac{f'\left(x\right)g\left(x\right) - f\left(x\right)g'\left(x\right)}{\left[g\left(x\right)\right]^{2}}\)

Step 1

Step 1 - Set up the numerator f(x) and the denominator g(x).

In this problem: The numerator is \(\sin{\left(x \right)}\) and the denominator is \(x\).

\(\begin{gathered} f\left(x\right) = \sin{\left(x \right)} \\ g\left(x\right) = x \end{gathered}\)

Step 2

Step 2 - Write the quotient rule formula.

In this problem: The derivative of a quotient is: bottom times derivative of top, minus top times derivative of bottom, all over the bottom squared.

\(\frac{d}{dx}\left(\frac{f\left(x\right)}{g\left(x\right)}\right) = \frac{f'\left(x\right)g\left(x\right) - f\left(x\right)g'\left(x\right)}{\left[g\left(x\right)\right]^{2}}\)

Step 3

Step 3 - Differentiate the numerator.

In this problem: Differentiate \(\sin{\left(x \right)}\) to get \(\cos{\left(x \right)}\).

\(f'\left(x\right) = \frac{d}{dx}\left(\sin{\left(x \right)}\right) = \cos{\left(x \right)}\)

Step 4

Step 4 - Differentiate the denominator.

In this problem: Differentiate \(x\) to get \(1\).

\(g'\left(x\right) = \frac{d}{dx}\left(x\right) = 1\)

Step 5

Step 5 - Substitute into the quotient rule formula.

In this problem: Substitute the functions and their derivatives into the formula.

\(y'\left(x\right) = \frac{\left(\cos{\left(x \right)}\right)\left(x\right) - \left(\sin{\left(x \right)}\right)\left(1\right)}{\left(x\right)^{2}}\)

Step 6

Step 6 - Simplify the result.

In this problem: Expand the numerator and simplify the fraction.

\(y'\left(x\right) = \frac{x \cos{\left(x \right)} - \sin{\left(x \right)}}{\left(x\right)^{2}}\)

Final Answer

\(f'\left(x\right) = \frac{x \cos{\left(x \right)} - \sin{\left(x \right)}}{x^{2}}\)

Notes and Practice Mode

Example Problems

Click one to load it into the box and solve it.