Tutorials › Calculus I › Rule Sequences for Mixed Products and Quotients

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

Rule Sequences for Mixed Products and Quotients

Learn a reliable way to organize mixed product-and-quotient derivatives, including how to handle inner products, quotients, and composite expressions.

Intermediate 10 min read

What You'll Learn

  • Identify the outermost operation in a mixed expression.
  • Choose a sequence of product and quotient rules that matches the expression’s structure.
  • Differentiate product numerators and composite denominators without omitting terms.
  • Keep quotient-rule signs and parentheses organized.
  • Check a mixed derivative using an independent evaluation.

Why the Order of the Rules Matters

A complicated derivative can be difficult not because any one rule is unfamiliar, but because several rules are nested together. An expression may be a quotient whose numerator is a product, or a product with a quotient as one of its factors. In either case, the derivative depends on identifying the expression’s structure before beginning the algebra.

The guiding principle is to start with the outermost operation: the final addition, multiplication, quotient, or composition that combines the main pieces of the expression. Apply its derivative rule first. Then differentiate the pieces required by that rule, using their own structure to choose the next rule.

Key idea: A derivative calculation is a sequence of rules. Begin with the operation that combines the largest pieces of the expression, then work inward only as far as the required derivatives demand.

The Rules Needed for a Mixed Sequence

Suppose \(u\), \(v\), and \(w\) are differentiable functions of \(x\). The product rule is

$$ (uv)'=u'v+uv'. $$

It applies when the expression is a product. Both terms are required: the first differentiates the first factor, and the second differentiates the second factor.

When \(w(x)\ne 0\), the quotient rule is

$$ \left(\frac{u}{w}\right)' = \frac{u'w-uw'}{w^2}. $$

The numerator is a difference, and the order matters: the first term is \(u'w\), and the second is \(uw'\). The denominator is squared. In applying this rule, \(u\) and \(w\) may themselves be products, quotients, or composite functions. Their derivatives must be found using the corresponding rules.

The chain rule is needed when a function is composed with another function. If \(F\) is differentiable at \(g(x)\) and \(g\) is differentiable at \(x\), then

$$ \frac{d}{dx}F(g(x))=F'(g(x))g'(x). $$

For example, differentiating \((x^2+4)^2\) requires the chain rule: its derivative is \(2(x^2+4)(2x)\), not just \(2(x^2+4)\).

A Sequence for Mixed Products and Quotients

Before differentiating, rewrite the expression with clear parentheses. Then identify whether its outermost operation is a product or quotient. The choice determines the first rule; the structure of each factor or numerator and denominator determines the next rules.

1
Write the expression’s structure.
Use parentheses to separate the main factors or the numerator and denominator.
2
Apply the outermost rule.
For a product, write both product-rule terms. For a quotient, write the full quotient-rule numerator and squared denominator.
3
Find the required inner derivatives.
Use product, quotient, or chain rules for any component that needs further differentiation.
4
Simplify and check.
Keep parentheses until substitutions are complete, simplify carefully, and compare with a direct evaluation of the rule-based expression when useful.

This procedure does not mean that every visible operation must be differentiated separately in the same order. It means that each derivative rule is selected according to the structure of the function being differentiated. In particular, the quotient rule requires the derivatives of both its numerator and denominator; if the numerator is a product, its derivative must include both product-rule terms.

Why the Nested Rule Sequence Works

Consider a function written as a product divided by another function:

$$ y=\frac{u(x)v(x)}{w(x)}, \qquad w(x)\ne 0. $$

First regard the whole numerator as one function, \(N(x)=u(x)v(x)\). The quotient rule gives \(y'=(N'w-Nw')/w^2\). Since the numerator is a product of differentiable functions, the product rule gives \(N'=u'v+uv'\). Substituting that result into the quotient rule yields

$$ y' = \frac{(u'v+uv')w-uvw'}{w^2}. $$

This derives the mixed formula by applying the quotient rule to the outer quotient and the product rule to its numerator. The conditions are that \(u\), \(v\), and \(w\) are differentiable at the point under consideration and \(w\ne 0\) there. If any of \(u\), \(v\), or \(w\) contains a composite expression, its derivative must also satisfy the conditions of the chain rule.

Worked Example: A Product in the Numerator

Worked Example: A Product in the Numerator

Differentiate

$$ y=\frac{(x^2+1)(x-1)}{x+1}, \qquad x\ne -1. $$

The outermost operation is a quotient. Set \(N=(x^2+1)(x-1)\) and \(D=x+1\). The quotient rule requires \(N'\) and \(D'\). The numerator \(N\) is a product, so apply the product rule:

$$ \begin{aligned} N' &=2x(x-1)+(x^2+1)(1)\\ &=2x^2-2x+x^2+1\\ &=3x^2-2x+1, \qquad D'=1. \end{aligned} $$

Now apply the quotient rule, preserving the order of its numerator terms:

$$ \begin{aligned} y' &=\frac{N'D-ND'}{D^2}\\ &=\frac{(3x^2-2x+1)(x+1)-(x^2+1)(x-1)(1)}{(x+1)^2}\\ &=\frac{(3x^2-2x+1)(x+1)-(x^2+1)(x-1)}{(x+1)^2}. \end{aligned} $$

To simplify, expand each product:

$$ \begin{aligned} (3x^2-2x+1)(x+1)&=3x^3+x^2-x+1,\\ (x^2+1)(x-1)&=x^3-x^2+x-1. \end{aligned} $$

Subtracting the second expression from the first gives \(2x^3+2x^2-2x+2\). Therefore,

$$ y'=\frac{2x^3+2x^2-2x+2}{(x+1)^2}. $$

Check at \(x=0\). The unsimplified quotient-rule calculation has \(N(0)=-1\), \(N'(0)=1\), \(D(0)=1\), and \(D'(0)=1\), so it gives \((1\cdot1-(-1)\cdot1)/1^2=2\). The simplified formula gives \(2/1=2\) as well.

Worked Example: A Composite Denominator and a Product Numerator

Worked Example: A Composite Denominator and a Product Numerator

Differentiate

$$ y=\frac{(x^2+1)(2x-3)}{x^2+4}. $$

The outermost operation is a quotient. Let \(N=(x^2+1)(2x-3)\) and \(D=x^2+4\). Apply the product rule to \(N\). The derivatives of the factors are \(2x\) and \(2\), respectively:

$$ \begin{aligned} N' &=2x(2x-3)+(x^2+1)(2)\\ &=4x^2-6x+2x^2+2\\ &=6x^2-6x+2. \end{aligned} $$

For the denominator, the chain rule gives \(D'=2(x^2+4)(2x)/(2(x^2+4))\), or, directly by differentiating the sum, \(D'=2x\). Thus the quotient rule gives

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

Expand the first product:

$$ (6x^2-6x+2)(x^2+4) =6x^4-6x^3+26x^2-24x+8. $$

The numerator product in the second term is \((x^2+1)(2x-3)=2x^3-3x^2+2x-3\). Multiplication by \(2x\) gives

$$ (2x^3-3x^2+2x-3)(2x) =4x^4-6x^3+4x^2-6x. $$

Subtracting gives \(2x^4+22x^2-18x+8\), so

$$ y'=\frac{2x^4+22x^2-18x+8}{(x^2+4)^2}. $$

Check at \(x=0\). In the quotient-rule expression, \(N'(0)=2\), \(D(0)=4\), \(N(0)=-3\), and \(D'(0)=0\). Hence \(y'(0)=(2\cdot4-(-3)\cdot0)/16=1/2\). The simplified expression also gives \(8/16=1/2\).

Worked Example: A Quotient Inside a Product

Worked Example: A Quotient Inside a Product

Differentiate

$$ y=(x^2+1)\frac{2x-1}{x^2+3}. $$

Here the outermost operation is a product. Write \(f=x^2+1\) and \(g=(2x-1)/(x^2+3)\). The product rule requires both \(f'\) and \(g'\), with \(f'=2x\). The second factor is a quotient, so apply the quotient rule to it:

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

Now use the product rule:

$$ \begin{aligned} y' &=2x\frac{2x-1}{x^2+3} +(x^2+1)\frac{-2x^2+2x+6}{(x^2+3)^2}\\ &=\frac{2x(2x-1)(x^2+3)+(x^2+1)(-2x^2+2x+6)} {(x^2+3)^2}. \end{aligned} $$

Expand the first numerator term:

$$ 2x(2x-1)(x^2+3)=4x^4-2x^3+12x^2-6x. $$

Expand the second:

$$ (x^2+1)(-2x^2+2x+6)=-2x^4+2x^3+4x^2+2x+6. $$

The sum is \(2x^4+16x^2-4x+6\). Therefore,

$$ y'=\frac{2x^4+16x^2-4x+6}{(x^2+3)^2}. $$

Check at \(x=0\). The product-rule expression gives \(2(0)g(0)+(1)g'(0)\). Since \(g'(0)=6/9=2/3\), this is \(2/3\). The simplified result gives \(6/9=2/3\).

A Common Pitfall: Replacing a Required Derivative

In the first example, the quotient rule requires the term \(N'D\), not \(ND\). A tempting but incorrect calculation is

$$ \frac{(x^2+1)(x-1)(x+1)-(x^2+1)(x-1)}{(x+1)^2}. $$

This calculation incorrectly replaces \(N'D\) with \(ND\). The denominator-derivative term is not missing: since \(D'=1\), the subtracted term \(-ND'\) is exactly \(-N\), which is present. What is wrong is the first term: it uses \(N\) instead of \(N'\). The correct numerator is

$$ (3x^2-2x+1)(x+1)-(x^2+1)(x-1). $$

Keeping \(N'\), \(D\), \(N\), and \(D'\) visibly labelled until substitution is complete helps prevent this error. Also retain parentheses around the entire quotient-rule numerator; subtracting a product means that every term in that product is subtracted.

Why These Sequences Are Useful

Mixed expressions appear naturally when functions are built from simpler functions. A quotient can have a product as its numerator, and a product can have a quotient as a factor. Organizing the derivative by operation makes the calculation traceable: each term has a reason for being there, and each inner derivative can be checked separately.

Before simplifying a result, check that every required derivative has appeared. In a product, there should be one term for differentiating each factor. In a quotient, the numerator should have the form \(u'w-uw'\), and the denominator should be \(w^2\). If the derivative of a composite expression is needed, its inner derivative must also be included. These checks address the structure of the calculation before algebraic simplification can obscure it.

Check Your Understanding

For each question, identify the outermost operation before deciding which derivative rule to apply.

  1. For \(y=\frac{(x^2+2)(x-3)}{x+4}\), what is the outermost operation, and which inner expression requires the product rule?
  2. State the quotient-rule numerator for \(y=\frac{u(x)v(x)}{w(x)}\), including the order of its terms.
  3. For \(y=(x^2+1)\frac{x+2}{x^2+5}\), which rule applies first, and which rule is then needed to differentiate the second factor?
  4. In the quotient rule, why must the denominator be squared?
  5. For \(y=\frac{(x^2+1)(2x-1)}{x+3}\), identify the four quantities that must be substituted into the quotient rule.

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