How To Do Partial Fractions Integration
You're staring at a rational function. The numerator is a polynomial. The denominator is a polynomial. And the integral sign is mocking you.
Been there. We've all been there.
The thing about partial fractions is that it looks like algebra busywork — until you realize it's the only way to integrate most rational functions. So no substitution works. Still, no integration by parts saves you. You have to break the fraction apart, integrate the pieces, and stitch it back together.
Here's how to do it without losing your mind.
What Is Partial Fractions Integration
At its core, partial fractions is a decomposition technique. You take one complicated rational function — a fraction where both top and bottom are polynomials — and rewrite it as a sum of simpler fractions. Each simpler fraction has a denominator that's a factor of the original denominator.
The integration part comes after. Once you've split it up, each piece is usually a basic integral: a natural log, an arctangent, or a simple power rule.
But here's what textbooks don't highlight enough: the algebra is the hard part. The calculus is trivial by comparison. If you can factor polynomials and solve systems of equations, you can do the integration in your sleep.
When You Actually Need This
Not every rational function needs partial fractions. And if the numerator is the derivative of the denominator (or a constant multiple), you just substitute. Done. If the degree of the numerator is greater than or equal to the degree of the denominator, you do polynomial long division first — then apply partial fractions to the remainder.
The method kicks in when:
- The denominator factors into linear and/or irreducible quadratic terms
- The numerator has lower degree than the denominator
- No simple substitution works
That's the sweet spot.
Why It Matters / Why People Care
Partial fractions shows up everywhere. And differential equations. On the flip side, laplace transforms. Signal processing. Control theory. Any time you're working with rational functions in an applied context, you're probably going to need to integrate them.
In a calculus course, it's often the difference between an A and a B on the integration techniques exam. But more than that — it's one of the last times you'll do serious algebraic manipulation in a standard calculus sequence. After this, it's mostly concepts and applications.
The skill transfers. Learning to decompose a rational function teaches you to look at a complicated expression and ask: what are its building blocks? That mindset — breaking problems into manageable pieces — is what upper-level math is actually about.
And honestly? That's why once you get good at it, there's a weird satisfaction. Also, you take a mess, factor the denominator, set up the unknowns, solve the system, and out pops a clean sum of logs and arctangents. It feels like solving a puzzle.
How It Works
The process has four main steps. I'll walk through each with a concrete example.
Step 1: Check Degrees and Divide If Needed
Suppose you're integrating:
∫ (x³ + 2x² + 3x + 4) / (x² + x - 2) dx
Numerator degree: 3. Denominator degree: 2. Also, numerator wins. You must do polynomial long division first.
Divide x³ + 2x² + 3x + 4 by x² + x - 2.
You get x + 1 with a remainder of 4x + 6.
So the integrand becomes:
x + 1 + (4x + 6) / (x² + x - 2)
Now the rational part has numerator degree 1, denominator degree 2. Good to go.
Integrate x + 1 immediately: ½x² + x. Now focus on the fraction.
Step 2: Factor the Denominator Completely
This is where many students stall. You need the denominator factored over the real numbers — linear factors and irreducible quadratics only.
x² + x - 2 = (x + 2)(x - 1)
Both linear. Distinct. That's the easiest case.
If you had x² + 4, that's irreducible over the reals (discriminant < 0). It stays as a quadratic factor.
If you had (x - 1)²(x² + 4), you'd have a repeated linear factor and an irreducible quadratic. Each gets its own treatment.
Step 3: Set Up the Decomposition
For each distinct linear factor (ax + b), you get one term: A / (ax + b)
For more on this topic, read our article on this is the subatomic particle with the lowest mass. or check out how to calculate the van't hoff factor.
For each repeated linear factor (ax + b)ⁿ, you get n terms: A₁/(ax + b) + A₂/(ax + b)² + ... + Aₙ/(ax + b)ⁿ
For each irreducible quadratic factor (ax² + bx + c), you get one term: (Ax + B) / (ax² + bx + c)
For each repeated irreducible quadratic (ax² + bx + c)ⁿ, you get n terms with increasing powers in the denominator, each with a linear numerator.
Our example: (4x + 6) / [(x + 2)(x - 1)]
Two distinct linear factors. Setup:
(4x + 6) / [(x + 2)(x - 1)] = A/(x + 2) + B/(x - 1)
Step 4: Solve for the Constants
Multiply both sides by the common denominator (x + 2)(x - 1):
4x + 6 = A(x - 1) + B(x + 2)
Now you have two main approaches.
Method 1: Plug in convenient x-values (Heaviside cover-up)
The equation holds for ALL x. So pick x-values that zero out terms.
Let x = 1: 4(1) + 6 = A(0) + B(3) → 10 = 3B → B = 10/3
Let x = -2: 4(-2) + 6 = A(-3) + B(0) → -2 = -3A → A = 2/3
Done. This method is fast and elegant when you have distinct linear factors.
Method 2: Equate coefficients
Expand the right side: A(x - 1) + B(x + 2) = (A + B)x + (-A + 2B)
Match coefficients with 4x + 6:
A + B = 4 -A + 2B = 6
Add the equations: 3B = 10 → B = 10/3 Then A = 4 - 10/3 = 2/3
Same answer. Also, this method works for any factor type — repeated linears, quadratics, whatever. It's more systematic but slower.
Step 5: Integrate Each Piece
Now substitute back:
∫ (4x + 6) / [(x + 2)(x - 1)] dx = ∫ [2/3/(x + 2) + 10/3/(x - 1)] dx
= 2/3 ln|x + 2| + 10/3 ln|x - 1| + C
Don't forget the absolute values inside
Having obtained the constants (A=\frac{2}{3}) and (B=\frac{10}{3}), we substitute them back into the decomposed form and integrate term‑by‑term:
[ \int \frac{4x+6}{(x+2)(x-1)},dx = \int \left(\frac{2/3}{x+2}+\frac{10/3}{x-1}\right)dx = \frac{2}{3}\ln|x+2|+\frac{10}{3}\ln|x-1|+C_1 . ]
Recall that the original integrand was split after polynomial long division into a polynomial part and the proper rational part:
[ \frac{x^{3}+2x^{2}+3x+4}{x^{2}+x-2} = (x+1)+\frac{4x+6}{x^{2}+x-2}. ]
Thus the full antiderivative is the sum of the integral of (x+1) and the result above:
[ \int (x+1),dx = \frac{1}{2}x^{2}+x + C_2 . ]
Combining the two pieces and merging the arbitrary constants into a single constant (C) gives
[ \boxed{\int \frac{x^{3}+2x^{2}+3x+4}{x^{2}+x-2},dx = \frac{1}{2}x^{2}+x
- \frac{2}{3}\ln|x+2|
- \frac{10}{3}\ln|x-1|
- C } . ]
Verification (optional)
Differentiating the result:
[ \frac{d}{dx}!Which means \left[\frac{1}{2}x^{2}+x\right]=x+1, ] [ \frac{d}{dx}! \left[\frac{2}{3}\ln|x+2|+\frac{10}{3}\ln|x-1|\right] = \frac{2}{3}\cdot\frac{1}{x+2}+\frac{10}{3}\cdot\frac{1}{x-1} = \frac{4x+6}{(x+2)(x-1)}, ] which reproduces the original integrand after adding the polynomial part. Hence the antiderivative is correct.
Conclusion
The integration of a rational function where the numerator’s degree exceeds or equals the denominator’s proceeds in two clear stages: first, perform polynomial long division to isolate a polynomial term; second, decompose the remaining proper fraction into partial fractions, handling linear and irreducible quadratic factors according to their multiplicity. Each resulting term integrates to elementary functions—polynomials, logarithms, or arctangents—yielding a compact final expression. This systematic approach eliminates guesswork and ensures that every rational integral can be tackled with confidence.
Latest Posts
Related Posts
Up Next
-
The Smallest Discrete Quantity Of A Phenomenon Is Know As
Jul 30, 2026
-
Examine The Political Outcomes Of Democracy
Jul 30, 2026
-
De Moivre Theorem 2pik N K Value
Jul 30, 2026
-
Moment Of Inertia Of Hollow Sphere
Jul 30, 2026
-
Where Are The Halogens On The Periodic Table
Jul 30, 2026