How Partial Fraction Decomposition Calculator Works?
The Partial Fraction Decomposition Calculator works in 4 steps: it evaluates the original expression at a test value, reduces that value to lowest terms, evaluates each decomposition term, and compares the sums. The method suits decompositions with repeated or quadratic factors, where errors are common.
Evaluate the original rational expression
For (x² + 1)/((x - 1)²(x + 2)) at x = 3, the numerator is 10 and the denominator is 4 × 5 = 20.
Reduce the value
Enter 10 over 20. The calculator divides by the greatest common factor (GCF) of 10 and returns 1/2, the decimal 0.5, and 50%.
Evaluate each decomposition term
The decomposition is (4/9)/(x - 1) + (2/3)/(x - 1)² + (5/9)/(x + 2). At x = 3 the 3 terms equal 2/9, 1/6, and 1/9.
Add the terms and compare
The sum is 4/18 + 3/18 + 2/18 = 9/18 = 1/2, which matches the calculator result. The 3 coefficients are correct.
Partial Fraction Decomposition Calculator Formula
The partial fraction decomposition formula assigns 1 term per factor power: A/(ax + b) for a linear factor, A1/(ax + b) + ... + Ak/(ax + b)^k for a repeated linear factor, and (Ax + B)/(ax² + bx + c) for an irreducible quadratic factor. The numerator degree must be lower than the denominator degree.
Case 1: distinct linear factors
Each linear factor gets 1 constant numerator.
Case 2: repeated linear factor
A factor raised to the power k contributes k terms, one for each power from 1 to k.
Case 3: irreducible quadratic factor
A quadratic with p² - 4q < 0 gets a linear numerator Bx + C.
Case 4: repeated quadratic factor
Each power of the quadratic gets its own linear numerator.
Worked example: (x² + 1)/((x - 1)²(x + 2))
- Set up 3 terms: A/(x - 1) + B/(x - 1)² + C/(x + 2).
- Multiply through by the denominator: x² + 1 = A(x - 1)(x + 2) + B(x + 2) + C(x - 1)².
- Substitute x = 1: 2 = 3B, so B = 2/3. Substitute x = -2: 5 = 9C, so C = 5/9.
- Match the x² coefficients: 1 = A + C, so A = 4/9.
- Check at x = 0: A(-2) + 2B + C = -8/9 + 12/9 + 5/9 = 9/9 = 1, which equals (0 + 1)/1.
Partial Fraction Decomposition Calculator Conversion Table
The partial fraction decomposition conversion table lists 11 rational expressions across all 4 factor cases, with the decomposition and the number of unknown coefficients.
| Rational Expression | Factor Case | Decomposition | Unknowns |
|---|---|---|---|
| 1/((x - 1)(x - 2)) | Distinct linear | -1/(x - 1) + 1/(x - 2) | 2 |
| (5x - 4)/(x² - x - 2) | Distinct linear | 2/(x - 2) + 3/(x + 1) | 2 |
| 3/((x + 1)(x + 2)(x + 3)) | 3 distinct linear | (3/2)/(x + 1) - 3/(x + 2) + (3/2)/(x + 3) | 3 |
| 1/(x²(x + 1)) | Repeated linear | -1/x + 1/x² + 1/(x + 1) | 3 |
| x/(x + 1)² | Repeated linear | 1/(x + 1) - 1/(x + 1)² | 2 |
| (2x + 3)/(x + 1)² | Repeated linear | 2/(x + 1) + 1/(x + 1)² | 2 |
| 1/(x(x² + 1)) | Linear + irreducible quadratic | 1/x - x/(x² + 1) | 3 |
| (x² + 2)/(x(x² + 1)) | Linear + irreducible quadratic | 2/x - x/(x² + 1) | 3 |
| (x + 1)/((x - 1)(x² + 1)) | Linear + irreducible quadratic | 1/(x - 1) - x/(x² + 1) | 3 |
| (x² + x + 1)/(x² + 1)² | Repeated irreducible quadratic | 1/(x² + 1) + x/(x² + 1)² | 4 |
| x³/(x² - 1) | Improper (divide first) | x + (1/2)/(x - 1) + (1/2)/(x + 1) | 2 |
What is Partial Fraction Decomposition Calculator?
A Partial Fraction Decomposition Calculator is a tool that rewrites a proper rational expression as a sum of terms with the simplest possible denominators and checks the coefficients numerically. The interactive panel reduces the value of the original expression, and each decomposition term is evaluated at the same input for comparison.
Partial fraction decomposition follows a fixed template. Factor the denominator into linear and irreducible quadratic factors, write 1 term for each factor power, and solve for the unknown numerators. The 4 cases are distinct linear, repeated linear, irreducible quadratic, and repeated irreducible quadratic factors. Mixed denominators combine the cases.
The unknown coefficients come from 2 techniques. Substituting the roots of linear factors gives some coefficients at once. Matching the coefficients of x², x, and the constant gives a linear system for the rest. A denominator of degree n always produces n unknowns, so (x² + x + 1)/(x² + 1)² has 4 unknowns: A1, B1, A2, and B2.
What are the uses of Partial Fraction Decomposition Calculator?
The Partial Fraction Decomposition Calculator has 6 main uses, including integrals with repeated factors, Laplace transforms with quadratic factors, and generating functions.
Integrating repeated factors
The decomposition of 1/(x²(x + 1)) gives the integral -ln|x| - 1/x + ln|x + 1| + C.
Inverting Laplace transforms with quadratics
Control engineers split 1/(s(s² + 1)) into 1/s - s/(s² + 1). The time-domain response is 1 - cos(t).
Solving recurrence relations
The generating function 1/((1 - x)(1 - 2x)) splits into -1/(1 - x) + 2/(1 - 2x), so the nth coefficient is 2^(n + 1) - 1.
Computing inverse Z-transforms
Digital signal processing students decompose discrete transfer functions into first-order terms with known inverse transforms.
Verifying coefficient systems
Students evaluate the original expression and the decomposition at x = 0 and x = 3. Matching values at 2 inputs confirm the linear system solution.
Teaching factor cases
Instructors use the 11 table rows to show how each factor type changes the template and the number of unknowns.