Partial Fraction Calculator with Steps | SEO-Optimized Tool



Partial Fraction Calculator with Steps

Decompose complex rational expressions into simpler fractions instantly.

This calculator finds the partial fraction decomposition of a proper rational function of the form (ax + b) / (x² + cx + d). Please provide the coefficients below.



The coefficient of ‘x’ in the numerator (ax + b).


The constant term in the numerator (ax + b).


The coefficient of ‘x’ in the denominator (x² + cx + d).


The constant term in the denominator (x² + cx + d).


What is a Partial Fraction Calculator with Steps?

A partial fraction calculator with steps is a digital tool that automates the process of decomposing a complex rational expression (a fraction of polynomials) into a sum of simpler fractions. This process, known as partial fraction decomposition, is a fundamental technique in algebra and is especially crucial in integral calculus. It transforms a function that is difficult to integrate into several simpler functions that are much easier to handle.

This technique is essential for engineering students, mathematicians, and physicists who frequently encounter complex integrals in their work. By breaking down a single, complicated fraction, we can apply basic integration rules to each smaller piece, a classic “divide and conquer” strategy for solving problems. Our integral calculator often uses this method internally.

Partial Fraction Formula and Explanation

The goal is to rewrite a proper rational function P(x)/Q(x) (where the degree of P(x) is less than the degree of Q(x)) as a sum of fractions whose denominators are factors of Q(x). The form of the sum depends on the nature of the factors of the denominator Q(x).

For this calculator, we focus on a denominator Q(x) that is a quadratic polynomial: x² + cx + d.

  1. Case 1: Distinct Real Roots. If Q(x) factors into (x – r₁)(x – r₂), the decomposition is:

    A / (x - r₁) + B / (x - r₂)
  2. Case 2: Repeated Real Roots. If Q(x) factors into (x – r)², the decomposition is:

    A / (x - r) + B / (x - r)²
  3. Case 3: Irreducible Quadratic Factor. If Q(x) has complex roots and cannot be factored over the real numbers, the fraction is already in its simplest form.

The constants A and B are then solved for by algebraic manipulation. This process is what our partial fraction calculator with steps performs for you.

Explanation of Variables
Variable Meaning Unit Typical Range
x The independent variable of the function. Unitless -∞ to +∞
a, b, c, d User-provided coefficients of the polynomials. Unitless Any real number
A, B The unknown constants to be solved for. Unitless Any real number
r₁, r₂ The roots of the denominator polynomial. Unitless Any real number

Practical Examples

Example 1: Distinct Roots

  • Input Function: (x + 5) / (x² – 3x – 4)
  • Inputs: a=1, b=5, c=-3, d=-4
  • Process: The denominator x² – 3x – 4 factors into (x – 4)(x + 1). We solve (x + 5) / ((x-4)(x+1)) = A/(x-4) + B/(x+1). This yields A=9/5 and B=-4/5.
  • Result: (9/5) / (x – 4) – (4/5) / (x + 1)

Example 2: Repeated Roots

  • Input Function: (2x + 3) / (x² – 4x + 4)
  • Inputs: a=2, b=3, c=-4, d=4
  • Process: The denominator x² – 4x + 4 factors into (x – 2)². We solve (2x+3) / (x-2)² = A/(x-2) + B/(x-2)². This yields A=2 and B=7.
  • Result: 2 / (x – 2) + 7 / (x – 2)²

Testing different values in the partial fraction calculator with steps above is the best way to understand how coefficients affect the result. For more complex factoring, a polynomial factoring calculator can be useful.

How to Use This Partial Fraction Calculator

  1. Enter Coefficients: Input the coefficients ‘a’ and ‘b’ for your numerator (ax+b) and ‘c’ and ‘d’ for your denominator (x²+cx+d).
  2. Check for Proper Form: Ensure your denominator’s x² term has a coefficient of 1 (it is monic). If not (e.g., 2x² + …), divide the entire numerator and denominator by that coefficient first.
  3. Calculate: Click the “Calculate Decomposition” button.
  4. Review the Results: The calculator will display the final decomposed form as the primary result.
  5. Analyze the Steps: Below the main result, a detailed step-by-step breakdown shows how the denominator was factored and how the constants A and B were found.
  6. Visualize the Graph: A chart is generated to visually compare the original function with the sum of its partial fractions, confirming they are identical.

Key Factors That Affect Partial Fraction Decomposition

The structure of the decomposition is entirely dependent on the roots of the denominator polynomial Q(x). Using a tool like an equation solver can help find these roots.

  • Roots of the Denominator: This is the most critical factor. Whether the roots are real, complex, distinct, or repeated determines the form of the final answer.
  • Degree of Numerator vs. Denominator: This calculator requires the fraction to be ‘proper’ (numerator degree < denominator degree). If it's improper, you must first perform polynomial long division.
  • Multiplicity of Roots: A root that appears multiple times (e.g., from a factor like (x-3)³) will generate multiple terms in the decomposition (A/(x-3), B/(x-3)², C/(x-3)³).
  • Irreducible Factors: Quadratic factors that cannot be broken down into linear factors with real roots (e.g., x² + 1) result in a numerator of the form (Ax + B).
  • Coefficients of the Numerator: These values do not change the form of the decomposition, but they directly determine the final values of the constants (A, B, etc.).
  • Field of Numbers: Typically, decomposition is done over real numbers. Decomposing over complex numbers allows every polynomial to be broken down into linear factors.

Frequently Asked Questions (FAQ)

1. What if my fraction is improper?
If the degree of the numerator is greater than or equal to the denominator, you must use polynomial long division first. The result will be a polynomial plus a proper fraction, which you can then decompose.
2. What do I do if the denominator has complex roots?
When the denominator has an irreducible quadratic factor (e.g., x² + 4), the corresponding term in the decomposition will have a linear numerator, like (Ax + B) / (x² + 4). This calculator will indicate when the denominator is irreducible over real numbers.
3. Why is this technique important in calculus?
It’s used to simplify integrals. For example, integrating 1/(x²-1) is not obvious, but integrating its decomposed form, (1/2)/(x-1) – (1/2)/(x+1), is straightforward using the natural logarithm rule. It’s a key topic in calculus help resources.
4. Are the units in this calculator unitless?
Yes. Partial fraction decomposition is a pure mathematical concept. The variables and coefficients are treated as dimensionless real numbers.
5. Can this calculator handle cubic or higher-degree denominators?
This specific calculator is optimized for quadratic denominators to demonstrate the core concepts clearly. General-purpose computer algebra systems can handle higher-degree polynomials.
6. What does it mean if the calculator says the denominator is “irreducible”?
It means the denominator polynomial has no real roots and cannot be factored into linear terms using only real numbers (e.g., x² + 1). The fraction is already considered a ‘partial fraction’ in this case.
7. How are the constants A and B calculated?
The most common method is the “Heaviside cover-up method” for distinct linear factors. After setting up the identity, you can plug in the roots of the denominator to solve for each constant individually. This is what the partial fraction calculator with steps automates.
8. Does the chart prove the calculation is correct?
The chart provides a strong visual confirmation. If the plot of the original function perfectly overlaps with the plot of the sum of the partial fractions, it indicates the decomposition is correct. It’s a great way to build intuition about how simpler functions add up to a more complex one.

© 2026 Calculator Corp. All rights reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *