Partial Fraction Decomposition Calculator

Enter a numerator and a denominator to split the fraction into simpler fractions.

Use one variable, brackets and whole powers.

Up to degree 6, with the same variable as the numerator.

Try

Result

You enteredx3x2−1\frac{x^{3}}{x^{2} - 1}

x+12(x+1)+12(x−1)\displaystyle x + \frac{1}{2\left(x + 1\right)} + \frac{1}{2\left(x - 1\right)}

Factored denominator

(x−1)(x+1)\displaystyle \left(x - 1\right)\left(x + 1\right)

Check

x3x2−1\displaystyle \frac{x^{3}}{x^{2} - 1}
Show the work
  1. Dividing first: an improper fraction

    The numerator has degree 3, which is not smaller than the degree 2 of the denominator, so the fraction is improper. Long division splits it into a polynomial plus a proper fraction, and only the proper fraction is decomposed.

    x3x2−1=x+xx2−1\frac{x^{3}}{x^{2} - 1} = x + \frac{x}{x^{2} - 1}
  2. Factoring the denominator

    A partial fraction decomposition starts from the denominator written as a product of linear factors and irreducible quadratic factors, since each kind of factor gets its own term.

    D(x)=x2−1=(x−1)(x+1)\begin{aligned} D\left(x\right) &= x^{2} - 1 \\ &= \left(x - 1\right)\left(x + 1\right) \end{aligned}
  3. Partial fraction template

    Write the fraction as a sum with one unknown constant for each part. Each linear factor gets one constant over it.

    xx2−1=A(x+1)+B(x−1)\frac{x}{x^{2} - 1} = \frac{A}{\left(x + 1\right)} + \frac{B}{\left(x - 1\right)}
  4. Clearing the denominators

    Multiply both sides by the denominator x2−1x^{2} - 1. Each fraction on the right loses its own factor and keeps the others, which turns the equation into one with no fractions.

    x=A(x−1)+B(x+1)x = A\left(x - 1\right) + B\left(x + 1\right)
  5. Cover-up method (Heaviside)

    Every factor here is linear and appears once, so a root of each factor can be substituted. At the root of one factor every other term on the right becomes 0, and only that factor's own constant is left.

    x=−1⇒−1=−2Ax=1⇒1=2B\begin{array}{l} x = -1 \quad\Rightarrow\quad -1 = -2A \\ x = 1 \quad\Rightarrow\quad 1 = 2B \end{array}
  6. Solving for the constants

    Divide each side by the number multiplying the unknown constant.

    A=−1−2=12B=12=12\begin{array}{l} A = \frac{-1}{-2} = \frac{1}{2} \\ B = \frac{1}{2} = \frac{1}{2} \end{array}
  7. Result

    So the fraction equals x+12(x+1)+12(x−1)x + \frac{1}{2\left(x + 1\right)} + \frac{1}{2\left(x - 1\right)}.

Worked examples