Partial Fractions Calculator with Steps

Decompose Your Rational Expression

Enter the numerator polynomial (e.g., `3x^2 + 2x - 1`). Use `^` for powers.
Enter the denominator polynomial. For best results, enter in factored form (e.g., `(x-1)(x+2)`) or as a polynomial (e.g., `x^3 - x`).

Polynomial Degree Distribution

This chart illustrates the degrees of the numerator and denominator polynomials, which determines if the rational expression is proper or improper.

What is Partial Fractions?

The concept of partial fractions calculator with steps is a fundamental technique in algebra and calculus used to decompose a complex rational expression (a fraction where the numerator and denominator are polynomials) into a sum of simpler fractions. This process, known as partial fraction decomposition, is particularly vital for integrating rational functions, finding inverse Laplace transforms, and solving various engineering and physics problems. It essentially reverses the process of adding fractions.

Who should use a partial fractions calculator? Students of algebra, pre-calculus, and calculus will find this tool invaluable for mastering the decomposition process. Engineers, physicists, and economists often encounter rational functions in their models and use partial fractions to simplify calculations. Common misunderstandings often involve correctly identifying the types of factors in the denominator (linear, repeated linear, or irreducible quadratic) and setting up the correct form of the partial fraction sum. This calculator aims to clarify these steps.

Partial Fractions Formula and Explanation

Partial fraction decomposition relies on factoring the denominator of the rational expression P(x)/Q(x) into linear and/or irreducible quadratic factors. The general form of the decomposition depends on these factors. Here's a breakdown:

Variables Used in Partial Fractions:

Variables in Partial Fraction Decomposition
Variable Meaning Unit Typical Range
P(x) Numerator polynomial Unitless Any polynomial expression
Q(x) Denominator polynomial Unitless Any polynomial expression (Q(x) ≠ 0)
A, B, C, ... Constant coefficients to be determined Unitless Real numbers
x Independent variable Unitless Real numbers

General Forms of Partial Fractions:

Let's consider a proper rational function P(x)/Q(x) where the degree of P(x) is less than the degree of Q(x).

  1. Distinct Linear Factors: If Q(x) has distinct linear factors like (ax + b)(cx + d)..., then:
    P(x) / [(ax + b)(cx + d)] = A / (ax + b) + B / (cx + d)
  2. Repeated Linear Factors: If Q(x) has a repeated linear factor like (ax + b)n, then for each such factor:
    P(x) / (ax + b)n = A1 / (ax + b) + A2 / (ax + b)2 + ... + An / (ax + b)n
  3. Irreducible Quadratic Factors: If Q(x) has an irreducible quadratic factor like (ax2 + bx + c) (where b2 - 4ac < 0), then for each such factor:
    P(x) / (ax2 + bx + c) = (Ax + B) / (ax2 + bx + c)
  4. Repeated Irreducible Quadratic Factors: If Q(x) has a repeated irreducible quadratic factor like (ax2 + bx + c)n, then for each such factor:
    P(x) / (ax2 + bx + c)n = (A1x + B1) / (ax2 + bx + c) + ... + (Anx + Bn) / (ax2 + bx + c)n

If the rational function is improper (degree of P(x) ≥ degree of Q(x)), polynomial long division must be performed first to obtain a polynomial plus a proper rational function. The partial fraction decomposition is then applied only to the proper rational function part.

Practical Examples of Partial Fractions

Example 1: Distinct Linear Factors

Problem: Decompose (x + 7) / (x2 + x - 6)

  • Inputs:
    • Numerator P(x): `x + 7`
    • Denominator Q(x): `x^2 + x - 6` (which factors to `(x - 2)(x + 3)`)
  • Steps:
    1. Identify that the fraction is proper (degree of P(x) = 1, degree of Q(x) = 2).
    2. Factor the denominator: `x^2 + x - 6 = (x - 2)(x + 3)`.
    3. Set up the partial fraction form: `(x + 7) / [(x - 2)(x + 3)] = A / (x - 2) + B / (x + 3)`.
    4. Multiply by the common denominator: `x + 7 = A(x + 3) + B(x - 2)`.
    5. Solve for A and B:
      • Let x = 2: `2 + 7 = A(2 + 3) + B(2 - 2)` → `9 = 5A` → `A = 9/5`.
      • Let x = -3: `-3 + 7 = A(-3 + 3) + B(-3 - 2)` → `4 = -5B` → `B = -4/5`.
  • Result:
    (x + 7) / (x^2 + x - 6) = 9/5(x - 2) - 4/5(x + 3)

Example 2: Repeated Linear Factors

Problem: Decompose (x2 + 2x + 1) / (x(x - 1)2)

  • Inputs:
    • Numerator P(x): `x^2 + 2x + 1`
    • Denominator Q(x): `x(x - 1)^2`
  • Steps:
    1. Identify that the fraction is proper (degree of P(x) = 2, degree of Q(x) = 3).
    2. The denominator is already factored: `x` (linear) and `(x - 1)^2` (repeated linear).
    3. Set up the partial fraction form: `(x^2 + 2x + 1) / [x(x - 1)^2] = A / x + B / (x - 1) + C / (x - 1)^2`.
    4. Multiply by the common denominator: `x^2 + 2x + 1 = A(x - 1)^2 + Bx(x - 1) + Cx`.
    5. Solve for A, B, and C:
      • Let x = 0: `0^2 + 2(0) + 1 = A(0 - 1)^2 + B(0) + C(0)` → `1 = A(1)` → `A = 1`.
      • Let x = 1: `1^2 + 2(1) + 1 = A(0) + B(0) + C(1)` → `4 = C`.
      • To find B, pick another value for x, e.g., x = 2: `2^2 + 2(2) + 1 = A(2 - 1)^2 + B(2)(2 - 1) + C(2)` `4 + 4 + 1 = A(1) + B(2)(1) + 2C` `9 = A + 2B + 2C` Substitute A=1, C=4: `9 = 1 + 2B + 2(4)` → `9 = 1 + 2B + 8` → `9 = 9 + 2B` → `2B = 0` → `B = 0`.
  • Result:
    (x^2 + 2x + 1) / [x(x - 1)^2] = 1/x + 0/(x - 1) + 4/(x - 1)^2 = 1/x + 4/(x - 1)^2

How to Use This Partial Fractions Calculator

Our partial fractions calculator with steps is designed for ease of use, even with complex expressions. Follow these steps to get your decomposition:

  1. Enter Numerator P(x): In the "Numerator Polynomial P(x)" field, type your numerator polynomial. Use `^` for powers (e.g., `x^2 + 3x - 5`).
  2. Enter Denominator Q(x): In the "Denominator Polynomial Q(x)" field, type your denominator polynomial. For optimal results, especially with complex factoring, it's recommended to enter the denominator in its factored form (e.g., `(x-1)(x+2)` or `(x^2+4)`). If you enter it as an unfactored polynomial (e.g., `x^3 - x`), the calculator will attempt to factor it, but this can be computationally intensive for higher degrees or complex roots.
  3. Click "Calculate Partial Fractions": Once both polynomials are entered, click the "Calculate Partial Fractions" button.
  4. Interpret Results: The calculator will display the partial fraction decomposition, along with intermediate values like the degrees of the polynomials and the fraction type (proper/improper). Crucially, it will provide the step-by-step method used to arrive at the solution.
  5. Copy Results: Use the "Copy Results" button to easily transfer the decomposition and steps to your notes or other applications.
  6. Reset: The "Reset" button clears all fields and results, allowing you to start a new calculation.

Remember that all values are unitless mathematical expressions, so no unit selection is necessary.

Key Factors That Affect Partial Fraction Decomposition

Several factors influence the complexity and form of a partial fraction decomposition:

Frequently Asked Questions about Partial Fractions

Q: What is a proper rational function vs. an improper one?

A: A rational function P(x)/Q(x) is proper if the degree of the numerator P(x) is strictly less than the degree of the denominator Q(x). It is improper if the degree of P(x) is greater than or equal to the degree of Q(x).

Q: Why do I need to factor the denominator for partial fractions?

A: Factoring the denominator is crucial because the form of the partial fraction decomposition is entirely dependent on the types of factors (linear, repeated linear, irreducible quadratic) present in the denominator. Without factoring, you cannot correctly set up the individual terms.

Q: Can this partial fractions calculator handle irreducible quadratic factors?

A: Yes, our calculator is designed to recognize and correctly set up terms for irreducible quadratic factors (e.g., `x^2 + 4`), assigning a numerator of the form `Ax + B` to them.

Q: What if the denominator has complex roots?

A: If the denominator has complex conjugate roots, they will typically appear as irreducible quadratic factors with real coefficients. The calculator handles these by using the `Ax + B` form. If you're working with complex numbers directly, the approach might differ, but for real-coefficient polynomials, irreducible quadratics cover this case.

Q: How does this calculator show the steps?

A: After calculating the decomposition, the calculator outlines the logical steps taken, such as identifying proper/improper fractions, factoring the denominator (if possible), setting up the general form, and the method used to solve for coefficients. This helps you understand the underlying process.

Q: Are there any units involved in partial fraction decomposition?

A: No, partial fraction decomposition deals with abstract polynomial expressions, which are inherently unitless. All calculations and results are purely mathematical values.

Q: What are the limitations of this partial fractions calculator?

A: While powerful, this calculator might have limitations with extremely high-degree polynomials, very complex symbolic coefficients, or denominators that are very difficult to factor automatically. For best results, provide the denominator in a factored form if possible. It focuses on algebraic decomposition, not symbolic integration.

Q: Why is partial fraction decomposition important for calculus?

A: Partial fraction decomposition is a crucial technique for integrating rational functions. Many rational functions are difficult to integrate directly, but once decomposed into simpler partial fractions, each term can often be integrated using basic integration rules (like logarithms or arctangents).

Explore other useful mathematical tools on our site:

🔗 Related Calculators