Quotient Rule Notes

Published on: September 29, 2026

These Quotient Rule Notes explain how to differentiate one function divided by another, with the working shown 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}\). Examples 3 and 4 give you two more problems of the same kind to try. Try the quotient rule yourself before checking each step.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them 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}}\)
See Example 3 Hide Example 3

Problem

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

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 \(2 x + 1\) and the denominator is \(x + 3\).

\(\begin{gathered} f\left(x\right) = 2 x + 1 \\ g\left(x\right) = x + 3 \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 \(2 x + 1\) to get \(2\).

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

Step 4

Step 4 - Differentiate the denominator.

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

\(g'\left(x\right) = \frac{d}{dx}\left(x + 3\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\right)\left(x + 3\right) - \left(2 x + 1\right)\left(1\right)}{\left(x + 3\right)^{2}}\)

Step 6

Step 6 - Simplify the result.

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

\(y'\left(x\right) = \frac{5}{\left(x + 3\right)^{2}}\)

Final Answer

\(f'\left(x\right) = \frac{5}{\left(x + 3\right)^{2}}\)
See Example 4 Hide Example 4

Problem

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

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 \(\cos{\left(x \right)}\) and the denominator is \(x^{2}\).

\(\begin{gathered} f\left(x\right) = \cos{\left(x \right)} \\ g\left(x\right) = x^{2} \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 \(\cos{\left(x \right)}\) to get \(- \sin{\left(x \right)}\).

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

Step 4

Step 4 - Differentiate the denominator.

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

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

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(- \sin{\left(x \right)}\right)\left(x^{2}\right) - \left(\cos{\left(x \right)}\right)\left(2 x\right)}{\left(x^{2}\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} \sin{\left(x \right)} - 2 x \cos{\left(x \right)}}{\left(x^{2}\right)^{2}} = - \frac{x \sin{\left(x \right)} + 2 \cos{\left(x \right)}}{x^{3}}\)

Final Answer

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

Calculator and Practice Mode