Tutorials › Calculus I › Applying Quotient and Chain Rules Together

Product, Quotient, and Chain Rules · Tutorial 470 of 1495

Applying Quotient and Chain Rules Together

Differentiate quotients of composite functions by finding each inner derivative first and then applying the Quotient Rule.

Intermediate 9 min read

What You'll Learn

  • Identify the numerator and denominator of a composite-function quotient.
  • Differentiate powered expressions in both parts using the Chain Rule.
  • Apply the Quotient Rule with the correct order of terms and parentheses.
  • State where the original quotient, and therefore its derivative, is defined.
  • Check a derivative by evaluating the quotient-rule calculation at a specific input.

When Two Differentiation Rules Are Needed

A quotient can have a numerator and a denominator that each require the Chain Rule. In that situation, the Chain Rule does not replace the Quotient Rule: first find the derivative of each part, then use those two derivatives in the quotient formula.

For instance, in \(\frac{(x^2+1)^3}{(x-2)^2}\), the numerator is a power of an expression involving \(x\), and the denominator is also a power of an expression involving \(x\). Differentiating either part requires accounting for its inner function. After that, the quotient rule combines the results.

Definition: If \(u\) and \(v\) are differentiable functions and \(v(x)\ne 0\), then $$ \left(\frac{u}{v}\right)'(x) = \frac{u'(x)v(x)-u(x)v'(x)}{[v(x)]^2}. $$ When \(u\) or \(v\) is itself composite, calculate \(u'\) or \(v'\) using the appropriate differentiation rules before substituting into this formula.

The condition \(v(x)\ne 0\) matters twice: the original quotient is defined only where its denominator is nonzero, and the quotient-rule formula also divides by the square of that denominator.

A Reliable Order of Work

To keep the two rules distinct, name the entire numerator \(u(x)\) and the entire denominator \(v(x)\). Differentiate each one as a complete function. Only then place \(u\), \(v\), \(u'\), and \(v'\) into the quotient rule.

1
Record the numerator and denominator.
Set \(u(x)\) equal to the full numerator and \(v(x)\) equal to the full denominator. Note any values excluded because \(v(x)=0\).
2
Differentiate each part completely.
Use the Chain Rule wherever an expression is nested inside another function, such as a power.
3
Apply the Quotient Rule.
Form \(u'v-uv'\), in that order, and divide by \(v^2\).
4
Simplify and retain the domain restriction.
Factoring can make the result easier to read, but it does not make an excluded input part of the domain of the original function.

The subtraction order in Step 3 is essential. The derivative of the numerator is multiplied by the denominator, and then the numerator is multiplied by the derivative of the denominator; the second product is subtracted.

Why the Rules Fit Together

The Quotient Rule can be understood by writing a quotient as a product with a reciprocal. The product rule differentiates that product, while the Chain Rule differentiates the reciprocal of the denominator. This explains both the structure of the formula and why the denominator derivative appears in the subtracted term.

Derivation: Let \(u\) and \(v\) be differentiable at \(x\), with \(v(x)\ne 0\). Write \(\frac{u}{v}=u\,v^{-1}\). By the product rule and the Chain Rule applied to the reciprocal function, $$ \left(u\,v^{-1}\right)' =u'v^{-1}+u(-1)v^{-2}v' =\frac{u'}{v}-\frac{uv'}{v^2} =\frac{u'v-uv'}{v^2}. $$ Thus the Quotient Rule follows, and \(u'\) and \(v'\) can themselves be obtained by the Chain Rule whenever the numerator or denominator is composite.

This justification assumes the functions involved are differentiable at the input and \(v\) is nonzero there. In the examples below, the chain-rule derivatives are computed before the quotient-rule substitution, so each factor has a clear source.

Worked Examples

Worked Example: A Powered Polynomial over a Powered Linear Expression

Differentiate \(f(x)=\frac{(x^2+1)^3}{(x-2)^2}\). The denominator is zero at \(x=2\), so the original function is defined for \(x\ne 2\).

Set \(u(x)=(x^2+1)^3\) and \(v(x)=(x-2)^2\). For the numerator, the outer function is a third power and its inner function is \(x^2+1\). Therefore,

$$ u'(x)=3(x^2+1)^2(2x)=6x(x^2+1)^2. $$

For the denominator, the outer function is a square and the inner function is \(x-2\), whose derivative is \(1\). Hence

$$ v'(x)=2(x-2)(1)=2(x-2). $$

Now apply the Quotient Rule, keeping the indicated subtraction order:

$$ \begin{aligned} f'(x) &=\frac{u'v-uv'}{v^2}\\ &=\frac{6x(x^2+1)^2(x-2)^2-(x^2+1)^3\,2(x-2)}{(x-2)^4}. \end{aligned} $$

Factor the common terms \((x^2+1)^2\) and \(x-2\) from the numerator:

$$ \begin{aligned} f'(x) &=\frac{(x^2+1)^2(x-2)\left(6x(x-2)-2(x^2+1)\right)}{(x-2)^4}\\ &=\frac{(x^2+1)^2\left(6x(x-2)-2(x^2+1)\right)}{(x-2)^3}\\ &=\frac{(x^2+1)^2(4x^2-12x-2)}{(x-2)^3}. \end{aligned} $$

For a numerical check, take \(x=0\). The quotient-rule calculation gives \(u(0)=1\), \(v(0)=4\), \(u'(0)=0\), and \(v'(0)=-4\). Thus

$$ f'(0)=\frac{0\cdot 4-1\cdot(-4)}{4^2}=\frac{4}{16}=\frac14. $$

The simplified expression also gives \(\frac{1^2(-2)}{(-2)^3}=\frac{-2}{-8}=\frac14\), as required.

Worked Example: Composite Expressions in Both Parts

Differentiate \(g(x)=\frac{(3x-1)^4}{(x^2+1)^2}\). Since \(x^2+1\) is always positive, this quotient is defined for every real \(x\).

Let \(u(x)=(3x-1)^4\) and \(v(x)=(x^2+1)^2\). Apply the Chain Rule separately:

$$ u'(x)=4(3x-1)^3(3)=12(3x-1)^3, \qquad v'(x)=2(x^2+1)(2x)=4x(x^2+1). $$

Substitute both derivatives into the quotient rule:

$$ \begin{aligned} g'(x) &=\frac{12(3x-1)^3(x^2+1)^2-(3x-1)^4\,4x(x^2+1)}{(x^2+1)^4}\\ &=\frac{4(3x-1)^3(x^2+1)\left(3(x^2+1)-x(3x-1)\right)}{(x^2+1)^4}\\ &=\frac{4(3x-1)^3\left(3x^2+3-3x^2+x\right)}{(x^2+1)^3}\\ &=\frac{4(3x-1)^3(x+3)}{(x^2+1)^3}. \end{aligned} $$

Check at \(x=1\). The original parts have values \(u(1)=2^4=16\) and \(v(1)=2^2=4\). Their derivatives are \(u'(1)=12(2)^3=96\) and \(v'(1)=4(1)(2)=8\). Therefore,

$$ g'(1)=\frac{96\cdot4-16\cdot8}{4^2} =\frac{384-128}{16} =\frac{256}{16} =16. $$

The simplified derivative gives \(\frac{4(2)^3(4)}{(2)^3}=\frac{128}{8}=16\), confirming the result.

Worked Example: A Denominator with a Nonlinear Inner Function

Differentiate \(h(x)=\frac{(2x+1)^2}{(x^2-1)^3}\). The denominator vanishes when \(x^2-1=0\), that is, at \(x=-1\) and \(x=1\). The function is defined only for \(x\ne -1,1\).

Set \(u(x)=(2x+1)^2\) and \(v(x)=(x^2-1)^3\). Their derivatives are

$$ u'(x)=2(2x+1)(2)=4(2x+1), \qquad v'(x)=3(x^2-1)^2(2x)=6x(x^2-1)^2. $$

Using the Quotient Rule gives

$$ h'(x) = \frac{4(2x+1)(x^2-1)^3-(2x+1)^2\,6x(x^2-1)^2}{(x^2-1)^6}. $$

At \(x=0\), the values are \(u(0)=1\), \(v(0)=(-1)^3=-1\), \(u'(0)=4\), and \(v'(0)=0\). The quotient-rule expression therefore gives

$$ h'(0)=\frac{4(-1)-1\cdot0}{(-1)^6}=\frac{-4}{1}=-4. $$

Direct substitution of \(x=0\) into the unsimplified derivative gives the same value: its numerator is \(4(1)(-1)^3-1\cdot0=-4\), and its denominator is \((-1)^6=1\). This check also confirms that the denominator's sign is handled through the powers, rather than being discarded.

A Common Chain-Rule Error

A frequent mistake is to differentiate a power but omit the derivative of its inner expression. In the first example, a student might write \(\frac{d}{dx}(x^2+1)^3=3(x^2+1)^2\). That is incomplete: the inner derivative \(2x\) must also be included.

The error changes the quotient derivative, not merely its appearance. At \(x=1\), the numerator and denominator of \(f\) are \(8\) and \(1\), while the correct derivatives are \(f\)'s numerator derivative \(24\) and denominator derivative \(-2\). The correct quotient-rule calculation gives

$$ \frac{24\cdot1-8\cdot(-2)}{1^2} =24+16 =40. $$

If the inner factor \(2x\) is omitted from the numerator derivative, the incorrectly calculated numerator derivative at \(x=1\) is \(3(2)^2=12\). That produces the wrong result

$$ \frac{12\cdot1-8\cdot(-2)}{1^2} =12+16 =28, $$

which does not agree with the correct calculation. To avoid this, finish and check each chain-rule derivative before beginning the quotient-rule line.

What to Check Before You Finish

A final expression can look complicated even when the steps are systematic. Before accepting it, check that each part has been differentiated as a whole, that the quotient-rule numerator is \(u'v-uv'\), and that the denominator is \(v^2\). Also retain any exclusions from the original denominator. Cancelling a factor during simplification does not redefine the original function at a point where it was undefined.

These checks are useful because the two rules have different jobs. The Chain Rule supplies the derivative of a composite numerator or denominator. The Quotient Rule then combines those results. Keeping that sequence visible makes it easier to locate an error and easier to verify the final expression.

Check Your Understanding

For each question, identify the domain restriction before differentiating when the denominator may be zero.

  1. For \(p(x)=\frac{(x^2+3)^2}{(x+1)^3}\), find the derivatives of the numerator and denominator separately before applying the Quotient Rule.
  2. For \(q(x)=\frac{(4x-1)^3}{(x^2+2)^2}\), which inner derivatives are needed in the two Chain Rule calculations?
  3. State the Quotient Rule using \(u\) and \(v\), and explain why the condition \(v(x)\ne0\) is required.
  4. A calculation uses \(u'v+uv'\) in the numerator. Identify the error and write the correct order of terms.
  5. For \(r(x)=\frac{(x+2)^2}{(x^2-4)^2}\), which inputs are excluded from the domain of the original quotient?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon