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

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

Factored denominator

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

Check

32x2+x−1\displaystyle \frac{3}{2x^{2} + x - 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)=2x2+x−1=(2x−1)(x+1)\begin{aligned} D\left(x\right) &= 2x^{2} + x - 1 \\ &= \left(2x - 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.

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

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

    3=A(2x−1)+B(x+1)3 = A\left(2x - 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⇒3=−3Ax=12⇒3=32B\begin{array}{l} x = -1 \quad\Rightarrow\quad 3 = -3A \\ x = \frac{1}{2} \quad\Rightarrow\quad 3 = \frac{3}{2}B \end{array}
  5. Solving for the constants

    Divide each side by the number multiplying the unknown constant.

    A=3−3=−1B=332=2\begin{array}{l} A = \frac{3}{-3} = -1 \\ B = \frac{3}{\frac{3}{2}} = 2 \end{array}
  6. Result

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

Worked examples