Before applying partial fractions or integrating a rational function, check if the degree of the numerator is greater than or equal to the degree of the denominator. If so, you must perform polynomial long division first to rewrite the integrand as a polynomial plus a proper rational function (where the numerator's degree is less than the denominator's degree).

🎯 In this section you will learn

📌 Why Use Polynomial Long Division?

Consider $\int \frac{x^3}{x-1} dx$. The numerator (degree 3) has a higher degree than the denominator (degree 1). We cannot integrate this directly. But if we divide, we get:

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

Now we can integrate term by term!

💡 The Goal

Rewrite $\frac{P(x)}{Q(x)}$ as $\text{polynomial} + \frac{R(x)}{Q(x)}$ where degree of $R(x)$ < degree of $Q(x)$.

📋 Step-by-Step Polynomial Long Division

Divide the leading term
Divide the leading term of the numerator by the leading term of the denominator.
Multiply and subtract
Multiply the result by the denominator and subtract from the numerator.
Repeat
Repeat with the remainder until the remainder's degree is less than the denominator's degree.
Example 1Basic Long Division

Divide $\frac{x^3}{x-1}$.

Divide $x^3$ by $x$
$x^3 ÷ x = x^2$
Multiply and subtract
$x^2(x-1) = x^3 - x^2$
$x^3 - (x^3 - x^2) = x^2$
Bring down next term (none)
Remainder: $x^2$
Divide $x^2$ by $x$
$x^2 ÷ x = x$
Multiply and subtract
$x(x-1) = x^2 - x$
$x^2 - (x^2 - x) = x$
Divide $x$ by $x$
$x ÷ x = 1$
Multiply and subtract
$1(x-1) = x - 1$
$x - (x - 1) = 1$
Result
Quotient: $x^2 + x + 1$, Remainder: $1$
$\frac{x^3}{x-1} = x^2 + x + 1 + \frac{1}{x-1}$
Example 2Integration After Division

Find $\displaystyle \int \frac{x^3}{x-1} dx$.

Perform long division
$\frac{x^3}{x-1} = x^2 + x + 1 + \frac{1}{x-1}$
Integrate term by term
$\int (x^2 + x + 1) dx + \int \frac{1}{x-1} dx$
Compute each integral
$\int x^2 dx = \frac{x^3}{3}$, $\int x dx = \frac{x^2}{2}$, $\int 1 dx = x$, $\int \frac{1}{x-1} dx = \ln|x-1|$
Combine
$\int \frac{x^3}{x-1} dx = \frac{x^3}{3} + \frac{x^2}{2} + x + \ln|x-1| + C$
Example 3Another Division Example

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

Divide $2x^3$ by $x^2$
$2x^3 ÷ x^2 = 2x$
Multiply and subtract
$2x(x^2+1) = 2x^3 + 2x$
$(2x^3 + 3x^2 - 4x + 1) - (2x^3 + 2x) = 3x^2 - 6x + 1$
Divide $3x^2$ by $x^2$
$3x^2 ÷ x^2 = 3$
Multiply and subtract
$3(x^2+1) = 3x^2 + 3$
$(3x^2 - 6x + 1) - (3x^2 + 3) = -6x - 2$
Result
Quotient: $2x + 3$, Remainder: $-6x - 2$
$\frac{2x^3 + 3x^2 - 4x + 1}{x^2 + 1} = 2x + 3 + \frac{-6x - 2}{x^2 + 1}$
⚠️ Common Mistakes
🔍 Key Takeaways
← Back to Module Page