Calculators.Life Calculator
Math

Partial Fraction Decomposition Calculator

Input Parameters

Scenarios
Choose the factored structure of the rational expression denominator
Coefficient for x² term in numerator P(x)
Coefficient for x term in numerator P(x)
Constant term in numerator P(x)
Coefficient a₁ in (a₁x + b₁)
Constant b₁ in (a₁x + b₁)
Coefficient a₂ in (a₂x + b₂) or c₂ in (c₂x² + b₂x + c₀)
Constant b₂ in (a₂x + b₂) or x coefficient b₂ in quadratic factor
Constant c₀ if using quadratic factor
Coefficient a₃ in (a₃x + b₃) if using 3 distinct linear factors
Constant b₃ in (a₃x + b₃) if using 3 distinct linear factors

Computed Results

Partial Fraction Form
6 / (x + 1) + -5 / (x + 2)
Numerator A6
Numerator B-5
Numerator C0

The partial fraction decomposition calculator breaks down complex rational expressions into simpler fractions. By selecting the denominator's factored form and entering the polynomial coefficients, you can determine the unknown numerators required to express the original function as a sum of simpler terms.

Practical Use Cases

Partial fraction decomposition is a mathematical technique used to simplify rational expressions. It is commonly applied in calculus to integrate complex rational functions by breaking them into simpler, easily integrable parts. It is also used in differential equations and control theory when applying the inverse Laplace transform to convert functions from the frequency domain back to the time domain.

How to Use the Calculator

Follow these steps to decompose a rational expression:

  1. Select the Denominator Factor Form that matches your expression (e.g., two distinct linear factors, repeated linear factors, three distinct linear factors, or a linear and quadratic factor).
  2. Enter the coefficients for the numerator polynomial (the x² coefficient, x coefficient, and constant term).
  3. Input the coefficients and constants for each factor in the denominator based on your selected form.
  4. The calculator will display the decomposed partial fraction form and the calculated numerator values (A, B, and C).

Formula & Explanation

The method of partial fraction decomposition depends on the structure of the denominator. The calculator sets up an equation where the original rational expression equals the sum of fractions with unknown numerators. By finding a common denominator and equating the numerator coefficients, it solves for the unknowns.

For two distinct linear factors, the form is:

P(x) / ((a₁x + b₁)(a₂x + b₂)) = A / (a₁x + b₁) + B / (a₂x + b₂)

For repeated linear factors, the form is:

P(x) / (a₁x + b₁)² = A / (a₁x + b₁) + B / (a₁x + b₁)²

For a linear and a quadratic factor, the form is:

P(x) / ((a₁x + b₁)(a₂x² + b₂x + c₀)) = A / (a₁x + b₁) + (Bx + C) / (a₂x² + b₂x + c₀)

Verified Scenario Walkthroughs

Here are examples of how the calculator processes different types of rational expressions.

Simple Distinct Linear Factors

If you have a numerator of 5x + 2 and a denominator with factors (x - 1) and (x + 1), you select "distinct_linear_2". The calculator determines the numerators A and B. The resulting decomposition is 3.5 / (x - 1) + 1.5 / (x + 1).

Repeated Linear Factors

For a numerator of 2x - 4 and a repeated denominator factor of (2x - 3)², select "repeated_linear_2". The calculator solves for the coefficients, resulting in 1 / (2x - 3) + -1 / (2x - 3)².

Linear and Quadratic Factor Combination

If the numerator is 2x² + x and the denominator consists of a linear factor (x + 2) and a quadratic factor (x² + 4), select "linear_and_quadratic". The calculator computes the decomposition as 0.75 / (x + 2) + (1.25x + -1.5) / (x² + 4).

Inputs & Outputs

Input LabelDescription
Denominator Factor FormThe factored structure of the rational expression denominator.
Numerator x² CoefficientCoefficient for the x² term in the numerator polynomial.
Numerator x CoefficientCoefficient for the x term in the numerator polynomial.
Numerator Constant TermConstant term in the numerator polynomial.
Factor 1: x Coefficient (a₁)Coefficient a₁ in the first factor (a₁x + b₁).
Factor 1: Constant (b₁)Constant b₁ in the first factor (a₁x + b₁).
Factor 2: x / x² Coefficient (a₂ / c₂)Coefficient a₂ in (a₂x + b₂) or c₂ in (c₂x² + b₂x + c₀).
Factor 2: Constant / Linear Term (b₂)Constant b₂ in (a₂x + b₂) or x coefficient b₂ in a quadratic factor.
Factor 2: Quadratic Constant (c₀)Constant c₀ if using a quadratic factor.
Factor 3: x Coefficient (a₃)Coefficient a₃ in (a₃x + b₃) if using 3 distinct linear factors.
Factor 3: Constant (b₃)Constant b₃ in (a₃x + b₃) if using 3 distinct linear factors.
Output LabelDescription
Partial Fraction FormThe final decomposed rational expression.
Numerator AThe calculated value for the first unknown numerator.
Numerator BThe calculated value for the second unknown numerator.
Numerator CThe calculated value for the third unknown numerator (if applicable).

Frequently Asked Questions

What is partial fraction decomposition?

Partial fraction decomposition is a process used to express a complex rational function as a sum of simpler fractions, making it easier to integrate or apply inverse Laplace transforms.

Why do I need to know the factored form of the denominator?

The structure of the decomposed fractions depends entirely on the types of factors in the denominator, such as distinct linear, repeated linear, or irreducible quadratic factors.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.