Blog Β· Calculus guides Β· 25 October 2026 Β· 4 min read
Partial Fractions: Steps, Examples & Practice Problems

Partial fractions integrates a fraction of polynomials by splitting it into simpler fractions you already know how to integrate. Factor the denominator, write the fraction as a sum like , solve for the constants, and integrate each piece, which usually gives logarithms. For example, , so its integral is .
The formula
Adding fractions, run in reverse. At school you were told to find a common denominator; now the job is to un-find one.
When to use it
Use partial fractions when the integrand is one polynomial divided by another and the bottom factors into pieces: , , . Before you start, check two things. First, is the top the derivative of the bottom (or a multiple of it)? Then u-substitution gives in one line. Second, is the degree of the top at least the degree of the bottom? Then do polynomial long division first, and use partial fractions on the remainder.
How to do it, step by step
- Factor the denominator completely. .
- Write the split with unknown constants. One for each distinct linear factor. A repeated factor gets two terms, .
- Multiply through by the denominator. You get a polynomial identity, like , that holds for every .
- Find the constants. Substitute each root of the denominator in turn: each one makes every term but one vanish. If you run out of roots, compare coefficients of a power of .
- Integrate each piece. and . Add at the end.
Worked examples
Example 1: The classic split
EasyIntegrate:
The bottom is already factored. Split it:
Put : . Put : , so .
Using the log laws, you can also write the answer as . The same split, , is what makes the series collapse to 1, so it is worth knowing by heart.
Answer
Example 2: Factor first
MediumIntegrate, for :
The top is not a multiple of the bottom's derivative (), and its degree is lower, so partial fractions it is. Factor: .
Put : , so . Put : , so .
Check it by adding the fractions back: . It works.
Answer
Example 3: A repeated factor
HarderIntegrate, for :
The factor appears twice, so it needs two terms. Call the constants , and , to keep free for the end.
Put : . Put : , so . There are no roots left for , so compare the terms: the left has none, the right has . So and .
The first two are logs. The last one is a power, , which integrates to . Not a log: that is the trap with repeated factors.
Answer
Your turn
Three to try, checked by the same machine that grades the game. Type the answer however you like; any correct form counts.
Problem 1
EasyIntegrate, for :
Problem 2
MediumIntegrate, for :
Problem 3
HarderIntegrate, for :
Common mistakes
- Using it when substitution would do. splits into partial fractions, but the top is exactly the derivative of the bottom, so the answer is just . Check for that first; it takes two seconds.
- Skipping the long division. If the top's degree is at least the bottom's, the split does not work. Divide first: .
- One term for a repeated factor. needs both and . With only one, the constants will not solve.
- Turning every piece into a log. , not .
- Losing a coefficient inside the log. , because of the chain rule. A plain needs no adjustment, but does.
Practice it now
No clock, three strikes
Partial fractions only appear in Diverge, from about difficulty 7 or 8: a linear top over a quadratic with two different linear factors, so the answer is always one or two logarithms. Repeated factors like Example 3 are not in the game yet. The is optional when you type it.
FAQ
- When do you use partial fractions?
- When you are integrating a rational function whose bottom factors, and substitution does not work directly. It is the standard method for things like .
- What if the denominator does not factor?
- A quadratic like that will not factor gets a term , which integrates to a mix of and . The arctan part is the territory of trig substitution.
- Is there a shortcut for finding the constants?
- Yes, the cover-up method. For a distinct factor , cover it up in the original fraction and substitute into what is left. For , covering and putting gives , which is . It does not work for the lower terms of repeated factors.
- Why are there absolute values in the answer?
- Because only takes positive inputs, and is valid on both sides of . On an interval where you can drop them.
- Where can I find partial fractions practice problems?
- Right on this page: "Your turn" has three partial fractions practice problems, easy, medium and harder, checked as you type by the same checker that grades Asymptote, with the answer and the first step if you miss. For more practice against the clock, Diverge, which has no clock, is free and needs no account.
Keep going
U-Substitution: Steps, Examples & Practice Problems
How to integrate by u-substitution: choosing u, the four steps, three worked examples including a back-substitution, and three practice problems.
Integration by Parts: Formula, Examples & Practice Problems
How to integrate a product by parts: the formula, choosing u with LIATE, three worked examples and three practice problems checked as you type.
Derivatives of e^x and ln x: Examples & Practice Problems
The derivative of e^x is e^x and of ln x is 1/x. How to use both with the chain rule: three worked examples, common mistakes and three practice problems.