James98765
- 30
- 0
Homework Statement
I must evaluate the indefinite integral:
[tex]\int x \arctan{x} dx[/tex]
Homework Equations
I am using the following format to perform the integration:
[tex]\int u dv = uv - \int v du[/tex]
The Attempt at a Solution
I have tried working the problem substituting x in for u and arctan in for dv and here is my work:
[tex]Let \ u=x; \ du = dx[/tex]
[tex]Let \ v = \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}; \ dv = \arctan{x}[/tex]
[tex]\int x \arctan{x} dx = x (x \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}) - \int (x \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}) dx[/tex]
[tex]2 \int \arctan{x} dx = x (x \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}) + \int \frac{1}{2} \ln{(1 + x^2)} dx[/tex]
I then apply another integration by parts technique:
[tex]Let \ u = \frac{1}{2} \ln{(1 + x^2)}; \ Let \ du = \frac{x}{1 + x^2} dx[/tex]
[tex]Let \ v = x; \ Let \ dv = dx[/tex]
[tex]\int \frac{1}{2} \ln{(1 + x^2)} dx = \frac{1}{2} x \ln{(1 + x^2)} - \int \frac{x}{1 + x^2} dx[/tex]
[tex]\int \frac{1}{2} \ln{(1 + x^2)} dx = \frac{1}{2} x \ln{(1 + x^2)} - \frac{1}{2} \ln{(1 + x^2)}[/tex]
I then substitute the second integration into the first and obtain:
[tex]\int x \arctan{x} dx = x (x \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}) - \frac{1}{2} x \ln{(1 + x^2)} - \frac{1}{2} \ln{(1 + x^2)}[/tex]
[tex]2 \int x \arctan{x} dx = x^2 \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}[/tex]
[tex]\int x \arctan{x} dx = \frac{1}{2} x^2 \arctan{x} - \frac{1}{4} \ln{(1 + x^2)} + C[/tex]
The answer in the back of the book is:
[tex]\int x \arctan{x} dx = \frac{1}{2} (x^2 + 1) \arctan{x} - \frac{1}{2} x + C[/tex]
I just can't seem to find out what I am doing wrong with my integration. I graphed both the book's answer and my answer on a graphing calculator and found my answer to be wrong by a little but not by much. Could somebody show me where my technique is flawed? I don't see how the book's answer doesn't contain any natural logarthmic functions. Thank you!
-James
Last edited: