How to differentiate a quotient

The quotient rule computes the derivative of a function expressed as the ratio of two differentiable functions. It applies whenever you need to find the derivative of h(x)=f(x)g(x)h(x) = \frac{f(x)}{g(x)} where g(x)eq0g(x) eq 0.

The setup

Given a function h(x)=f(x)g(x)h(x) = \frac{f(x)}{g(x)}, the quotient rule states that h(x)=f(x)g(x)f(x)g(x)[g(x)]2h'(x) = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}. You must identify the numerator function f(x)f(x) and the denominator function g(x)g(x) before proceeding.

The steps

  1. Identify the numerator f(x)f(x) and denominator g(x)g(x).
  2. Compute the derivatives f(x)f'(x) and g(x)g'(x).
  3. Substitute f(x)f(x), f(x)f'(x), g(x)g(x), and g(x)g'(x) into the quotient rule formula.
  4. Expand and simplify the numerator.

Checking the result

To verify your result, rewrite the original function as a product: h(x)=f(x)[g(x)]1h(x) = f(x)[g(x)]^{-1}. Apply the product rule and chain rule to differentiate, then combine the terms over a common denominator to ensure it matches your quotient rule output.

Common errors

The most frequent error is reversing the order of subtraction in the numerator, writing f(x)g(x)f(x)g(x)f(x)g'(x) - f'(x)g(x) instead of f(x)g(x)f(x)g(x)f'(x)g(x) - f(x)g'(x). Another standard error is forgetting to square the denominator in the final expression.

Worked example

Differentiate y=x2+3xx1y = \frac{x^2 + 3x}{x - 1}.

Let f(x)=x2+3xf(x) = x^2 + 3x and g(x)=x1g(x) = x - 1. Compute the derivatives: f(x)=2x+3f'(x) = 2x + 3 g(x)=1g'(x) = 1 Apply the quotient rule: y=(2x+3)(x1)(x2+3x)(1)(x1)2y' = \frac{(2x + 3)(x - 1) - (x^2 + 3x)(1)}{(x - 1)^2} Expand the terms in the numerator: (2x22x+3x3)(x2+3x)=2x2+x3x23x(2x^2 - 2x + 3x - 3) - (x^2 + 3x) = 2x^2 + x - 3 - x^2 - 3x Combine like terms: x22x3x^2 - 2x - 3 State the final derivative: y=x22x3(x1)2y' = \frac{x^2 - 2x - 3}{(x - 1)^2}

FAQ

Run your own problem

References: Stewart Calculus, Chapter 3 · OpenStax Calculus Volume 1, Chapter 3 · Khan Academy, Derivative rules

See also