Q. `int` `(x^2 - 1)/(x^2 + 1)` `dx`     `=?`

Expert Answers
lemjay eNotes educator| Certified Educator


Notice that the degree of the numerator and denominator are the same. So, before we integrate, expand `(x^2-1)/(x^2+1)` .

Using long division,




`=int (1-2/(x^2+1))dx`

Then, express it as difference of two integrals.

`=intdx - int 2/(x^2+1)dx`

For the first integral, apply the formula `int kdx=kx+C` .

`=x+C -int 2/(x^2+1)dx`

For the second integral, apply the formula `int1/(x^2+a^2)dx=1/a tan^(-1) x/a` .


`=x+C -2int 1/(x^2+1)dx`


Since C represents any number, express the sum of the C's as C only.



Hence, `int(x^2-1)/(x^2+1)dx=x-2tan^(-1)x+C` .