Tutorials › Calculus I › Quotient Rule for Polynomial Functions

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

Quotient Rule for Polynomial Functions

Use the quotient rule systematically for polynomial numerators and denominators, and keep track of the algebra and domain restrictions that determine the final derivative.

Intermediate 9 min read

What You'll Learn

  • Identify the numerator and denominator and differentiate each polynomial separately.
  • Apply the quotient rule with the correct order of terms and parentheses.
  • Expand and collect the polynomial terms in the numerator.
  • State the domain restriction imposed by a zero denominator.
  • Check a derivative formula by evaluating it at a point using the original quotient-rule expression.

When a Function Is a Quotient

A polynomial divided by another polynomial defines a rational function wherever the denominator is nonzero. Differentiating such a function requires care: differentiating the top and bottom separately does not give the derivative of the quotient.

The quotient rule organizes the calculation. Once its two polynomial derivatives are found, the remaining work is to substitute them in the correct order, expand the numerator, and state where the result is defined.

Definition: If \(f\) and \(g\) are differentiable near \(x\), and \(g(x)\ne 0\), then the derivative of their quotient is $$ \left(\frac{f}{g}\right)'(x) = \frac{f'(x)g(x)-f(x)g'(x)}{[g(x)]^2}. $$ For polynomials \(f\) and \(g\), this formula applies at every real \(x\) for which \(g(x)\ne 0\).

In this formula, \(f\) is the numerator and \(g\) is the denominator. The numerator of the derivative is top derivative times bottom, minus top times bottom derivative. The denominator is the original denominator squared. Preserving that order and the parentheses around each polynomial prevents many errors.

A Reliable Calculation Pattern

For a quotient \(f(x)/g(x)\), use the following sequence. The quotient rule is the result established in the earlier material on deriving the quotient rule from product and reciprocal rules; here the focus is applying it to polynomials.

1
Record the two functions.
Write \(f(x)\) for the numerator and \(g(x)\) for the denominator. Note that the original function is defined only where \(g(x)\ne 0\).
2
Differentiate each polynomial.
Find \(f'(x)\) and \(g'(x)\) separately using the power rule and the rules for sums and constant multiples.
3
Substitute without changing the order.
Form \(f'g-fg'\), then divide by \(g^2\). Use parentheses when substituting expressions with more than one term.
4
Expand and collect terms.
Distribute carefully in the numerator, combine like powers, and keep the squared denominator intact.
5
State the domain and check.
Exclude any real values that make the original denominator zero. To check the algebra, evaluate the unsimplified quotient-rule expression and the final expression at a convenient allowed value.

Worked Examples

Worked Example: A Quadratic over a Linear Polynomial

Differentiate \(y=(x^2+1)/(x+2)\) and state where the derivative is defined.

Set \(f(x)=x^2+1\) and \(g(x)=x+2\). Their derivatives are \(f'(x)=2x\) and \(g'(x)=1\). The original denominator is zero when \(x=-2\), so the function and its derivative are considered only for \(x\ne -2\).

Apply the quotient rule:

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

Expand the first product and distribute the minus sign across the entire second product:

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

Therefore,

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

Check at \(x=1\). In the quotient-rule expression, \(f(1)=2\), \(g(1)=3\), \(f'(1)=2\), and \(g'(1)=1\), so \(y'(1)=(2\cdot3-2\cdot1)/3^2=4/9\). The simplified expression gives \((1+4-1)/(1+2)^2=4/9\) as well.

Worked Example: A Cubic over a Quadratic Polynomial

Differentiate \(y=(3x^3-2x+5)/(x^2+1)\).

Let \(f(x)=3x^3-2x+5\) and \(g(x)=x^2+1\). Differentiating each polynomial gives \(f'(x)=9x^2-2\) and \(g'(x)=2x\). Since \(x^2+1>0\) for every real \(x\), the denominator never vanishes, and the quotient is defined for all real \(x\).

Substitute in the quotient rule:

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

Expand each product separately, keeping the subtraction between them:

$$ (9x^2-2)(x^2+1)=9x^4+9x^2-2x^2-2=9x^4+7x^2-2, $$ $$ (3x^3-2x+5)(2x)=6x^4-4x^2+10x. $$

Subtract the second expansion from the first and collect like terms:

$$ 9x^4+7x^2-2-(6x^4-4x^2+10x) = 3x^4+11x^2-10x-2. $$

Thus

$$ y'=\frac{3x^4+11x^2-10x-2}{(x^2+1)^2}, \qquad x\in\mathbb R. $$

Check at \(x=0\). The original quotient-rule expression gives \(f(0)=5\), \(g(0)=1\), \(f'(0)=-2\), and \(g'(0)=0\), hence \(y'(0)=((-2)(1)-5(0))/1^2=-2\). The final expression gives \((0+0-0-2)/1^2=-2\), confirming the calculation at this point.

Worked Example: Excluding a Zero of the Denominator

Differentiate \(y=(2x^2-x+4)/(x^3+1)\) and specify its real domain.

Set \(f(x)=2x^2-x+4\) and \(g(x)=x^3+1\). Then \(f'(x)=4x-1\) and \(g'(x)=3x^2\). The denominator factors as \(x^3+1=(x+1)(x^2-x+1)\). The quadratic factor is positive for every real \(x\), since \(x^2-x+1=(x-\tfrac12)^2+\tfrac34>0\). Thus the only real zero of the denominator is \(x=-1\), which must be excluded.

Use the quotient rule:

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

Expand both products:

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

Now subtract the second polynomial from the first:

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

Therefore,

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

Check at \(x=1\). The quotient-rule expression has \(f(1)=5\), \(g(1)=2\), \(f'(1)=3\), and \(g'(1)=3\), so \(y'(1)=(3\cdot2-5\cdot3)/2^2=-9/4\). The simplified expression gives \((-2+2-12+4-1)/(1+1)^2=-9/4\), as required.

Why the Order and the Square Appear

The quotient rule has a particular structure, not an interchangeable collection of pieces. If \(q=f/g\), then \(f=qg\) wherever \(g\ne0\). Differentiating this product gives \(f'=q'g+qg'\). Substituting \(q=f/g\) and solving for \(q'\) gives

$$ q'g=f'-\frac{f}{g}g', \qquad q'=\frac{f'g-fg'}{g^2}. $$

This identity explains both features that are easy to forget: the second term is subtracted, and dividing by \(g\) when isolating \(q'\) produces the denominator \(g^2\). The quotient rule itself requires \(g\ne0\); at a point where the original quotient is undefined, this formula does not define its derivative.

For the polynomial calculations, the power rule supplies each derivative: for a nonnegative integer \(n\), the derivative of \(x^n\) is \(nx^{n-1}\) when \(n\ge1\), and the derivative of a constant is zero. The examples then use ordinary distribution and collection of like terms. No special differentiation rule is needed for the expanded numerator.

A Common Sign and Parentheses Mistake

A frequent error is to subtract only the first term of the product \(fg'\), leaving the remaining terms with the wrong signs. For example, in the second worked example the numerator must include

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

The second product is \(6x^4-4x^2+10x\), and the minus sign applies to every term. The incorrect calculation

$$ 9x^4+7x^2-2-(6x^4-4x^2+10x) = 3x^4+3x^2+10x-2 $$

fails to change the signs of \(-4x^2\) and \(10x\). Distributing the subtraction correctly gives

$$ 9x^4+7x^2-2-6x^4+4x^2-10x = 3x^4+11x^2-10x-2. $$

Keeping the products in parentheses until after expansion is a reliable way to avoid this mistake. Also check the denominator: it is the square of the original denominator, not its derivative and not merely the original denominator.

What the Final Expression Tells You

A correct derivative formula is valid only on the domain of the original quotient. Squaring the denominator in the derivative does not restore a point excluded from the original function. For example, the first quotient is undefined at \(x=-2\), so its derivative formula is also stated only for \(x\ne-2\). In contrast, the second example has a denominator that is positive for every real \(x\), so no real input needs to be excluded.

It is useful to check a result at a value where the arithmetic is simple and the denominator is nonzero. Such a check can reveal an expansion or sign error, but a single matching value is not a proof that two formulas agree everywhere. The general formula comes from the quotient rule; the point check is an additional verification of the calculation.

Takeaway: Identify \(f\) and \(g\), compute \(f'\) and \(g'\), form \((f'g-fg')/g^2\), expand with parentheses, and exclude every real zero of the original denominator.

Check Your Understanding

For each question, keep the numerator and denominator distinct and state any excluded real inputs.

  1. For \(y=(x^2-3)/(x+1)\), identify \(f\), \(g\), \(f'\), and \(g'\) before applying the quotient rule.
  2. In the quotient-rule numerator \(f'g-fg'\), which entire product is subtracted?
  3. Differentiate \((x^2+2)/(x^2+4)\) using the quotient rule and simplify the numerator.
  4. Why must the zeros of the original denominator be excluded even if the derivative expression has a squared denominator?
  5. For \((x^3+2)/(x^2-1)\), which real inputs are excluded from the function and its derivative?

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