100% free no uploads no sign-up

integral of 1/(x² − 1)

The integral of 1/(x² − 1) is ln|x − 1|/2 − ln|x + 1|/2 + C, where C is any constant.

problem
∫ 1/(x² − 1) dx
answer
∫ 1/(x² − 1) dx = ln|x − 1|/2 − ln|x + 1|/2 + C

✓ checked: differentiating the answer gives back the original function (tested at several points).

step-by-step working

  1. Factor the bottom: x² − 1 = (x − 1)(x + 1).

  2. Write it as partial fractions, A/(x + 1) + B/(x − 1), and match coefficients: A = −1/2, B = 1/2.

    1/(x² − 1) = 1/(2(x − 1)) − 1/(2(x + 1))
  3. Integrate each fraction: ∫k/(x − r) dx = k·ln|x − r|.

    ∫ 1/(x² − 1) dx = ln|x − 1|/2 − ln|x + 1|/2
  4. Add the constant of integration C (any constant differentiates to 0).

plain-text version of this solution
Problem: ∫ 1/(x² − 1) dx
Step 1: Factor the bottom: x² − 1 = (x − 1)(x + 1).
Step 2: Write it as partial fractions, A/(x + 1) + B/(x − 1), and match coefficients: A = −1/2, B = 1/2. 1/(x² − 1) = 1/(2(x − 1)) − 1/(2(x + 1))
Step 3: Integrate each fraction: ∫k/(x − r) dx = k·ln|x − r|. ∫ 1/(x² − 1) dx = ln|x − 1|/2 − ln|x + 1|/2
Step 4: Add the constant of integration C (any constant differentiates to 0).
Answer: ∫ 1/(x² − 1) dx = ln|x − 1|/2 − ln|x + 1|/2 + C
✓ checked: differentiating the answer gives back the original function (tested at several points).

Related problems

Try it yourself

Change the problem below and press Enter. Steps, answer and check update instantly, all in your browser.

mode: integral

Enter solves · Shift+Enter for a new line · put systems on separate lines or separate them with commas

Frequently asked questions

What is the integral of 1/(x² − 1)?

∫ 1/(x² − 1) dx = ln|x − 1|/2 − ln|x + 1|/2 + C. Method: partial fractions.

How do you check the integral of 1/(x² − 1)?

Differentiate the answer. The derivative of ln|x − 1|/2 − ln|x + 1|/2 is 1/(x² − 1), and the + C disappears because the derivative of a constant is 0.

What is the integral of 1/(x² − 4)?

∫ 1/(x² − 4) dx = ln|x − 2|/4 − ln|x + 2|/4 + C.

More integrals