∫IntegralPasoEspañol
Rational functions

Partial fractions

Material by the IntegralPaso project. Conditions and limits are stated in each guide; external teaching review is pending.

1x2−1=12(x−1)−12(x+1)\frac{1}{x^2-1}=\frac{1}{2(x-1)}-\frac{1}{2(x+1)}

If the numerator degree is at least the denominator degree, divide the polynomials first. Factor the denominator and propose a sum of fractions with unknown coefficients. For repeated factors include all powers; for irreducible quadratic factors use a linear numerator. Determine coefficients and integrate term by term.

First: compare the degrees

What matters is polynomial degree, not whether the denominator is numerically larger.

deg⁡P<deg⁡Q\deg P<\deg QProper fraction

Look for a direct pattern or factor and decompose.

deg⁡P≥deg⁡Q\deg P\ge\deg QDivide first

Find quotient and remainder. Integrate the quotient and decompose the remainder.

Choose a case

Common mistake

Forgetting a power of a repeated factor or ignoring points where the denominator vanishes.

Classification reference: OpenStax · Partial fractions

Worked example

∫1x2−1 dx\int \frac{1}{x^{2} - 1}\, dx
  1. Identify the integrand, variables and order. For multiple integrals, start with the innermost integral.

    ∫1x2−1 dx\int \frac{1}{x^{2} - 1}\, dx
  2. Integrate with respect to x. Treat the other variables as constants at this stage.

    ∫1x2−1 dx\int \frac{1}{x^{2} - 1}\, dx
  3. Factor the denominator to identify the blocks of the decomposition.

    x2−1=(x−1)(x+1)x^{2} - 1 = \left(x - 1\right) \left(x + 1\right)
  4. Introduce unknown coefficients for each block.

    1x2−1=A12x−2+A22x+2\frac{1}{x^{2} - 1} = \frac{A_{1}}{2 x - 2} + \frac{A_{2}}{2 x + 2}
  5. Multiply by the common denominator and equate the coefficients of each power.

    A12+A22=0,A12−A22−1=0\frac{A_{1}}{2} + \frac{A_{2}}{2} = 0,\quad \frac{A_{1}}{2} - \frac{A_{2}}{2} - 1 = 0
  6. Solve the coefficient system and substitute these values into the fractions.

    A1=1,A2=−1A_{1} = 1,\quad A_{2} = -1
  7. Decompose the rational function into partial fractions; perform polynomial division first if needed.

    1x2−1=−12(x+1)+12(x−1)\frac{1}{x^{2} - 1} = - \frac{1}{2 \left(x + 1\right)} + \frac{1}{2 \left(x - 1\right)}
  8. Split the sum. The integral of a sum is the sum of its integrals.

    ∫(−12(x+1)+12(x−1)) dx=∫12(x−1) dx+∫(−12(x+1)) dx\int \left(- \frac{1}{2 \left(x + 1\right)} + \frac{1}{2 \left(x - 1\right)}\right)\, dx = \int \frac{1}{2 \left(x - 1\right)}\, dx + \int \left(- \frac{1}{2 \left(x + 1\right)}\right)\, dx
  9. Move the constant factor outside: it does not depend on the integration variable.

    ∫(−12(x+1)) dx=−log⁡(x+1)2\int \left(- \frac{1}{2 \left(x + 1\right)}\right)\, dx = - \frac{\log{\left(x + 1 \right)}}{2}
  10. Make a substitution and replace the differential too; both must change together.

    u=x+1,du=1 dxu = x + 1,\quad du = 1\,dx
  11. For 1/x use a logarithm. On the real domain, write the primitive with an absolute value and x ≠ 0.

    ∫1u du=log⁡(u)\int \frac{1}{u}\, du = \log{\left(u \right)}
  12. After integrating the expression in u, return to the original variable.

    ∫1x+1 dx=log⁡(x+1)\int \frac{1}{x + 1}\, dx = \log{\left(x + 1 \right)}
  13. Combine the results of the substeps and simplify.

    ∫(−12(x+1)) dx=−log⁡(x+1)2\int \left(- \frac{1}{2 \left(x + 1\right)}\right)\, dx = - \frac{\log{\left(x + 1 \right)}}{2}
  14. Move the constant factor outside: it does not depend on the integration variable.

    ∫12(x−1) dx=log⁡(x−1)2\int \frac{1}{2 \left(x - 1\right)}\, dx = \frac{\log{\left(x - 1 \right)}}{2}
  15. Make a substitution and replace the differential too; both must change together.

    u=x−1,du=1 dxu = x - 1,\quad du = 1\,dx
  16. For 1/x use a logarithm. On the real domain, write the primitive with an absolute value and x ≠ 0.

    ∫1u du=log⁡(u)\int \frac{1}{u}\, du = \log{\left(u \right)}
  17. After integrating the expression in u, return to the original variable.

    ∫1x−1 dx=log⁡(x−1)\int \frac{1}{x - 1}\, dx = \log{\left(x - 1 \right)}
  18. Combine the results of the substeps and simplify.

    ∫12(x−1) dx=log⁡(x−1)2\int \frac{1}{2 \left(x - 1\right)}\, dx = \frac{\log{\left(x - 1 \right)}}{2}
  19. Combine the results of the substeps and simplify.

    ∫(−12(x+1)+12(x−1)) dx=log⁡(x−1)2−log⁡(x+1)2\int \left(- \frac{1}{2 \left(x + 1\right)} + \frac{1}{2 \left(x - 1\right)}\right)\, dx = \frac{\log{\left(x - 1 \right)}}{2} - \frac{\log{\left(x + 1 \right)}}{2}
  20. Check this primitive by differentiating it: recover exactly the integrand of this stage.

    −12(x+1)+12(x−1)=1x2−1- \frac{1}{2 \left(x + 1\right)} + \frac{1}{2 \left(x - 1\right)} = \frac{1}{x^{2} - 1}
  21. Add the constant C: all primitives on an interval differ by a constant.

    log⁡(∣x−1∣)2−log⁡(∣x+1∣)2+C\frac{\log{\left(\left|{x - 1}\right| \right)}}{2} - \frac{\log{\left(\left|{x + 1}\right| \right)}}{2} + C
Resultlog⁡(∣x−1∣)2−log⁡(∣x+1∣)2+C\frac{\log{\left(\left|{x - 1}\right| \right)}}{2} - \frac{\log{\left(\left|{x + 1}\right| \right)}}{2} + C
Practice this method