Tutorials › AP Statistics › Polynomial Division Before Partial Fractions

Numerical and BC Integration Methods · Tutorial 523 of 999

Polynomial Division Before Partial Fractions

Use polynomial long division to isolate the polynomial part of an improper rational function and leave a proper rational remainder ready for further integration methods.

Advanced 9 min read

What You'll Learn

  • Identify whether a rational function is proper or improper by comparing polynomial degrees.
  • Divide polynomials to express an improper rational function as a polynomial plus a proper rational function.
  • Track missing powers and subtract each long-division line with the correct signs.
  • Verify a quotient and remainder by recombining them with the denominator.
  • Recognize how division prepares a rational integrand for partial fractions without changing its domain.

Why Divide Before Decomposing?

Some rational functions have numerators whose degree is at least as large as the degree of their denominators. Before using partial fractions on such a function, first use polynomial long division. The result separates off a polynomial and leaves a rational function whose numerator has lower degree than its denominator.

This order matters because the standard partial-fraction form is built for a proper rational function. Polynomial division does not itself decompose the remaining denominator; it makes the rational expression ready for that next step.

Key idea: Divide the numerator polynomial by the denominator polynomial. Write the original rational function as the quotient polynomial plus the remainder divided by the original denominator.

Proper and Improper Rational Functions

The degree of a nonzero polynomial is the highest exponent of its variable with a nonzero coefficient. For example, \(4x^3-2x+7\) has degree \(3\), while \(x^2+5\) has degree \(2\). When comparing degrees, a missing power has coefficient zero; it does not change the highest power that is actually present.

Definition: A rational function \(N(x)/D(x)\), where \(D(x)\) is not the zero polynomial, is proper if \(\deg N<\deg D\). It is improper if \(\deg N\geq\deg D\). Polynomial division writes \[ \frac{N(x)}{D(x)}=Q(x)+\frac{R(x)}{D(x)}, \] where \(Q(x)\) is the quotient and \(R(x)\) is the remainder, with \(R(x)=0\) or \(\deg R<\deg D\).

The remainder condition guarantees that \(R(x)/D(x)\) is proper whenever \(R\) is nonzero. If the numerator already has lower degree than the denominator, no division is needed: the quotient is zero and the remainder is the original numerator.

The equality is understood at values of \(x\) for which the original denominator is nonzero. If a common factor has been canceled, remember that the original expression may still have excluded values where its original denominator was zero.

How Polynomial Long Division Works

At each step, compare the leading term of the current dividend with the leading term of the divisor. Divide those leading terms to find the next quotient term. Multiply the entire divisor by that term, subtract the result, and continue with what remains. Stop when the remainder is zero or has lower degree than the divisor.

Subtraction applies to the whole product, so signs must be distributed carefully. If a power is missing, include its coefficient as zero when aligning terms. These habits make the algebra easier to track and the final result easier to check.

1
Compare degrees.
If the numerator degree is already lower, it is proper and no division is required.
2
Find a quotient term.
Divide the current leading term by the divisor's leading term.
3
Multiply and subtract.
Multiply the full divisor by the new quotient term, then subtract the full product.
4
Repeat and check.
Continue until the remainder has lower degree than the divisor. Verify that dividend equals divisor times quotient plus remainder.

Worked Example: A Cubic Divided by a Quadratic

Worked Example: A Cubic Divided by a Quadratic

Rewrite \(\frac{2x^3+3x^2-5x+6}{x^2-x-2}\) as a polynomial plus a proper rational function.

The numerator has degree \(3\) and the denominator has degree \(2\), so the rational function is improper. First divide the leading terms:

$$ \frac{2x^3}{x^2}=2x. $$

Multiply the divisor by \(2x\), then subtract:

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

The new leading-term division is \(5x^2/x^2=5\). Multiply the divisor by \(5\) and subtract again:

$$ \begin{aligned} 5(x^2-x-2)&=5x^2-5x-10,\\ (5x^2-x+6)-(5x^2-5x-10)&=4x+16. \end{aligned} $$

The remainder \(4x+16\) has degree \(1\), which is less than the divisor degree \(2\). Therefore,

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

Check by recombining. Multiplying the divisor by the quotient gives \( (x^2-x-2)(2x+5)=2x^3+3x^2-9x-10\). Adding the remainder gives \(2x^3+3x^2-9x-10+4x+16=2x^3+3x^2-5x+6\), the original numerator.

Worked Example: Equal Degrees and an Integral

Worked Example: Equal Degrees and an Integral

Prepare the integrand \(\frac{3x^2+2x-1}{x^2+1}\) for partial fractions by polynomial division.

Both polynomials have degree \(2\), so the rational function is improper. Divide the leading terms: \(3x^2/x^2=3\). Multiplying the denominator by \(3\) gives \(3x^2+3\). Subtract:

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

The remainder has degree \(1\), less than the denominator degree \(2\). Thus,

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

For an indefinite integral, this gives the preparatory step \(\int \frac{3x^2+2x-1}{x^2+1}\,dx =\int 3\,dx+\int \frac{2x-4}{x^2+1}\,dx\). The polynomial part has antiderivative \(3x\), so the expression becomes \(3x+\int \frac{2x-4}{x^2+1}\,dx\), up to a constant. The remaining fraction is proper; its further treatment is a separate step.

Check the division: \(3(x^2+1)+(2x-4)=3x^2+3+2x-4=3x^2+2x-1\), as required.

Worked Example: Missing Powers and a Nonzero Remainder

Worked Example: Missing Powers and a Nonzero Remainder

Divide \(x^4+2x^2+3\) by \(x^2+2x+1\), then express the result as a polynomial plus a proper rational function.

The dividend has degree \(4\), and the divisor has degree \(2\). The first quotient term is \(x^4/x^2=x^2\). Include the missing \(x^3\) term as a zero coefficient while subtracting:

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

Divide the leading terms of the new expression: \((-2x^3)/x^2=-2x\). Multiply and subtract:

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

The next quotient term is \(5x^2/x^2=5\). Subtract the product:

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

The remainder degree \(1\) is less than the divisor degree \(2\). The decomposition is

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

To check, multiply the divisor by the quotient: \((x^2+2x+1)(x^2-2x+5)=x^4+2x^2+8x+5\). Adding the remainder gives \(x^4+2x^2+8x+5-8x-2=x^4+2x^2+3\), exactly the original dividend.

Why the Quotient-and-Remainder Form Works

The long-division steps produce an identity of the form \(N=DQ+R\), where \(N\) is the numerator, \(D\) the denominator, \(Q\) the quotient, and \(R\) the remainder. Dividing that identity by \(D\), at values where \(D(x)\ne 0\), gives

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

The process stops because each subtraction lowers the degree of the current expression. It must eventually reach a polynomial whose degree is less than the divisor's degree, or the zero polynomial.

The quotient and remainder are also unique. Suppose two divisions gave \(N=DQ+R\) and \(N=DQ_1+R_1\), with both remainders of degree below \(\deg D\). Subtracting the identities gives

$$ D(Q-Q_1)=R_1-R. $$

If \(Q-Q_1\) were nonzero, the degree of the left side would be at least \(\deg D\). But \(R_1-R\) has degree less than \(\deg D\), unless it is zero. These cannot be equal unless both sides are zero. Therefore \(Q=Q_1\) and \(R=R_1\).

Why This Is the Necessary Preparation

The division separates two different kinds of terms: a polynomial \(Q(x)\), which can be integrated using the power rule, and a proper rational remainder \(R(x)/D(x)\), which can then be considered for partial fractions. The division step does not change the rational function's value where the original denominator is nonzero; it only rewrites it in a useful form.

Before dividing, compare degrees carefully. If the numerator degree is already smaller, it is already proper. If the degrees are equal, the quotient begins with a constant. If the numerator degree is larger, the quotient begins with a positive power of \(x\). In every case, stop only when the remainder has lower degree than the denominator.

A Common Sign Error

A frequent mistake is to subtract only the first term of the divisor's product instead of subtracting the entire product. In the equal-degree example, the product is \(3x^2+3\). A wrong subtraction might keep the constant \(-1\) unchanged and claim \((3x^2+2x-1)-(3x^2+3)=2x-1\). This is incorrect: the constant terms must also be subtracted, so \(-1-3=-4\), not \(-1\).

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

The correction is to align all powers, including the constant term, before subtracting. A reliable final check is to multiply the quotient by the denominator and add the remainder. If that does not reproduce the original numerator, some term or sign was lost.

Takeaway: For an improper rational function, divide first. The resulting polynomial-plus-proper-rational form is the correct starting point for partial fractions.

Check Your Understanding

Use degree comparisons and the quotient-and-remainder condition to answer these questions.

  1. Is \(\frac{2x+1}{x^3-4}\) proper or improper? Explain using the degrees.
  2. What condition must the remainder satisfy when dividing a numerator by a denominator of degree \(3\)?
  3. When dividing \(\frac{5x^3-x+2}{x^3+1}\), what is the first quotient term?
  4. Why must the entire product of the divisor and each quotient term be subtracted at every long-division step?
  5. How can you check a proposed quotient and remainder without repeating the division?

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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