Tento článok zatiaľ nie je dostupný vo vašom jazyku. Zobrazuje sa anglická verzia.

Decomposing Into Partial Fractions: A Complete Guide

Maeve Team
Maeve Team · 13 min read ·
decomposing into partial fractionscalculus helpalgebra techniquesintegration methods

You're probably here because you stared at a rational function, tried substitution, tried basic integration rules, and got nowhere. That's a common moment in calculus. The expression isn't impossible. It's just not in the right form yet.

Decomposing into partial fractions is the move that changes the problem. You take one complicated rational expression and rewrite it as a sum of simpler pieces that you can work with. Once you see why each piece is chosen, the method stops feeling like a memorized recipe and starts feeling logical.

Why Partial Fractions Are Your Secret Weapon in Calculus

A lot of students first meet partial fractions as an algebra procedure with too many cases to remember. That's why it often feels disconnected from its true purpose. But its true purpose usually isn't the decomposition itself. The goal is what the decomposition lets you do next.

When you're integrating a rational function, the obstacle is often structure. A fraction like
[ \frac{3x+5}{(x-1)(x+2)} ] doesn't match a simple antiderivative pattern right away. But if you rewrite it as [ \frac{A}{x-1}+\frac{B}{x+2}, ] you've turned one stubborn integral into two familiar ones.

That's the heart of the method. You simplify the form before you try to solve the calculus problem.

Why this topic keeps showing up

Partial fraction decomposition was independently identified in 1702 by Johann Bernoulli and Gottfried Leibniz, and its purpose is to rewrite a rational function as a sum of simpler terms that are useful for antiderivatives, Taylor series expansions, and transforms used in engineering. That historical and mathematical background is summarized in Wikipedia's overview of partial fraction decomposition.

That matters because it explains why your instructor keeps coming back to it. This isn't a classroom trick. It's a durable algebra tool that supports later work in calculus and engineering math.

Practical rule: If an integral contains a rational function and your usual substitutions don't clean it up, partial fractions should be one of the first ideas you test.

Why students struggle with it

Most mistakes happen because students focus on symbols before they focus on structure. You don't start by solving for (A), (B), or (C). You start by asking:

  • Is the fraction proper?
  • Can the denominator be factored?
  • What kinds of factors appear?
  • Which solving method fits this setup best?

If you want more support with the broader decision-making side of calculus, this guide on how to solve calculus problems is a useful companion because it helps you decide which method belongs to which type of problem.

Once you think of partial fractions as a way to enable integration, the steps stop feeling random. You're not breaking a fraction apart for no reason. You're rebuilding it into pieces your calculus tools already know how to handle.

The Pre-Flight Check Before You Decompose

The biggest unforced error in partial fractions happens before the decomposition even starts. Students jump into factorization and templates too soon. First, you need to check whether the rational expression is proper.

A rational expression is proper when the degree of the numerator is strictly less than the degree of the denominator. If it isn't, you must do polynomial division first. This is a standard rule in the usual workflow for partial fractions, as explained in Mathnasium's guide to partial fraction decomposition.

A clipboard with a checklist and a pen resting next to a stack of textbooks on a desk.

What proper means in practice

Look at these two examples:

  • (\frac{x+1}{x^2-4}) is proper, because degree (1 < 2)
  • (\frac{x^2+3}{x-2}) is improper, because degree (2 > 1)

That second expression is where students often get stuck. They try to force a partial fraction form onto something that isn't ready yet.

If the top is as large as the bottom, or larger, stop. Divide first.

A quick long division example

Take [ \frac{x^2+3}{x-2}. ]

Set up polynomial long division:

  1. Divide the leading term (x^2) by (x). That gives (x).
  2. Put (x) in the quotient.
  3. Multiply: (x(x-2)=x^2-2x).
  4. Subtract: [ (x^2+3)-(x^2-2x)=2x+3. ]
  5. Divide (2x) by (x). That gives (2).
  6. Put (2) in the quotient.
  7. Multiply: (2(x-2)=2x-4).
  8. Subtract: [ (2x+3)-(2x-4)=7. ]

So, [ \frac{x^2+3}{x-2}=x+2+\frac{7}{x-2}. ]

Now the rational part, (\frac{7}{x-2}), is proper. At that point, you can decide whether partial fractions are even needed. In this case, they aren't. The fraction is already simple enough.

Your pre-flight checklist

Before you decompose, run through this short list:

  • Compare degrees: If the numerator degree is too large, do division.
  • Factor completely: Don't guess the decomposition form until the denominator is factored.
  • Pause after division: Sometimes division alone finishes most of the job.
  • Check your algebra setup: A clean setup prevents almost every later mistake.

If you want extra review on integration context while practicing this step, these calculus integration notes can help connect the algebra back to the antiderivative work you're usually trying to do.

Setting Up The Correct Decomposition Blueprint

Once the fraction is proper, the denominator tells you everything. Students often think the hard part is solving for the constants. It usually isn't. The hard part is choosing the correct form before you solve anything.

If the setup is wrong, the rest of the algebra has no chance.

A flowchart explaining how to perform partial fraction decomposition based on different denominator factor types.

A detail that many introductory explanations underplay is how repeated factors and more complicated denominator structures change the template. That gap matters because the method extends beyond the easiest textbook cases into contexts used in higher-level engineering and signal processing, as discussed in this APEx section on partial fraction decomposition.

Distinct linear factors

Start with the easiest case. Suppose the denominator factors like this: [ (x-a)(x-b) ]

Then the decomposition form is [ \frac{A}{x-a}+\frac{B}{x-b}. ]

If you had three different linear factors, you'd use three terms: [ \frac{A}{x-a}+\frac{B}{x-b}+\frac{C}{x-c}. ]

Why this form works

Each denominator factor gets its own fraction. The numerator above each linear factor is just a constant because the denominator factor has degree (1).

Example: [ \frac{5x+1}{(x-2)(x+3)}

\frac{A}{x-2}+\frac{B}{x+3}. ]

That's the whole blueprint. Don't solve yet. Just set it up correctly.

Repeated linear factors

Here, students frequently leave out terms.

If the denominator contains a repeated factor like [ (x-a)^2, ] you do not write only [ \frac{A}{(x-a)^2}. ]

You need a term for every power up to the repetition: [ \frac{A}{x-a}+\frac{B}{(x-a)^2}. ]

If the repetition goes to the third power, use [ \frac{A}{x-a}+\frac{B}{(x-a)^2}+\frac{C}{(x-a)^3}. ]

Example setup

For [ \frac{2x+7}{(x-1)^2(x+4)}, ] the correct decomposition is [ \frac{A}{x-1}+\frac{B}{(x-1)^2}+\frac{C}{x+4}. ]

A repeated factor needs a full ladder of fractions. If you skip one rung, your decomposition can't match the original expression.

Irreducible quadratic factors

Suppose the denominator contains a quadratic that doesn't factor over the reals, such as [ x^2+1. ]

Then the numerator over that quadratic cannot be just a constant. It must be linear: [ \frac{Ax+B}{x^2+1}. ]

That's one of the most common “why” questions students ask. The reason is degree matching. Since the denominator factor has degree (2), the numerator must be one degree lower, which means degree (1).

Example setup

For [ \frac{3x+2}{(x-4)(x^2+1)}, ] you write [ \frac{A}{x-4}+\frac{Bx+C}{x^2+1}. ]

If the irreducible quadratic is repeated, you repeat the denominator powers too: [ \frac{Ax+B}{x^2+1}+\frac{Cx+D}{(x^2+1)^2}. ]

A quick pattern guide

Denominator factor type Fraction form
(x-a) (\frac{A}{x-a})
((x-a)^2) (\frac{A}{x-a}+\frac{B}{(x-a)^2})
(x^2+bx+c) irreducible (\frac{Ax+B}{x^2+bx+c})
Repeated irreducible quadratic One linear numerator for each power

The question to ask every time

Before solving, ask yourself:

  • Did I factor the denominator completely?
  • Did every distinct factor get a term?
  • Did every repeated factor get every needed power?
  • Did every irreducible quadratic get a linear numerator?

If you can answer yes to all four, your blueprint is probably right. That matters more than speed. Students who rush this stage often spend the next ten minutes solving for constants in a decomposition that never could have worked.

Two Methods for Solving for The Unknown Constants

Once your blueprint is set, you need the values of (A), (B), (C), and any other unknowns. There are two common approaches. One is fast when the setup is simple. The other works almost everywhere.

The smart move isn't choosing one forever. It's knowing which tool fits the denominator in front of you.

A visual guide explaining Heaviside cover-up and equating coefficients methods for solving partial fraction decomposition problems.

The Heaviside cover-up method

This method shines when you have distinct linear factors.

Take [ \frac{5x+1}{(x-2)(x+3)}=\frac{A}{x-2}+\frac{B}{x+3}. ]

Multiply both sides by ((x-2)(x+3)): [ 5x+1=A(x+3)+B(x-2). ]

To find (A), plug in (x=2). The (B)-term disappears: [ 5(2)+1=A(5) ] [ 11=5A ] [ A=\frac{11}{5}. ]

To find (B), plug in (x=-3). The (A)-term disappears: [ 5(-3)+1=B(-5) ] [ -14=-5B ] [ B=\frac{14}{5}. ]

That's fast because each chosen value wipes out one term.

When it works best

Use cover-up when:

  • Factors are linear and not repeated
  • Each substitution isolates one constant cleanly
  • You want speed on a test

When it becomes awkward

Don't expect cover-up to carry the whole problem when you have:

  • Repeated factors
  • Irreducible quadratics
  • A setup where substitution leaves several constants mixed together

Equating coefficients

This method is slower, but it's the universal backup. It works for every factor type if you stay organized.

Suppose [ \frac{2x+7}{(x-1)^2}=\frac{A}{x-1}+\frac{B}{(x-1)^2}. ]

Multiply through by ((x-1)^2): [ 2x+7=A(x-1)+B. ]

Expand: [ 2x+7=Ax-A+B. ]

Now match coefficients on both sides:

  • coefficient of (x): (A=2)
  • constant term: (-A+B=7)

Since (A=2), you get [ -2+B=7 ] so [ B=9. ]

That's equating coefficients. You compare the polynomial on the left to the polynomial on the right and match like terms.

A strong habit: After clearing denominators, expand carefully and group like powers of (x) before solving. Most errors happen in the expansion line, not in the final system.

A side-by-side comparison

Method Best for Main strength Main weakness
Heaviside cover-up Distinct linear factors Very fast Limited range
Equating coefficients All standard cases Reliable and universal More algebra

Here's a good exam mindset:

  • Start with cover-up if the denominator has clean, non-repeated linear factors.
  • Switch to equating coefficients if the structure is more complicated.
  • In mixed problems, use both. You can often find one or two constants by substitution, then finish the rest by coefficient matching.

This visual walkthrough can help if you want to see both methods in action:

The deeper idea is that these methods aren't rivals. They're complementary. Strong students don't ask, “Which method is the correct one?” They ask, “Which method makes this algebra shortest and safest?”

Worked Examples From Simple to Complex

You learn partial fractions by doing them. Reading the rules helps, but genuine understanding comes when you watch the setup, the solving, and the check all happen in one place.

An infographic titled Partial Fraction Decomposition explaining steps for distinct, repeated, and irreducible quadratic factors.

Example one with distinct linear factors

Decompose [ \frac{7x+4}{(x-1)(x+2)}. ]

The denominator has distinct linear factors, so write [ \frac{7x+4}{(x-1)(x+2)}=\frac{A}{x-1}+\frac{B}{x+2}. ]

Clear denominators: [ 7x+4=A(x+2)+B(x-1). ]

Since the factors are distinct and linear, cover-up logic is efficient.

Set (x=1): [ 7(1)+4=3A ] [ 11=3A ] [ A=\frac{11}{3}. ]

Set (x=-2): [ 7(-2)+4=-3B ] [ -10=-3B ] [ B=\frac{10}{3}. ]

So the decomposition is [ \frac{7x+4}{(x-1)(x+2)}=\frac{11/3}{x-1}+\frac{10/3}{x+2}. ]

If you were integrating, this is now easy: [ \int \frac{7x+4}{(x-1)(x+2)},dx

\frac{11}{3}\int \frac{1}{x-1},dx+\frac{10}{3}\int \frac{1}{x+2},dx. ]

That's the payoff. The ugly rational integrand turns into logarithms.

Students often make a sign mistake when substituting into terms like (x-1) or (x+2). If an answer feels suspicious, check the substituted value before checking the whole problem.

Example two with a repeated factor

Decompose [ \frac{3x+5}{(x-2)^2}. ]

This is where the setup matters more than speed. Because the factor is repeated, the correct form is [ \frac{3x+5}{(x-2)^2}=\frac{A}{x-2}+\frac{B}{(x-2)^2}. ]

Clear denominators: [ 3x+5=A(x-2)+B. ]

Expand: [ 3x+5=Ax-2A+B. ]

Equate coefficients:

  • coefficient of (x): (A=3)
  • constant term: (-2A+B=5)

Substitute (A=3): [ -6+B=5 ] [ B=11. ]

So, [ \frac{3x+5}{(x-2)^2}=\frac{3}{x-2}+\frac{11}{(x-2)^2}. ]

This is exactly the kind of example where students omit the (\frac{A}{x-2}) term and lose the whole problem.

If the denominator has ((x-2)^2), you need both (\frac{1}{x-2}) and (\frac{1}{(x-2)^2}) terms. The repeated power changes the template before you ever solve for constants.

A quick self-check habit

After you find constants, test the decomposition by recombining the right-hand side. You don't always need to fully simplify, but you should at least verify that the numerators rebuild correctly after clearing denominators.

A short check catches:

  • dropped terms
  • sign errors
  • wrong repeated-factor setup
  • arithmetic slips in the last line

That checking habit is one of the fastest ways to improve your exam accuracy.

Quick Exam Tips and Where This Skill Leads Next

On an exam, partial fractions can feel like a lot because several algebra decisions happen in a row. The best way to stay calm is to make those decisions in the same order every time.

Fast exam reminders

  • Check properness first: If the numerator is too large, divide before doing anything else.
  • Factor completely: Your decomposition form comes from the denominator, not from guesswork.
  • Build the right template: Repeated factors need all powers. Irreducible quadratics need linear numerators.
  • Choose your solving method strategically: Distinct linear factors often reward cover-up. Messier structures usually call for equating coefficients.
  • Verify before moving on: A quick recombination check is cheaper than carrying a wrong decomposition into an integral.

Where this skill shows up next

Manual partial fractions still matter even though software can perform the decomposition. Understanding the process helps you interpret results, verify them, and decide when the method belongs in a larger solution, especially in integration and inverse-transform problems. That perspective is emphasized in this video discussion about why learning manual partial fractions still matters.

You'll see this skill again when rational integrals appear in Calculus II, when algebra shows up inside differential equations, and when inverse Laplace transform problems require you to break expressions into recognizable pieces. If you want a preview of that later connection, these notes on Laplace response and transform practice show the kind of setting where partial fractions becomes more than a homework technique.

If your algebra foundation still feels shaky, it's worth reviewing the basics of understanding algebraic fractions formulae. Many partial-fractions mistakes are really algebraic-fractions mistakes wearing a calculus costume.

Learn the logic, not just the template. Software can decompose a fraction for you, but it can't decide for you when the method is the right mathematical move.

You don't need to memorize partial fractions as a giant list of cases. You need a compact routine: check, factor, choose the form, solve the constants, verify, then use the result for integration or transforms. Once that routine becomes familiar, decomposing into partial fractions stops feeling like a wall and starts feeling like a way through one.


If you want help turning lecture notes, PDFs, and worked examples into cleaner study materials, Maeve can help you organize the topic faster. You can use it to create summaries, flashcards, practice questions, and step-by-step solutions so you spend less time sorting materials and more time practicing the math.