How do you use the quotient rule for derivatives?

Quotient rule for derivatives with worked examples

The quotient rule differentiates one function divided by another. If y = f(x)/g(x), then y′ = [f′(x)g(x) − f(x)g′(x)] / [g(x)]². The numerator order matters: derivative of the top times bottom, minus top times derivative of the bottom.

What you should know first

  • Product and power rules
  • Derivatives of exponential and trigonometric functions
  • Squaring and simplifying algebraic denominators

The explanation

Label top and bottom

Write f for the numerator and g for the denominator. Calculate f′ and g′ separately, then substitute into (f′g − fg′)/g². Squaring the entire denominator is essential.

Protect the subtraction order

The two numerator terms are not interchangeable. Reversing them changes the sign of the derivative. A memory aid is 'low d-high minus high d-low, over low squared,' where d-high means the derivative of the numerator.

Simplify first when it helps

The quotient rule always works where g(x) ≠ 0, but it is not always fastest. For x³/x², simplify to x first. For 1/g(x), either use the quotient rule or rewrite as g(x)^(−1) and apply the chain rule.

What this covers

  • Applying (f′g − fg′)/g²
  • Keeping the numerator subtraction in order
  • Combining quotient and chain rules
  • Simplifying without losing signs

Worked examples

Example 1

Differentiate y = sin(x)/x, for x ≠ 0

  1. 1
    Label numerator and denominator
    f = sin(x), g = x, so f′ = cos(x) and g′ = 1.
  2. 2
    Build the numerator
    f′g − fg′ = cos(x) · x − sin(x) · 1.
  3. 3
    Divide by g²
    The denominator is x².
Answer: y′ = [x cos(x) − sin(x)]/x²
Example 2

Differentiate y = (x² + 1)/(x − 1), for x ≠ 1

  1. 1
    Find the derivatives
    f = x² + 1 and g = x − 1, so f′ = 2x and g′ = 1.
  2. 2
    Apply the quotient rule
    y′ = [2x(x − 1) − (x² + 1)]/(x − 1)².
  3. 3
    Expand only the numerator
    2x(x − 1) = 2x² − 2x. Subtracting x² + 1 gives x² − 2x − 1.
Answer: y′ = (x² − 2x − 1)/(x − 1)²

Mistakes that cost marks

  • Reversing the subtraction and getting the opposite sign.
  • Writing the denominator as g instead of g².
  • Differentiating the top and bottom separately as f′/g′.
  • Dropping parentheses when subtracting fg′.
  • Applying the rule where the denominator equals zero.

10 practice questions with step-by-step answers

Pick an answer to see if you're right and why.

  1. 1. 1. Differentiate x/(x + 1), for x ≠ −1.

  2. 2. 2. Differentiate e^x/x, for x ≠ 0.

  3. 3. 3. Differentiate x²/sin(x), where sin(x) ≠ 0.

  4. 4. 4. Differentiate (x + 1)/(x − 1), for x ≠ 1.

  5. 5. 5. Differentiate ln(x)/x, for x > 0.

  6. 6. 6. Differentiate sin(x)/cos(x) using the quotient rule.

  7. 7. 7. Differentiate 1/(x² + 1).

  8. 8. 8. For f/g, what happens if you reverse the quotient-rule numerator to fg′ − f′g?

  9. 9. 9. Differentiate (3x²)/(x² + 1).

  10. 10. 10. Which is the simplest first step for differentiating x³/x², x ≠ 0?

Questions students ask

What is the quotient rule formula?

For f/g, it is (f′g − fg′)/g². The denominator must be nonzero, and the subtraction in the numerator must stay in that order.

Is the quotient rule just derivative of top divided by derivative of bottom?

No. f′/g′ is generally incorrect. The derivative depends on both the values and derivatives of the numerator and denominator through (f′g − fg′)/g².

Can I avoid the quotient rule?

Sometimes you can simplify first or rewrite a reciprocal as a negative power and use the chain rule. For a general ratio of two nontrivial functions, the quotient rule is usually the clearest method.

Continue with a personalized 14-day study plan

Take the free adaptive diagnostic to find your weakest calculus concept, get your first learning step, and preview a plan built from your answers. No card is needed.

Related topics

Browse all maths, physics and chemistry questions