Partial Fractions Decomposition Calculator






Partial Fractions Decomposition Calculator | Expert SEO Tool


Partial Fractions Decomposition Calculator

Decompose a Rational Function

Enter the coefficients of the numerator and denominator polynomials. This calculator solves for proper fractions where the denominator is a quadratic expression: (Ax + B) / (x² + Cx + D).


The coefficient of ‘x’ in the numerator (Ax + B).
Please enter a valid number.


The constant term in the numerator (Ax + B).
Please enter a valid number.


The coefficient of ‘x’ in the denominator (x² + Cx + D).
Please enter a valid number.


The constant term in the denominator (x² + Cx + D).
Please enter a valid number.


3 / (x – 2) + 2 / (x – 1)

Intermediate Values

Discriminant (C²-4D)
1
Root 1 (r₁)
2
Root 2 (r₂)
1
Constant P
3
Constant Q
2

Formula Used: For distinct real roots (r₁, r₂), the decomposition is P/(x - r₁) + Q/(x - r₂) where P = (A*r₁ + B) / (r₁ - r₂) and Q = (A*r₂ + B) / (r₂ - r₁).

Calculation Steps Table

Step Description Result
1 Original Function f(x) = (5x – 1) / (x² – 3x + 2)
2 Factor Denominator (x – 2)(x – 1)
3 Decomposition Form P / (x – 2) + Q / (x – 1)
4 Final Result 3 / (x – 2) + 2 / (x – 1)
Table showing the key steps of the partial fraction decomposition.

Graphical Representation

Visual plot comparing the original function (blue) with the sum of its partial fractions (red dashed line). They should overlap perfectly.

What is a partial fractions decomposition calculator?

A partial fractions decomposition calculator is a mathematical tool designed to break down a complex rational expression (a fraction of two polynomials) into a sum of simpler fractions. This process, known as partial fraction expansion, is a cornerstone technique in algebra and calculus. Its primary purpose is to simplify complex expressions, making them easier to handle in further calculations, especially integration. For anyone working with polynomial functions, from students to engineers, our partial fractions decomposition calculator is an indispensable resource for achieving accurate and quick results. This technique is crucial for solving integrals that would otherwise be very difficult.

This method is particularly useful for students of calculus, as it is a required step for integrating many rational functions. Engineers and physicists also use it for solving differential equations and in control theory for finding the inverse Laplace transform. A common misconception is that any fraction can be decomposed; however, the technique primarily applies to *proper* rational expressions, where the degree of the numerator polynomial is less than the degree of the denominator polynomial. If not, polynomial long division must be performed first.

The Formula and Mathematical Explanation Behind Partial Fractions

The core principle of partial fraction decomposition is to reverse the process of adding fractions. The form of the decomposition depends entirely on the factors of the denominator polynomial. The first step is always to factor the denominator as completely as possible. The method used by our partial fractions decomposition calculator handles denominators with distinct linear factors, repeated linear factors, and irreducible quadratic factors.

For a rational function N(x) / D(x):

  1. Distinct Linear Factors: If the denominator has a factor (ax + b), the decomposition will include a term A / (ax + b). Our partial fraction expansion tool expertly handles this case.
  2. Repeated Linear Factors: If the denominator has a factor (ax + b)ⁿ, the decomposition will include a sum of terms: A₁/(ax+b) + A₂/(ax+b)² + ... + Aₙ/(ax+b)ⁿ.
  3. Irreducible Quadratic Factors: If the denominator has a factor (ax² + bx + c) that cannot be factored further over real numbers, the decomposition will include a term (Ax + B) / (ax² + bx + c).

Once the form is set up, the unknown coefficients (A, B, C, etc.) are found by multiplying both sides by the original denominator and either equating coefficients of like powers of x or by substituting strategic values for x. This creates a system of linear equations that can be solved.

Variable Meaning Unit Typical Range
N(x) Numerator Polynomial Dimensionless Any polynomial
D(x) Denominator Polynomial Dimensionless Any polynomial (degree > degree of N(x))
A, B, C… Unknown Coefficients Dimensionless Real numbers
r₁, r₂, … Roots of the Denominator Dimensionless Real or Complex numbers

Practical Examples

Example 1: Distinct Linear Factors

Consider the function f(x) = (x + 7) / (x² + 3x + 2).

Inputs: Numerator: A=1, B=7. Denominator: C=3, D=2.

1. Factor the denominator: x² + 3x + 2 = (x + 1)(x + 2).

2. Set up the form: (x + 7) / ((x+1)(x+2)) = P/(x+1) + Q/(x+2).

3. Solve for P and Q: Multiply by the denominator to get x + 7 = P(x+2) + Q(x+1).
If x = -1, then 6 = P(1), so P = 6.
If x = -2, then 5 = Q(-1), so Q = -5.

Output: The decomposition is 6/(x+1) - 5/(x+2). Our partial fractions decomposition calculator gives this result instantly.

Example 2: Repeated Linear Factors

Consider the function g(x) = (2x) / (x - 1)². For an advanced calculus integral tool, handling this case is essential.

1. Denominator is already factored.

2. Set up the form: 2x / (x - 1)² = P/(x-1) + Q/(x-1)².

3. Solve for P and Q: Multiply by (x-1)² to get 2x = P(x-1) + Q.
If x = 1, then 2 = Q.
Now we have 2x = P(x-1) + 2. Equating coefficients of x, we get 2 = P.

Output: The decomposition is 2/(x-1) + 2/(x-1)².

How to Use This partial fractions decomposition calculator

Using our partial fractions decomposition calculator is straightforward and efficient. Follow these steps for an accurate result:

  1. Enter Coefficients: The calculator is designed for a rational function of the form (Ax + B) / (x² + Cx + D). Input the numerical values for A, B, C, and D into their respective fields.
  2. Real-Time Calculation: The calculator updates automatically as you type. There’s no need to press a “calculate” button.
  3. Analyze the Results: The primary result shows the final decomposed form. The intermediate values section displays the discriminant, the roots of the denominator, and the calculated constants (P and Q).
  4. Review the Chart: The dynamic chart plots the original function and the sum of the partial fractions. The lines should overlap, visually confirming the correctness of the decomposition. This feature makes our tool more than just a calculator; it’s a learning aid. For more complex problems, a rational expression solver might be needed.
  5. Use the Buttons: Click “Reset” to return to the default example values. Click “Copy Results” to copy a summary of the decomposition to your clipboard.

Key Factors That Affect partial fractions decomposition calculator Results

The structure of a partial fraction decomposition is determined by several key mathematical factors related to the denominator. Understanding these is crucial for anyone needing an algebra homework helper or tackling advanced calculus.

  • Degree of Numerator vs. Denominator: The technique only directly applies to *proper* fractions where the numerator’s degree is less than the denominator’s. For improper fractions, you must first perform polynomial long division.
  • Nature of Denominator Roots: The roots of the denominator polynomial dictate everything. Real roots lead to linear factors, while complex conjugate roots lead to irreducible quadratic factors.
  • Multiplicity of Roots: Whether a root is distinct (appears once) or repeated (appears multiple times) changes the form of the decomposition. Repeated roots require a sum of fractions for each power of the factor.
  • Factorability of the Denominator: The ability to factor the denominator over the real numbers is the first critical step. If a quadratic factor has a negative discriminant, it is irreducible.
  • Irreducible Quadratic Factors: The presence of irreducible quadratic factors (e.g., `x² + 1`) introduces terms of the form `(Ax + B)/(ax² + bx + c)`, making the process more complex.
  • Coefficients of the Polynomials: The actual numerical coefficients of both the numerator and denominator are used in the final step to solve the system of linear equations for the unknown constants A, B, C, etc.

Frequently Asked Questions (FAQ)

1. When should I use a partial fractions decomposition calculator?

You should use it whenever you need to integrate a complex rational function, find an inverse Laplace transform, or simplify a rational expression for further analysis. It is a common task in calculus, differential equations, and control systems engineering.

2. What happens if the degree of the numerator is greater than the denominator?

If you have an improper rational expression, you must first perform polynomial long division. This will result in a polynomial plus a proper rational expression, which can then be decomposed using a partial fractions decomposition calculator.

3. Can this calculator handle complex roots?

This specific calculator is optimized for cases where the denominator factors into real roots (distinct or repeated). When the denominator has irreducible quadratic factors (which corresponds to complex roots), the form of the decomposition changes to `(Ax+B)/(ax²+bx+c)`, which requires a different solving method not implemented here.

4. Is factoring the denominator always easy?

No, factoring can be the hardest part. For quadratic denominators, the quadratic formula can be used. For higher-degree polynomials, it can be very difficult and may require numerical methods or a dedicated inverse laplace transform tool for advanced cases.

5. What does a negative discriminant mean in this context?

A negative discriminant (b² – 4ac < 0) for a quadratic denominator means it has no real roots. It is an "irreducible quadratic factor," and its corresponding term in the decomposition will have a linear numerator (Ax + B).

6. Why is this technique so important in calculus?

It transforms a single difficult integral into a sum of several simpler integrals. For example, integrating `1/(x²-1)` is not obvious, but integrating its decomposed form, `1/2(1/(x-1) – 1/(x+1))`, is straightforward. It’s a key use case for any partial fractions decomposition calculator.

7. What is the ‘Heaviside cover-up’ method?

It’s a shortcut for finding the coefficients for distinct linear factors. To find the coefficient for the term `A/(x-r)`, you ‘cover up’ the `(x-r)` factor in the original denominator and substitute `x=r` into the rest of the expression. Our calculator uses a similar algebraic method.

8. Does the calculator handle all types of rational functions?

No, this partial fractions decomposition calculator is specifically designed for proper rational functions with a quadratic denominator. It serves as an educational tool to demonstrate the core concepts for this common case. More complex cases may require more advanced software.

Related Tools and Internal Resources

© 2026 SEO Tools Inc. All Rights Reserved. For educational and professional use.


Leave a Comment