Integration by Parts of Inverse Tangent

Click For Summary

Homework Help Overview

The problem involves evaluating the indefinite integral of the function x multiplied by the inverse tangent, specifically \(\int x \arctan{x} \, dx\). The original poster (OP) attempts to apply integration by parts using a specific substitution strategy.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The OP describes their approach using integration by parts, detailing their substitutions and calculations. Some participants suggest alternative substitutions and question the OP's steps, particularly regarding the integration of logarithmic functions. Others point out potential errors in the OP's reasoning and calculations.

Discussion Status

The discussion has seen participants providing feedback on the OP's method, with some indicating that the OP's initial approach was valid but cumbersome. There is acknowledgment of mistakes in the calculations, particularly regarding the integration of logarithmic terms. The OP expresses gratitude for the assistance and indicates progress in understanding their error.

Contextual Notes

Participants note that the OP's method, while correct in parts, leads to complications that could be avoided with different substitutions. There is a focus on clarifying the correct application of integration by parts and addressing specific calculation errors without reaching a definitive conclusion.

James98765
Messages
30
Reaction score
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:
Physics news on Phys.org
Ok, obviously you messed up the things.

First let u=arctan(x), and dv=x

What are du and v?

What do you think you should do next?

Regards.
 
Last edited:
Thanks for your help. Just after you responded I found my mistake. I have tried using the substitution you recommended before but I kept getting the wrong answer because of a small math error. Now I have found it. Thanks!
-James
 
Ok, obviously you messed up the things.

First let u=arctan(x), and v=x

What are du and dv?

What do you think you should do next?

Regards.

The mistake is not so obvious in fact although cumbersome his first partial integration was correct. Also using your suggestion you would get \int \arctan x dx yet the integral he needs to solve is \int x\arctan x dx. The best way to do this would be u=arctan(x) and v=1/2 x^2.That said the OPs method works as well it is just more difficult. This is where you made the error:
\int \frac{1}{2} \ln{(1 + x^2)} dx = \frac{1}{2} x \ln{(1 + x^2)} - \int \frac{x}{1 + x^2} dx

It should be:
<br /> \frac{1}{2} x \ln{(1 + x^2)} - \int \frac{x^2}{1 + x^2} dx
 
Last edited:
Thank you. That helps a lot. I have been looking at that for a long time and just couldn't find the mistake.
 
Cyosis said:
The mistake is not so obvious in fact although cumbersome his first partial integration was correct. Also using your suggestion you would get \int \arctan x dx yet the integral he needs to solve is \int x\arctan x dx. The best way to do this would be u=arctan(x) and v=1/2 x^2.

Yep, sorry I made typo. I meant u=arctan(x) and dv=x, so that v=x^2/2

Regards.

James98765 said:
Thank you. That helps a lot. I have been looking at that for a long time and just couldn't find the mistake.

You're welcome! :smile:
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
10K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K