# Calc II: integration of x arctan x

1. Sep 21, 2004

### Pythagorean

so, I know the integration by formula for this, since it's in my handy book of formulas, but i'm required to do this by parts, and then use a technique from the lesson to integrate it further.

The problem: $$\int \,x \arctan \,x \,dx$$

(i'm assuming tan to the negative first power is the same as arctan)

the answer: $$\frac{1+x^2}{2}arctan x - \frac{x}{2}$$

My process so far:

I first looked at dividing by parts with u=x and dv= arctan x dx. That got really messy trying to integrate tan, so I flipped them over.

What erks me is I don't feel like I'm violating any rules, I'm just getting a different answer.

So I set u=arctan x and dv= x dx
so $du=\frac{1}{x^2+1}$ and $v= \frac{1}{2}x^2$

which leaves me with:

(using uv - $\int$dvu)

$$\frac{1}{2}x^2 arctan x - \frac{1}{2}\int \frac{x^2}{x^2+1}$$

I use long division on that last term so that I have:

$$\int 1 - \frac{1}{x^2+1}$$

which results in

$$\frac{1}{2}x^2 arctan x - \frac{1}{2}arctan x - \frac{1}{2}x$$

2. Sep 21, 2004

### Tide

I get a postive sign for the middle term.

3. Sep 21, 2004

### Pythagorean

how does that help me get closer to the answer? I see my mistake of not carrying the - sign, but I'm still not quite sure how arctan adds up and substracts...

4. Sep 21, 2004

### Zaare

Assumption

If I understand "tan to the negative first power" correctly, and if I'm not mistaking, your assumption is not correct:
(tan x)^-1 does not equal arctan x.
(tan x)^-1=(sin x / cos x)^-1=cos x / sin x=cot x

5. Sep 22, 2004

### Pythagorean

i understood arctan as the inverse of tan, which can't be found by simply switching the fractions, that would just be cotangent, not tan to the negative first power. This is my understanding...

I'm more concerned with how to manipulate arcsin terms so that I can get an answer that looks like the books answer.

6. Sep 22, 2004

### Zaare

I agree.
Well, if you get a positive sign for the middle term, then you have the right answer, don't you?

7. Sep 22, 2004

### Pythagorean

that seems to be what Tide implied.

I manipulated it algebraically and it appears correct. But when you already know the answer, you tend to manipulate in your favor. I'll double check.

8. Sep 23, 2004

### Spectre5

What are you talking about with this algebraic manipulation?!?!