James98765
- 30
- 0
Homework Statement
I must evaluate the indefinite integral:
\int x \arctan{x} dx
Homework Equations
I am using the following format to perform the integration:
\int u dv = uv - \int v du
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:
Let \ u=x; \ du = dx
Let \ v = \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}; \ dv = \arctan{x}
\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
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
I then apply another integration by parts technique:
Let \ u = \frac{1}{2} \ln{(1 + x^2)}; \ Let \ du = \frac{x}{1 + x^2} dx
Let \ v = x; \ Let \ dv = dx
\int \frac{1}{2} \ln{(1 + x^2)} dx = \frac{1}{2} x \ln{(1 + x^2)} - \int \frac{x}{1 + x^2} dx
\int \frac{1}{2} \ln{(1 + x^2)} dx = \frac{1}{2} x \ln{(1 + x^2)} - \frac{1}{2} \ln{(1 + x^2)}
I then substitute the second integration into the first and obtain:
\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)}
2 \int x \arctan{x} dx = x^2 \arctan{x} - \frac{1}{2} \ln{(1 + x^2)}
\int x \arctan{x} dx = \frac{1}{2} x^2 \arctan{x} - \frac{1}{4} \ln{(1 + x^2)} + C
The answer in the back of the book is:
\int x \arctan{x} dx = \frac{1}{2} (x^2 + 1) \arctan{x} - \frac{1}{2} x + C
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: