🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Home / Digital Garden / Polynomial Long Division

Polynomial Long Division

Core Definition

Polynomial long division is a step-by-step algebraic algorithm used to divide a polynomial P(x)P(x) (the dividend) by another polynomial D(x)D(x) (the divisor) of equal or lesser degree. It yields a unique quotient polynomial Q(x)Q(x) and a remainder polynomial R(x)R(x) such that:

P(x)D(x)=Q(x)+R(x)D(x)\frac{P(x)}{D(x)} = Q(x) + \frac{R(x)}{D(x)}
where the degree of R(x)R(x) is strictly less than the degree of D(x)D(x).

Concept Explanation

Polynomial long division works exactly like numerical long division. It allows us to break down complex rational fractions into simpler components. The process consists of a repeating cycle of four steps: Divide, Multiply, Subtract, and Bring Down.


Why We Use It in Calculus

In Calculus, rational expressions can be extremely difficult to analyze in their raw forms. We trigger polynomial division in two primary scenarios:

1. Shortcut for "Factor-and-Cancel" Limits (Calculus I)

When evaluating the limit of a rational function lim⁑xβ†’cP(x)xβˆ’c\lim_{x \to c} \frac{P(x)}{x-c}, direct substitution often yields the indeterminate form 00\frac{0}{0}. This indicates that (xβˆ’c)(x-c) is a factor of both the numerator and the denominator.

Instead of struggling to factor a high-degree polynomial P(x)P(x) by hand, you can perform polynomial long division of P(x)P(x) by (xβˆ’c)(x-c). Since (xβˆ’c)(x-c) is a factor, the division will result in a remainder of 00. You can then cancel out the (xβˆ’c)(x-c) term from the numerator and denominator, allowing you to directly evaluate the limit.

2. Integrating Improper Rational Functions (Calculus II)

An improper rational expression is one where the degree of the numerator is greater than or equal to the degree of the denominator:

deg(P)β‰₯deg(D)\text{deg}(P) \geq \text{deg}(D)
We cannot directly apply standard integration techniques (like uu-substitution) to improper fractions. By performing polynomial division, we rewrite the integrand into a polynomial quotient Q(x)Q(x) and a proper fraction R(x)D(x)\frac{R(x)}{D(x)}:
∫P(x)D(x) dx=∫Q(x) dx+∫R(x)D(x) dx\int \frac{P(x)}{D(x)} \, dx = \int Q(x) \, dx + \int \frac{R(x)}{D(x)} \, dx

  • The quotient Q(x)Q(x) is easily integrated term-by-term using the power rule.
  • The proper fraction R(x)D(x)\frac{R(x)}{D(x)} can then be integrated using simple substitution (ln⁑∣u∣\ln|u| forms) or other techniques like partial fractions.

Example Problems

Example Problem 1: Evaluating a Limit (Factor-and-Cancel Shortcut)

Evaluate the limit using polynomial long division to resolve the indeterminate form:

lim⁑xβ†’2x3βˆ’3x2+5xβˆ’6xβˆ’2\lim_{x \to 2} \frac{x^3 - 3x^2 + 5x - 6}{x - 2}

Solution

Step 1: Check for indeterminate form Substitute x=2x=2:

23βˆ’3(22)+5(2)βˆ’62βˆ’2=8βˆ’12+10βˆ’60=00\frac{2^3 - 3(2^2) + 5(2) - 6}{2-2} = \frac{8 - 12 + 10 - 6}{0} = \frac{0}{0}
This is a 00\frac{0}{0} indeterminate form, confirming that (xβˆ’2)(x-2) is a factor of the numerator.

Step 2: Perform the division Divide x3βˆ’3x2+5xβˆ’6x^3 - 3x^2 + 5x - 6 by xβˆ’2x-2:

  1. First term: Divide x3x^3 by xβ€…β€ŠβŸΉβ€…β€Šx2x \implies x^2.
    • Multiply: x2(xβˆ’2)=x3βˆ’2x2x^2(x - 2) = x^3 - 2x^2.
    • Subtract: (x3βˆ’3x2+5xβˆ’6)βˆ’(x3βˆ’2x2)=βˆ’x2+5xβˆ’6(x^3 - 3x^2 + 5x - 6) - (x^3 - 2x^2) = -x^2 + 5x - 6.
  2. Second term: Divide βˆ’x2-x^2 by xβ€…β€ŠβŸΉβ€…β€Šβˆ’xx \implies -x.
    • Multiply: βˆ’x(xβˆ’2)=βˆ’x2+2x-x(x - 2) = -x^2 + 2x.
    • Subtract: (βˆ’x2+5xβˆ’6)βˆ’(βˆ’x2+2x)=3xβˆ’6(-x^2 + 5x - 6) - (-x^2 + 2x) = 3x - 6.
  3. Third term: Divide 3x3x by xβ€…β€ŠβŸΉβ€…β€Š3x \implies 3.
    • Multiply: 3(xβˆ’2)=3xβˆ’63(x - 2) = 3x - 6.
    • Subtract: (3xβˆ’6)βˆ’(3xβˆ’6)=0(3x - 6) - (3x - 6) = 0.

The division has a remainder of 00, giving:

x3βˆ’3x2+5xβˆ’6xβˆ’2=x2βˆ’x+3(forΒ xβ‰ 2)\frac{x^3 - 3x^2 + 5x - 6}{x - 2} = x^2 - x + 3 \quad (\text{for } x \neq 2)

Step 3: Evaluate the limit Now, substitute x=2x=2 into the simplified quotient:

lim⁑xβ†’2(x2βˆ’x+3)=22βˆ’2+3=4βˆ’2+3=5\lim_{x \to 2} (x^2 - x + 3) = 2^2 - 2 + 3 = 4 - 2 + 3 = 5

The limit is 55.

Example Problem 2: Integration Preparation

Rewrite the integrand using polynomial long division, then evaluate the indefinite integral:

∫2x3βˆ’3x2+4x+5xβˆ’2 dx\int \frac{2x^3 - 3x^2 + 4x + 5}{x - 2} \, dx

Solution

Step 1: Check the degrees The degree of the numerator is 33, and the degree of the denominator is 11. Since 3β‰₯13 \geq 1, this is an improper rational function and we must divide.

Step 2: Perform the division Divide 2x3βˆ’3x2+4x+52x^3 - 3x^2 + 4x + 5 by xβˆ’2x-2:

  1. First term: Divide 2x32x^3 by xβ€…β€ŠβŸΉβ€…β€Š2x2x \implies 2x^2.
    • Multiply: 2x2(xβˆ’2)=2x3βˆ’4x22x^2(x - 2) = 2x^3 - 4x^2.
    • Subtract: (2x3βˆ’3x2+4x+5)βˆ’(2x3βˆ’4x2)=x2+4x+5(2x^3 - 3x^2 + 4x + 5) - (2x^3 - 4x^2) = x^2 + 4x + 5.
  2. Second term: Divide x2x^2 by xβ€…β€ŠβŸΉβ€…β€Šxx \implies x.
    • Multiply: x(xβˆ’2)=x2βˆ’2xx(x - 2) = x^2 - 2x.
    • Subtract: (x2+4x+5)βˆ’(x2βˆ’2x)=6x+5(x^2 + 4x + 5) - (x^2 - 2x) = 6x + 5.
  3. Third term: Divide 6x6x by xβ€…β€ŠβŸΉβ€…β€Š6x \implies 6.
    • Multiply: 6(xβˆ’2)=6xβˆ’126(x - 2) = 6x - 12.
    • Subtract: (6x+5)βˆ’(6xβˆ’12)=17(6x + 5) - (6x - 12) = 17.

The quotient is 2x2+x+62x^2 + x + 6 and the remainder is 1717.

Step 3: Rewrite the integral

∫(2x2+x+6+17xβˆ’2) dx\int \left(2x^2 + x + 6 + \frac{17}{x - 2}\right) \, dx

Step 4: Integrate term-by-term

∫(2x2) dx+∫(x) dx+∫(6) dx+∫(17xβˆ’2) dx\int (2x^2) \, dx + \int (x) \, dx + \int (6) \, dx + \int \left(\frac{17}{x - 2}\right) \, dx
=23x3+12x2+6x+17ln⁑∣xβˆ’2∣+C= \frac{2}{3}x^3 + \frac{1}{2}x^2 + 6x + 17\ln|x - 2| + C

The value of the integral is 23x3+12x2+6x+17ln⁑∣xβˆ’2∣+C\frac{2}{3}x^3 + \frac{1}{2}x^2 + 6x + 17\ln|x - 2| + C.


Connections & References