Solve for: (Mx + N) / (x - a)(x - b)
Decomposition Result:
What is a Partial Fraction Decomposition Calculator?
A partial fraction decomposition calculator is a specialized mathematical tool designed to break down complex rational expressions into a sum of simpler fractions. In algebra and calculus, rational functions (fractions where both the numerator and denominator are polynomials) can often be unwieldy. By "decomposing" them, we transform a single difficult expression into multiple "partial" fractions that are much easier to integrate, differentiate, or use in Laplace transforms.
This process is essentially the reverse of finding a common denominator. Instead of adding fractions together, we are taking them apart based on the factors of the denominator.
Partial Fraction Decomposition Workflow
Visual representation of the decomposition logic.
The Formula and Logic
The form of the decomposition depends entirely on the nature of the factors in the denominator $Q(x)$. Here are the primary cases:
| Factor Type | Factor in Denominator | Partial Fraction Form |
|---|---|---|
| Distinct Linear | $(ax + b)$ | $A / (ax + b)$ |
| Repeated Linear | $(ax + b)^k$ | $A_1/(ax+b) + A_2/(ax+b)^2 + ... + A_k/(ax+b)^k$ |
| Irreducible Quadratic | $(ax^2 + bx + c)$ | $(Ax + B) / (ax^2 + bx + c)$ |
Practical Examples
Example 1: Distinct Linear Factors
Find the decomposition of: $\frac{x + 5}{(x - 2)(x + 3)}$
- Set up the equation: $\frac{x + 5}{(x - 2)(x + 3)} = \frac{A}{x - 2} + \frac{B}{x + 3}$
- Multiply by common denominator: $x + 5 = A(x + 3) + B(x - 2)$
- Solve for A (let x = 2): $2 + 5 = A(2 + 3) \implies 7 = 5A \implies A = 1.4$
- Solve for B (let x = -3): $-3 + 5 = B(-3 - 2) \implies 2 = -5B \implies B = -0.4$
- Result: $\frac{1.4}{x - 2} - \frac{0.4}{x + 3}$
Example 2: Repeated Linear Factors
For $\frac{1}{x(x-1)^2}$, the form is $\frac{A}{x} + \frac{B}{x-1} + \frac{C}{(x-1)^2}$.
How to Use the Calculator
- Identify your Numerator: Enter the coefficients of your top polynomial (e.g., if you have $2x + 3$, M=2 and N=3).
- Factor your Denominator: This tool requires the roots of the denominator. If your denominator is $(x-1)(x+2)$, enter $1$ and $-2$.
- Click Calculate: The tool uses the Heaviside Cover-up method to find the constants instantly.
- Review Steps: Look at the generated math to understand how the constants A and B were derived.
Key Factors in Decomposition
- Degree Check: The degree of the numerator must be *less* than the degree of the denominator. If not, you must perform polynomial long division first.
- Real vs. Complex: This calculator focuses on real number solutions, which are most common in standard engineering and physics problems.
- Irreducibility: A quadratic factor is irreducible if its discriminant ($b^2 - 4ac$) is negative.
Frequently Asked Questions (FAQ)
1. Why is partial fraction decomposition used?
It is primarily used to simplify the integration of rational functions and to find inverse Laplace transforms.
2. Can I use this for improper fractions?
No, if the numerator's power is equal to or higher than the denominator's, use long division first.
3. What is the Heaviside Cover-up method?
A shortcut for finding constants of non-repeated linear factors by "covering" the factor and evaluating the rest at the root.
4. What if the denominator can't be factored?
Then it is an irreducible quadratic, and the numerator of its partial fraction will be in the form $Ax + B$.
5. Does this work for 3 or more factors?
Yes, the logic extends to any number of distinct factors: $A/(x-r1) + B/(x-r2) + C/(x-r3)...$
6. Is PFD used in real life?
Absolutely. It's used in control systems engineering, signal processing, and structural analysis.
7. What is a "repeated root"?
When a factor like $(x-2)$ appears twice, e.g., $(x-2)^2$.
8. Can I use this for trigonometry?
Only if the trig functions can be substituted (e.g., $u = \sin(x)$) to form a rational polynomial expression.