Partial Fraction Decomposition Calculator
The definitive algebraic partial fraction decomposition calculator for expanding complex rational functions, solving coefficients with Heaviside cover-up methods, and computing calculus antiderivatives.
Step-by-Step Algebraic Derivation Heaviside Method & Equating Coefficients
How to Decompose a Rational Fraction into Partial Fractions
Partial fraction decomposition reverses common-denominator addition by splitting a proper rational fraction P(x)/Q(x) into a sum of simpler fractions: P(x)/[(x - r_1)(x - r_2)] = A/(x - r_1) + B/(x - r_2). Coefficients A and B are found using the Heaviside cover-up method or equating numerator coefficients, enabling straightforward calculus integration into logarithmic terms.
Anatomy of Partial Fraction Decomposition & Proper Rationals
In elementary algebra, students learn to combine separate fractions by finding a common denominator:
Partial fraction decomposition is the exact reverse operation: starting with the condensed fraction (5x − 4)/(x² − x − 2), it breaks it back down into 2/(x − 2) + 3/(x + 1).
The Four Denominator Factorization Cases
The algebraic form of the decomposition depends strictly on the factor types of Q(x):
Each distinct linear root gets a simple constant numerator.
Ascending powers up to the multiplicity of the root.
Quadratic factor with negative discriminant requires linear numerator.
Ascending powers with linear numerators for each power.
The Heaviside Cover-Up Shortcut Method
For distinct linear factors, the Heaviside Cover-Up Method eliminates the need for solving matrix systems:
- To find A above (x − 2), cover up (x − 2) in the original expression.
- Evaluate the remaining fraction at x = 2: A = [5(2) − 4] / (2 + 1) = 6/3 = 2.
- To find B above (x + 1), cover up (x + 1) and evaluate at x = -1: B = [5(-1) − 4] / (-1 − 2) = -9/-3 = 3.
Calculus Applications: Analytical Indefinite Integration
The main application of partial fractions is solving integrals of rational expressions:
Step-by-Step Worked Examples (Distinct, Repeated, Quadratic)
Decompose (5x − 4) / [(x − 2)(x + 1)].
1. Template: (5x − 4) / [(x − 2)(x + 1)] = A / (x − 2) + B / (x + 1).
2. Cover-up for A (x = 2): A = [5(2) − 4] / (2 + 1) = 6/3 = 2.
3. Cover-up for B (x = -1): B = [5(-1) − 4] / (-1 − 2) = −9/−3 = 3.
Result: 2 / (x − 2) + 3 / (x + 1).
Common Decomposition Pitfalls & Degree Validation Errors
Applying partial fractions when deg P ≥ deg Q without performing polynomial long division first produces invalid constant coefficients.
Writing only A/(x − 1)² instead of A/(x − 1) + B/(x − 1)² lacks the necessary degrees of freedom to match numerator coefficients.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.