Tutorials › Calculus II › The Quotient-Remainder Identity for Rational Functions

Improper Rational Functions · Tutorial 202 of 998

The Quotient-Remainder Identity for Rational Functions

Understand why every rational function with a nonzero polynomial denominator has a unique quotient-remainder form, and how that form separates its polynomial and proper rational parts.

Intermediate 10 min read

What You'll Learn

  • State the quotient-remainder identity for a nonzero polynomial denominator.
  • Explain why the remainder must have strictly lower degree than the denominator.
  • Prove existence and uniqueness of the quotient and remainder.
  • Separate a rational function into its polynomial part and proper rational remainder.
  • Handle constant denominators and identify common errors in the degree condition.

Why the Quotient-Remainder Identity Matters

When the degree of a rational function’s numerator is at least the degree of its denominator, the rational function is called improper. Its numerator contains powers that are not represented by a proper rational fraction. The quotient-remainder identity gives an exact way to separate those parts: a polynomial quotient and a remainder whose degree is lower than the denominator’s.

This separation is useful in the study of rational functions and their integrals. It also sets up the algebraic form needed before partial-fraction methods can be applied. The key point here is the identity itself: what it says, why it exists, and why its remainder condition makes the quotient and remainder unique.

Central identity: For polynomials \(P(x)\) and \(D(x)\), with \(D(x)\) nonzero, there are polynomials \(Q(x)\) and \(R(x)\) such that \(P(x)=Q(x)D(x)+R(x)\). If \(D\) is nonconstant, the remainder is zero or has degree strictly less than the degree of \(D\). If \(D\) is constant and nonzero, the remainder is zero.

Precise Statement and Terminology

The degree of a nonzero polynomial is the highest power of \(x\) with a nonzero coefficient. For example, \(3x^4-x+7\) has degree \(4\). The zero polynomial has no degree under this convention, so conditions involving the degree of a remainder are stated as “the remainder is zero, or its degree is less than ...”.

For a nonconstant denominator \(D(x)\), the quotient-remainder theorem states that for every polynomial \(P(x)\), there exist unique polynomials \(Q(x)\) and \(R(x)\) satisfying

$$ P(x)=Q(x)D(x)+R(x), $$

where \(R(x)=0\) or \(\deg R<\deg D\). The polynomials \(Q\) and \(R\) are called the quotient and remainder, respectively. The strict inequality is part of the theorem; it is not an optional convention.

If \(D(x)=c\), where \(c\ne 0\) is constant, then the corresponding identity is \(P(x)=Q(x)c\) with \(R(x)=0\). In this case \(Q(x)=P(x)/c\), which is a polynomial. The quotient need not be constant.

Dividing the identity by \(D(x)\) gives a rational-function decomposition wherever \(D(x)\ne 0\):

$$ \frac{P(x)}{D(x)} = Q(x)+\frac{R(x)}{D(x)}. $$

When \(D\) is nonconstant, the remainder fraction is proper if \(R\ne 0\), because its numerator has lower degree than its denominator. If \(R=0\), the remainder fraction is simply zero. The quotient \(Q(x)\) is the polynomial part of the rational function.

Worked Examples

Worked Example: Separating a Cubic Numerator

Write \(\frac{2x^3+3x^2-5x+1}{x^2-1}\) as a polynomial plus a proper rational remainder.

Choose \(Q(x)=2x+3\). Multiplying this proposed quotient by the denominator gives

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

Subtract this product from the numerator to find the remainder:

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

Thus the polynomial identity is

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

The remainder has degree \(1\), while the denominator has degree \(2\), so \(1<2\). Dividing by \(x^2-1\) gives

$$ \frac{2x^3+3x^2-5x+1}{x^2-1} = 2x+3+\frac{-3x+4}{x^2-1}. $$

Check: Expanding the right-hand side’s numerator gives \(2x^3+3x^2-2x-3-3x+4=2x^3+3x^2-5x+1\), the original numerator. The remainder degree is strictly less than the denominator degree, as required.

Worked Example: A Quartic Numerator and a Quadratic Denominator

Express \(\frac{x^4+2x^3+x+5}{x^2+2x+2}\) as a polynomial plus a proper rational remainder. Consider \(Q(x)=x^2-2\). The product is

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

Subtracting this product from the numerator gives

$$ \begin{aligned} R(x) &=(x^4+2x^3+0x^2+x+5)-(x^4+2x^3+0x^2-4x-4)\\ &=5x+9. \end{aligned} $$

Therefore,

$$ x^4+2x^3+x+5=(x^2-2)(x^2+2x+2)+(5x+9), $$

and hence

$$ \frac{x^4+2x^3+x+5}{x^2+2x+2} = x^2-2+\frac{5x+9}{x^2+2x+2}. $$

The remainder has degree \(1\), and the denominator has degree \(2\), so the fraction involving the remainder is proper. Check: Re-expanding the right side’s numerator gives \(x^4+2x^3-4x-4+5x+9=x^4+2x^3+x+5\), exactly the original numerator.

Worked Example: A Constant Denominator

Find the quotient and remainder for \(P(x)=x^2-3x+2\) and \(D(x)=-2\).

Since the denominator is the nonzero constant \(-2\), divide every term of \(P(x)\) by \(-2\) to obtain a polynomial quotient:

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

The remainder is zero. The identity is

$$ x^2-3x+2 = \left(-\frac12x^2+\frac32x-1\right)(-2)+0. $$

Check: Multiplication gives \((-2)(-\frac12x^2+\frac32x-1)=x^2-3x+2\). Thus the identity holds exactly. The quotient is a quadratic polynomial, not a constant, and the remainder is zero.

Why the Identity Exists

For a nonconstant denominator, the existence of \(Q\) and \(R\) can be understood by repeatedly removing the highest-degree term that remains in \(P\). This argument justifies why a quotient and a lower-degree remainder can always be found; it does not depend on guessing a final answer.

1
Compare degrees.
Let \(D\) have degree \(n\ge 1\). If \(P=0\), take \(Q=0\) and \(R=0\). If \(P\ne 0\) and \(\deg P<n\), take \(Q=0\) and \(R=P\); the required degree condition already holds.
2
Cancel a leading term.
If the current polynomial has degree \(m\ge n\), write its leading term as \(a x^m\), and write the leading term of \(D\) as \(b x^n\), with \(a,b\ne 0\). Subtract \(\frac{a}{b}x^{m-n}D(x)\). The leading term \(a x^m\) cancels.
3
Repeat only while needed.
The degree of the current polynomial strictly decreases after each cancellation. Degrees are nonnegative integers for nonzero polynomials, so the process must stop after finitely many steps, leaving zero or a polynomial of degree less than \(n\).
4
Collect the subtracted terms.
The subtracted multiples of \(D\) add up to \(Q(x)D(x)\) for a polynomial \(Q\). The final polynomial is \(R(x)\). Rearranging gives \(P(x)=Q(x)D(x)+R(x)\), with the required remainder condition.

To see the degree decrease precisely, the coefficient \(\frac{a}{b}\) makes the leading term of \(\frac{a}{b}x^{m-n}D(x)\) equal to \(\frac{a}{b}x^{m-n}\cdot bx^n=ax^m\). Subtracting removes that term. All remaining terms have powers below \(m\), so the new polynomial is zero or has degree less than \(m\).

Why the Quotient and Remainder Are Unique

Existence alone would not guarantee that the identity gives a consistent separation. The strict degree condition ensures uniqueness. Suppose there were two representations satisfying the condition:

$$ P=Q_1D+R_1 \qquad\text{and}\qquad P=Q_2D+R_2. $$

Subtract the second identity from the first. This gives

$$ (Q_1-Q_2)D=R_2-R_1. $$

If \(Q_1-Q_2\) were nonzero, then the degree of its product with the nonzero polynomial \(D\) would be \(\deg(Q_1-Q_2)+\deg D\), which is at least \(\deg D\). But each remainder is zero or has degree less than \(\deg D\). Their difference is either zero or has degree less than \(\deg D\), so it cannot equal a nonzero polynomial of degree at least \(\deg D\). This contradiction shows \(Q_1-Q_2=0\). The displayed equation then gives \(R_2-R_1=0\). Therefore \(Q_1=Q_2\) and \(R_1=R_2\).

For a constant denominator \(D=c\ne 0\), the equation \(P=Qc+R\) with \(R=0\) forces \(Q=P/c\), so the quotient and remainder are also unique in that case.

How the Identity Separates a Rational Function

For a nonconstant denominator, the identity rewrites a rational function as the sum of two different kinds of terms:

$$ \frac{P(x)}{D(x)} = \underbrace{Q(x)}_{\text{polynomial part}} + \underbrace{\frac{R(x)}{D(x)}}_{\text{proper rational remainder}}. $$

This equality holds at every \(x\) for which \(D(x)\ne 0\), because it comes from the polynomial identity after division by \(D(x)\). The remainder fraction is proper because its numerator has lower degree than its denominator. If the original rational function is already proper, the quotient is zero and the remainder is the original numerator. If \(D\) is a nonzero constant, the rational function is a polynomial and the remainder is zero.

The division identity itself does not require \(P\) and \(D\) to have no common factors. It is an algebraic statement about the given polynomials. Whether to simplify a rational expression by canceling common factors is a separate consideration.

Common Pitfall: Allowing the Remainder to Have the Same Degree

A frequent error is to weaken the condition \(\deg R<\deg D\) to \(\deg R\le \deg D\). For example, one might write

$$ x^2+1=0\cdot(x^2-1)+(x^2+1) $$

and accept \(Q=0\), \(R=x^2+1\) as the quotient and remainder for division by \(x^2-1\). The equation is true, but it does not satisfy the theorem’s remainder condition: both the remainder and denominator have degree \(2\). It also fails to separate off the polynomial part.

The correct identity is

$$ x^2+1=1\cdot(x^2-1)+2. $$

Now the remainder is \(2\), of degree \(0<2\), and the corresponding rational-function decomposition is

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

The constant-denominator case calls for a different kind of care. If \(D(x)=c\ne0\), the remainder is zero and \(Q(x)=P(x)/c\) is a polynomial, which may have positive degree. It is incorrect to conclude that the quotient must be constant just because the denominator is constant.

Key takeaway: For a nonconstant denominator, require a zero remainder or one of strictly lower degree. For a nonzero constant denominator, use the polynomial quotient \(P/c\) and zero remainder.

Check Your Understanding

Use the quotient-remainder identity and its degree condition to answer the following questions.

  1. For \(P(x)=x^3+1\) and \(D(x)=x^2+1\), what degree condition must the remainder satisfy?
  2. Why does the strict degree bound make the quotient and remainder unique?
  3. What are the quotient and remainder when \(P(x)=3x^2-6\) and \(D(x)=3\)?
  4. If a nonconstant denominator has degree \(4\), can a nonzero remainder have degree \(4\)? Explain.
  5. In the decomposition \(P(x)/D(x)=Q(x)+R(x)/D(x)\), where \(D(x)\ne0\), what makes the remainder fraction proper?

Test yourself: Calculus II 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