Partial Fraction Calculator
Decompose Rational Functions into Partial Fractions with Steps
The Professor’s Guide to Partial Fraction Decomposition: Integration Made Simple
- Goal: Rewrite a complex rational function $\frac{P(x)}{Q(x)}$ as a sum of simpler partial fractions.
- Condition: The degree of the numerator must be less than the denominator. Use Polynomial Long Division for improper fractions.
- Method: Factor the denominator, set up the decomposition form ($A, B, C$), and solve for coefficients.
- Application: Essential for Integration by Partial Fractions and computing Inverse Laplace Transforms.
Welcome to the ultimate resource on Partial Fraction Decomposition. Whether you are facing a nasty integral in Calculus 2, analyzing signal processing in Engineering, or solving Differential Equations, finding the Partial Fraction Expansion is a critical skill.
The core idea is simple: You know how to add fractions ($ \frac{1}{2} + \frac{1}{3} = \frac{5}{6} $). Partial Fraction Decomposition is simply doing this in reverse ($ \frac{5}{6} \to \frac{1}{2} + \frac{1}{3} $), but with algebraic polynomials. Our Partial Fraction Calculator above handles the heavy algebraic lifting for you, including the Heaviside Cover-up Method.
1. The 4 Cases of Decomposition (Decision Matrix)
The structure of your answer depends entirely on how the denominator $Q(x)$ factors. Here is the roadmap every Calculus student needs to master:
| Case Type | Denominator Factor | Decomposition Setup Form |
|---|---|---|
| Distinct Linear Factors | $(x – a)$ | $$ \frac{A}{x – a} $$ |
| Repeated Linear Factors | $(x – a)^k$ | $$ \frac{A_1}{x – a} + \frac{A_2}{(x – a)^2} + \dots + \frac{A_k}{(x – a)^k} $$ |
| Irreducible Quadratic Factors | $(ax^2 + bx + c)$ | $$ \frac{Ax + B}{ax^2 + bx + c} $$ |
| Repeated Quadratic Factors | $(ax^2 + bx + c)^k$ | $$ \frac{A_1 x + B_1}{ax^2 + bx + c} + \dots + \frac{A_k x + B_k}{(ax^2 + bx + c)^k} $$ |
2. How to Solve for Constants (The Methods)
Once you have set up the equation (e.g., $\frac{5x-1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}$), how do you find $A$ and $B$? There are two primary techniques used by our Rational Function Decomposer.
Method A: The Heaviside Cover-up Method (Fastest)
This trick works best for distinct linear factors. It is a shortcut to avoid solving simultaneous equations.
To find the constant $A$ above the factor $(x-1)$: Cover up $(x-1)$ in the original expression and plug in the root $x=1$.
Method B: Equating Coefficients (Universal)
Multiply both sides by the LCD to clear fractions, expand the polynomials, and match the coefficients of $x^2, x^1, x^0$ on both sides. This creates a System of Linear Equations which our calculator solves instantly.
3. Step-by-Step Example: Distinct Linear Factors
Let’s use the Partial Fraction Solver logic to decompose $\frac{1}{x^2 – 1}$.
Step 1: Factor Denominator
$x^2 – 1 = (x-1)(x+1)$
Step 2: Setup Form
$$ \frac{1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1} $$
Step 3: Clear Denominator
$1 = A(x+1) + B(x-1)$
Step 4: Solve Constants
Let $x=1 \implies 1 = A(2) \implies A = 1/2$
Let $x=-1 \implies 1 = B(-2) \implies B = -1/2$
Final Answer:
$$ \frac{1}{2(x-1)} – \frac{1}{2(x+1)} $$
4. Why We Do This: Calculus Applications
The main reason you are learning this is usually for Integration or Laplace Transforms.
Consider the integral $\int \frac{1}{x^2-1} dx$. Direct integration is hard. But using our decomposed form:
Suddenly, a difficult problem becomes two simple natural log integrals. This technique is also standard for computing the Inverse Laplace Transform in engineering contexts.
5. Frequently Asked Questions (FAQ)
References & Further Reading
- Stewart, J. (2015). Calculus: Early Transcendentals (8th ed.). Cengage Learning. (Section 7.4: Integration of Rational Functions).
- Paul’s Online Notes. “Partial Fractions.” Read Tutorial
- Khan Academy. “Partial fraction expansion.” Watch Video
Simplifying Calculus, One Fraction at a Time
Don’t let algebraic fractions ruin your calculus grade. Use our free Partial Fraction Decomposition Calculator to instantly break down rational functions and verify your integration steps.
Decompose Now