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