thomas49th
- 645
- 0
Homework Statement
Hi,
\int \frac{1}{x(x^{2}+1)}dx
Homework Equations
The Attempt at a Solution
well I split this into partial fractions
\frac{A}{x} + \frac{Bx + C}{x^{2} + 1}<br /> <br /> so 1 \equiv A(x^{2}+1) + (Bx + C)x<br /> <br /> when x = 0, A =1 <br /> <br /> when x = 1, Bx + C = -1 so comparing coeffs tell us B = 0 and C = -1 <br /> Correct?<br /> <br /> Now integrating it:<br /> <br /> \int \frac{1}{x} - \frac{1}{x^{2} + 1}dx<br /> <br /> the first one is just ln |x| <br /> <br /> and the second one<br /> <br /> let u = x^{2} + 1<br /> <br /> u' = 2x<br /> <br /> so<br /> <br /> ln|x| - \int \frac{1}{2x u}du<br /> <br /> Have I gone wrong somewhere. <br /> <br /> Thanks<br /> Thomas