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 entered1x2−1\frac{1}{x^{2} - 1}

−12(x+1)+12(x−1)\displaystyle -\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

1x2−1\displaystyle \frac{1}{x^{2} - 1}
Show the work
  1. 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}
  2. Partial fraction template

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

    1x2−1=A(x+1)+B(x−1)\frac{1}{x^{2} - 1} = \frac{A}{\left(x + 1\right)} + \frac{B}{\left(x - 1\right)}
  3. 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.

    1=A(x−1)+B(x+1)1 = A\left(x - 1\right) + B\left(x + 1\right)
  4. 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}
  5. 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}
  6. Result

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

Worked examples