Partial Fraction Expansion Calculator

Important Note: This calculator is designed for proper rational functions of the form (A₁x + A₀) / ((x - R₁)(x - R₂)), where R₁ ≠ R₂ (distinct real linear factors). For more complex cases (repeated factors, irreducible quadratics, or improper fractions), manual calculation or a more advanced tool is required.
Enter the coefficient of 'x' in the numerator P(x) = A₁x + A₀.
Enter the constant term in the numerator P(x) = A₁x + A₀.
Enter the first root for the denominator (x - R₁).
Enter the second root for the denominator (x - R₂). Must be different from R₁.

Partial Fraction Expansion Results

Original Function:

Decomposition:

Intermediate Coefficients:

Coefficient A:

Coefficient B:

The calculation is based on solving the system of equations derived from equating the original rational function to its partial fraction form: A₁x + A₀ = A(x - R₂) + B(x - R₁)

Graph showing the original function (blue) and its partial fraction expansion (red) are identical.

Example Points for Original Function vs. PFE
x Value P(x)/Q(x) PFE Result

What is Partial Fraction Expansion?

Partial fraction expansion (PFE), also known as partial fraction decomposition, is an algebraic technique used to rewrite a complex rational function (a fraction where the numerator and denominator are polynomials) as a sum of simpler fractions. Each of these simpler fractions has a denominator that is a factor of the original denominator. This process is incredibly useful in various areas of mathematics, particularly in integral calculus, Laplace transforms, and solving differential equations.

Who should use this partial fraction expansion calculator? Students, engineers, and mathematicians who need to simplify rational expressions for further analysis, especially when preparing functions for integration. It's a fundamental tool in advanced algebra and calculus courses.

Common misunderstandings often arise regarding the conditions for applying PFE. It primarily applies to proper rational functions, where the degree of the numerator polynomial is strictly less than the degree of the denominator polynomial. If the function is improper, polynomial long division must be performed first to obtain a polynomial plus a proper rational function. Another common point of confusion involves handling repeated factors or irreducible quadratic factors in the denominator, which require different forms of partial fractions.

Partial Fraction Expansion Formula and Explanation

The general idea behind partial fraction expansion is to take a rational function P(x)/Q(x) and express it as a sum:

P(x)/Q(x) = F₁(x) + F₂(x) + ... + Fₚ(x)

where each Fₑ(x) is a simpler fraction whose denominator is a factor of Q(x).

For the specific case handled by this calculator, where P(x) = A₁x + A₀ and Q(x) = (x - R₁)(x - R₂) with R₁ ≠ R₂, the partial fraction expansion takes the form:

(A₁x + A₀) / ((x - R₁)(x - R₂)) = A / (x - R₁) + B / (x - R₂)

To find the constants A and B, we multiply both sides by the common denominator (x - R₁)(x - R₂):

A₁x + A₀ = A(x - R₂) + B(x - R₁)

This equation must hold for all x. By expanding and equating coefficients of like powers of x, or by substituting specific values of x (like the roots R₁ and R₂), we can solve for A and B.

Variables Table:

Variables for Partial Fraction Expansion
Variable Meaning Unit Typical Range
A₁ Coefficient of x in numerator P(x) Unitless Any real number
A₀ Constant term in numerator P(x) Unitless Any real number
R₁ First root of the denominator Q(x) Unitless Any real number
R₂ Second root of the denominator Q(x) Unitless Any real number (must be ≠ R₁)
A Coefficient of the first partial fraction Unitless Calculated value
B Coefficient of the second partial fraction Unitless Calculated value

Practical Examples of Partial Fraction Expansion

Let's illustrate the utility of the partial fraction expansion calculator with a couple of examples.

Example 1: Simple Decomposition

  • Input Numerator: x + 3 (so A₁ = 1, A₀ = 3)
  • Input Denominator Roots: R₁ = 1, R₂ = -2 (so Q(x) = (x - 1)(x - (-2)) = (x - 1)(x + 2))
  • Original Function: (x + 3) / ((x - 1)(x + 2))
  • Calculator Result: (4/3) / (x - 1) + (-1/3) / (x + 2)
  • Explanation: Substituting x=1 into x + 3 = A(x + 2) + B(x - 1) gives 1 + 3 = A(1 + 2) + B(0), so 4 = 3A, thus A = 4/3. Substituting x=-2 gives -2 + 3 = A(0) + B(-2 - 1), so 1 = -3B, thus B = -1/3.

Example 2: Another Case

  • Input Numerator: 2x (so A₁ = 2, A₀ = 0)
  • Input Denominator Roots: R₁ = 3, R₂ = -1 (so Q(x) = (x - 3)(x + 1))
  • Original Function: 2x / ((x - 3)(x + 1))
  • Calculator Result: (3/2) / (x - 3) + (1/2) / (x + 1)
  • Explanation: Similar to Example 1, solving for A and B yields these coefficients. This decomposition is particularly useful if you were to integrate this rational function.

How to Use This Partial Fraction Expansion Calculator

Using this calculator is straightforward, but it's important to understand its specific capabilities:

  1. Identify Your Function: Ensure your rational function is a proper fraction of the form (A₁x + A₀) / ((x - R₁)(x - R₂)). If your denominator is not factored, you'll need to factor it first to find R₁ and R₂. If your numerator has a higher degree than 1, or your denominator has a degree higher than 2, this calculator may not apply.
  2. Input Numerator Coefficients:
    • Enter the coefficient of the 'x' term into "Numerator Coefficient A₁".
    • Enter the constant term into "Numerator Coefficient A₀".
  3. Input Denominator Roots:
    • Enter the first root into "Denominator Root R₁".
    • Enter the second root into "Denominator Root R₂". Ensure these two roots are different.
  4. Calculate: Click the "Calculate Partial Fraction Expansion" button. The results will appear below.
  5. Interpret Results: The calculator will display the expanded form, showing the individual partial fractions and their coefficients (A and B). The graph visually confirms that the original function and its decomposition are identical. The values are unitless, representing coefficients in an algebraic expression.
  6. Copy Results: Use the "Copy Results" button to quickly copy the entire output for use in your notes or other applications.

Key Factors That Affect Partial Fraction Expansion

The method and complexity of partial fraction expansion are heavily influenced by the characteristics of the denominator polynomial. Understanding these factors is crucial for successful decomposition:

  • Degree of Numerator vs. Denominator: The most fundamental factor. PFE directly applies to proper rational functions (degree of numerator < degree of denominator). If improper, polynomial long division is the first step.
  • Nature of Denominator Factors:
    • Distinct Linear Factors: (e.g., (x-a)(x-b)). This is the simplest case, handled by this calculator, leading to terms like A/(x-a).
    • Repeated Linear Factors: (e.g., (x-a)^n). Requires terms for each power up to n, like A₁/(x-a) + A₂/(x-a)² + ....
    • Irreducible Quadratic Factors: (e.g., x²+bx+c where b²-4c < 0). These result in terms like (Ax+B)/(x²+bx+c).
    • Repeated Irreducible Quadratic Factors: A combination of the above two.
  • Real vs. Complex Roots: While PFE can be done over complex numbers, typically in calculus, we restrict to real coefficients and factors. Irreducible quadratic factors arise from complex conjugate roots.
  • Coefficient Values: The specific numerical values of the coefficients in the numerator and denominator determine the values of A, B, etc., in the partial fractions. These are unitless algebraic quantities.
  • Mathematical Context: The reason for performing PFE (e.g., integration, inverse Laplace transform) can influence how the decomposition is structured or interpreted. For instance, in calculus, the goal is often to transform an expression into easily integrable forms.
  • Precision Requirements: Depending on the application, the precision of the calculated coefficients might be critical. This calculator provides decimal approximations.

Partial Fraction Expansion Calculator FAQ

Q: What is a partial fraction expansion calculator used for?

A: It's used to decompose complex rational functions into a sum of simpler fractions. This simplification is crucial for tasks like integration in calculus, solving differential equations, and in various engineering applications.

Q: Can this calculator handle all types of partial fraction expansions?

A: No, this specific partial fraction expansion calculator is designed for a common case: proper rational functions with a linear numerator and a denominator composed of two distinct real linear factors (e.g., (Ax+B)/((x-R1)(x-R2))). For cases with repeated factors, irreducible quadratic factors, or improper fractions, you would need a more advanced tool or manual calculation.

Q: What if my rational function is improper (degree of numerator ≥ degree of denominator)?

A: If your function is improper, you must first perform polynomial long division. This will result in a polynomial plus a proper rational function, which can then be decomposed using partial fractions.

Q: Why are there no units for the inputs or results?

A: Partial fraction expansion is a purely algebraic process that deals with coefficients of polynomials. These coefficients and the resulting partial fraction coefficients are unitless numbers, representing algebraic relationships, not physical quantities.

Q: What happens if R₁ equals R₂?

A: If R₁ equals R₂, the denominator has a repeated linear factor (e.g., (x-R1)²). This calculator does not support that case. The form of the partial fractions would be A/(x-R1) + B/(x-R1)², which requires a different calculation method.

Q: How accurate are the results from this partial fraction expansion calculator?

A: The results are calculated using standard algebraic formulas and are generally accurate within typical floating-point precision. For exact symbolic results, a dedicated computer algebra system would be required.

Q: Can I use this for simplifying rational functions in general?

A: While partial fraction expansion is a form of simplification, its primary goal is decomposition into a sum of simpler terms, not necessarily reducing the fraction to its lowest terms (which is often done by canceling common factors). For general simplification, other algebraic techniques might be more appropriate.

Q: How does this relate to solving algebraic equations?

A: The process of finding the unknown coefficients (A, B, etc.) in partial fraction expansion often involves solving a system of linear algebraic equations, which is a core concept in algebraic equation solving.

🔗 Related Calculators