Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working through an example that contains the following steps:

$$\int\frac{1}{1-x^2}dx$$ $$=\frac{1}{2}\int\frac{1}{1+x} - \frac{1}{1-x}dx$$ $$\ldots$$ $$=\frac{1}{2}\ln{\frac{1+x}{1-x}}$$

I don't understand why the separation works. If I attempt to re-combine the terms, I get this:

$$\frac{1}{1+x} \frac{1}{1-x}$$ $$=\frac{1-x}{1-x}\frac{1}{1+x} - \frac{1+x}{1+x}\frac{1}{1-x}$$ $$=\frac{1-x - (1+x)}{1-x^2}$$ $$=\frac{-2x}{1-x^2} \ne \frac{2}{1-x^2}$$

Or just try an example, and plug in $x = 2$: $$2\frac{1}{1-2^2} = \frac{-2}{3}$$ $$\frac{1}{1+2} -\frac{1}{1-2} = \frac{1}{3} + 1 = \frac{4}{3} \ne \frac{-2}{3}$$

Why can $\frac{1}{1-x^2}$ be split up in this integral, when the new terms do not equal the old term?

share|cite|improve this question
$$\frac{1}{1+x} \frac{1}{1-x}\neq \frac{1-x}{1-x}\frac{1}{1+x} - \frac{1+x}{1+x}\frac{1}{1-x}$$ (Try $x=0$). – Git Gud Apr 3 '13 at 22:22
up vote 4 down vote accepted

The thing is $$\frac{1}{1-x}\color{red}{+}\frac 1 {1+x}=\frac{2}{1-x^2}$$

What you might have seen is

$$\frac{1}{x-1}\color{red}{-}\frac 1 {x+1}=\frac{2}{1-x^2}$$

Note the denominator is reversed in the sense $1-x=-(x-1)$.

share|cite|improve this answer
D'oh, of course. The example that I'm working from does have the errant formula, but the intent should have been obvious to me. Thanks! – Matthew Pirocchi Apr 3 '13 at 22:25
@Matthew It is not your fault! – Pedro Tamaroff Apr 3 '13 at 22:28

you wrote wrong fraction : $$\dfrac{1}{1-x^2}=\dfrac{1}{2}(\dfrac{1}{1-x}-\dfrac{1}{1+x})$$

instead of :$$\dfrac{1}{1-x^2}=\dfrac{1}{2}(\dfrac{1}{1+x}-\dfrac{1}{1-x})$$ Now check it by plug in $x=2$

LHS=$\dfrac {1}{-3}\,$ ; RHS=$\dfrac{1}{2}(\dfrac{1}{3}-{1})\implies \dfrac {1}{-3}$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.