Partial Fraction Decomposition Calculator

Free partial fraction decomposition calculator with step-by-step solutions. Decompose rational expressions into simpler fractions — handles repeated roots and irreducible quadratics.

Rational Expression
x
x² − 5x + 6
deg:
x
const
deg:
x
const
Partial Fraction Decomposition
(x) / (x² − 5x + 6)
=
−2 / (x − 2) + 3 / (x − 3)
2 Factors
2 Terms
Verified

Decomposition Terms

Individual partial fractions from the decomposition

Term 1
−2 / (x − 2)
Term 2
3 / (x − 3)

Step-by-Step Solution

Detailed walkthrough of the partial fraction decomposition

1

Identify the rational expression

(x) / (x² − 5x + 6)

Numerator degree: 1, Denominator degree: 2

Proper fraction — proceed to factor the denominator.

2

Factor the denominator

x² − 5x + 6

x² − 5x + 6 = (x − 2) · (x − 3)

3

Set up partial fraction form

(x) / (x² − 5x + 6) = A / (x − 2) + B / (x − 3)

Unknowns to solve: A, B

Multiply both sides by the denominator and equate coefficients.

4

Solve for coefficients

System of 2 equations in 2 unknowns

A = −2, B = 3

Found: A = −2, B = 3

5

Write the decomposition

(x) / (x² − 5x + 6) = −2 / (x − 2) + 3 / (x − 3)

6

Verify the result

Recombine the partial fractions and check equality

Verified ✔ — The partial fractions recombine to the original expression.

What Is Partial Fraction Decomposition?

Breaking complex rational expressions into simpler pieces

Partial fraction decomposition is an algebraic technique that rewrites a rational expression — a fraction where both the numerator and denominator are polynomials — as a sum of simpler fractions. Each simpler fraction has an irreducible factor of the original denominator as its own denominator.

Core Idea

P(x) / Q(x) = A/(x − r&sub1;) + B/(x − r&sub2;) + …

P(x)/Q(x)

Rational expression

Q(x)

Factor the denominator

A, B, C…

Unknown coefficients

✔ Verify

Recombine to check

This technique is essential in calculus (integrating rational functions), differential equations (inverse Laplace transforms), and signal processing (transfer function analysis). Without it, many integrals are extremely difficult or impossible to evaluate analytically.

Decomposition Rules by Factor Type

How the denominator's factorization determines the partial fraction form

1. Distinct Linear Factors

Each factor (x − r) in the denominator contributes one term with a constant numerator. Use the cover-up (Heaviside) method for fast solving.

P(x) / ((x − a)(x − b)) = A/(x − a) + B/(x − b)

2. Repeated Linear Factors

A factor (x − r) raised to power n produces n terms — one for each power from 1 up to n. Each has a constant numerator.

P(x) / (x − a)³ = A/(x − a) + B/(x − a)² + C/(x − a)³

3. Irreducible Quadratic Factors

A quadratic factor (ax² + bx + c) with Δ < 0 cannot be factored over the reals. Its partial fraction has a linear numerator (Ax + B).

P(x) / (x² + 1) = (Ax + B)/(x² + 1)

4. Repeated Quadratic Factors

Like repeated linear factors, each power gets its own term — but the numerator is linear (Ax + B) for every term.

P(x) / (x² + 1)² = (Ax + B)/(x² + 1) + (Cx + D)/(x² + 1)²

Quick Reference & Worked Example

Common decomposition patterns at a glance

Rational ExpressionDecompositionType
x / (x² − 5x + 6)−2/(x − 2) + 3/(x − 3)Distinct linear
(5x − 4) / (x² − x − 2)2/(x − 2) + 3/(x + 1)Distinct linear
1 / (x − 1)²1/(x − 1)²Repeated linear
x / (x³ + x)1/(x² + 1)Irreducible quadratic
(3x + 5) / (x³ − x)−5/x + 4/(x−1) + 1/(x+1)Three linear
(x² + 1) / (x² − 1)1 + 1/(x−1) − 1/(x+1)Improper fraction

Worked Example

Decompose (5x − 4) / (x² − x − 2):

Numerator: 5x − 4   Denominator: x² − x − 2

Step 1: Check: deg(5x−4) = 1 < deg(x²−x−2) = 2 → Proper fraction &checkmark;

Step 2: Factor: x² − x − 2 = (x − 2)(x + 1)

Step 3: Set up: (5x−4)/((x−2)(x+1)) = A/(x−2) + B/(x+1)

Step 4: Multiply through: 5x − 4 = A(x+1) + B(x−2)

Set x = 2:   6 = 3A → A = 2

Set x = −1:   −9 = −3B → B = 3

Result: 2/(x − 2) + 3/(x + 1)   &checkmark;

Why Partial Fractions Matter

Applications across calculus, engineering, and science

Integration (Calculus)

∫ dx/(x²−1) is hard directly, but decomposes into simple logarithmic integrals: ½ ln|x−1| − ½ ln|x+1| + C.

Laplace Transforms

Inverse Laplace transforms of rational F(s) require decomposition into standard forms like A/(s−p) for time-domain conversion.

Control Systems

Transfer functions G(s) are decomposed for pole-zero analysis, stability assessment, and time-domain response computation.

Signal Processing

Z-transforms and discrete-time system analysis use partial fractions for inverse transform computation and filter design.

Common Mistakes to Avoid

Pitfalls students frequently encounter

Skipping the improper fraction check

If deg(numerator) ≥ deg(denominator), you must perform polynomial long division first. (x³+1)/(x²−1) needs division before decomposition.

Using constant numerators for quadratics

Irreducible quadratic factors need a linear numerator (Ax + B), not just a constant A. Missing the Bx term leads to wrong coefficients.

Forgetting repeated factor terms

For (x − 1)³, you need three terms: A/(x−1) + B/(x−1)² + C/(x−1)³. Missing any power gives an incomplete decomposition.

Not factoring the denominator completely

x&sup4; − 1 factors as (x²+1)(x+1)(x−1), not just (x²+1)(x²−1). Incomplete factoring produces wrong partial fraction forms.

Always verify your answer by recombining the partial fractions over their common denominator. The numerator should exactly match the original. This calculator does this automatically — look for the “Verified” badge.

Frequently Asked Questions

Common questions about partial fraction decomposition

Embed Partial Fraction Decomposition Calculator

Add this calculator to your website or blog for free.

Last updated Apr 27, 2026