Simple Integral Help: Understanding the Missing (1/2) in ∫tan^(-1)x dx

In summary, Peter's problem is that he is trying to solve an indefinite integral with the inverse tangent, but is missing an important (1/2) from the equation. To come to his answer, he first used integration by parts and used tan^(-1)x as u and (1/(1+x²)) for du. Next, he set x = tan(θ) which made dx=sec²(θ) dθ. To find θ after he completed the integration, he made a triangle and found that sec(θ) was 1+x². Finally, substituting that back into the equation gives him his final answer of xtan^(-1)x - l
  • #1
prace
102
0
Hello,

I have a question regarding some simple integrals. For the life of my I cannot seem to get the right answer. I know the solution to the problem, but my answer seems to missing an ever so important (1/2) from the equation. Here is what I have:

The probelm is this, ∫tan^(-1)x dx.
[This is the indefinate integral of the inverse tangent of x]

When I work the problem out, my answer comes out to be:

xtan^(-1)x - ln|1+x²|+C

However, the answer that my professor and calculator give me is

xtan^(-1)x - (1/2)ln|1+x²|+C

Any thoughts of where this (1/2) is coming from?

To come to this answer, I first used integration by parts (uv-∫vdu) and used tan^(-1)x as u and (1/(1+x²)) for du. I then took x^0 for dv and x as v.

The next substitution I made was to set x = tan(θ) which made dx = sec²(θ) dθ.

To find θ after I completed the integration, I made a triangle and found that sec(θ) was 1+x². Substituting that back into the equation gives me my final answer of:

xtan^(-1)x - ln|1+x²|+C.

I hope that explanation made sense. I can explain in more depth if needed.

Thank you,

Peter
 
Physics news on Phys.org
  • #2
You don't have to do nearly so much work in the second integral--just substitute u = x^2 + 1. Most likely your error was in forgetting to introduce a square root sign when you determine sec(θ), but I'm not sure where that comes in at all since when I do it with your substitution I have to determine cos(θ) instead.
 
Last edited:
  • #3
Hi,

Thanks for the reply. I tried to substitute u = x^2 + 1, but then du will then = 2x dx no? The second integral does not have another x to use. I don't know if I am saying that clearly or not. I guess what I am trying to say is that if the integral is to evaluate 1/(1+x^2) dx, then you cannot choose to substitute u as 1 + x^2 because du will not make sence. That is why you have to solve the equation with trig substitution.

If I am totally off here, please let me know. This is just my thinking and if you know a way so that I do not have to use trig sub and just u sub then that would be awesome.

As for the second part of your response, I don't see where I should have a square root sign. Is there any way I could ask you to elaborate a little more?

Thank you so much for your help so far, I really appreciate everything.

Peter
 
  • #4
No, Prace.
You have clearly misunderstood how to do this, so I'll go through the details:
[tex]\int\tan^{-1}(x)dx=x\tan^{-1}(x)-\int\frac{xdx}{1+x^{2}}[/tex]
The substitution [itex]u=1+x^{2}\to{du}=2xdx[/itex] leads to:
[tex]\int\frac{xdx}{1+x^{2}}=\frac{1}{2}\int\frac{du}{u}=\frac{ln|u|}{2}+C=\frac{ln(1+x^{2})}{2}+C[/tex]
 
  • #5
prace said:
Hi,

Thanks for the reply. I tried to substitute u = x^2 + 1, but then du will then = 2x dx no? The second integral does not have another x to use. I don't know if I am saying that clearly or not. I guess what I am trying to say is that if the integral is to evaluate 1/(1+x^2) dx, then you cannot choose to substitute u as 1 + x^2 because du will not make sence. That is why you have to solve the equation with trig substitution.

You definitely do NOT have to usea trig substitution.

If u = 1 + x2

then
du = 2x*dx
so it follows that
du/2 = x*dx which is what you should have in that integral and so you can substitute du/2 in.
 
  • #6
OH MAN! Wow, I can't believe I overlooked that. It completely makes sense now. Arrr... I hate errors like that where it is not misunderstanding of the technique or the problem, but a careless error that could have totally been avoided. Thank you so much for everyone's help and sorry if I wasted peoples time with careless errors.
 

FAQ: Simple Integral Help: Understanding the Missing (1/2) in ∫tan^(-1)x dx

What is the missing (1/2) in the integral for tan^(-1)x?

The missing (1/2) in the integral for tan^(-1)x is the constant of integration. When solving indefinite integrals, the constant of integration is added as the result can vary by a constant value.

How do you integrate tan^(-1)x?

To integrate tan^(-1)x, you can use the substitution method. Let u = tan^(-1)x, then du = 1/(1+x^2)dx. Substituting this into the original integral gives: ∫tan^(-1)x dx = ∫u du = u + C = tan^(-1)x + C.

What is the derivative of tan^(-1)x?

The derivative of tan^(-1)x is 1/(1+x^2). This can be found using the inverse trigonometric identity: d/dx(tan^(-1)x) = 1/(1+x^2).

Can the constant of integration be any value?

Yes, the constant of integration can be any real number. This is because the derivative of a constant value is 0, so adding or subtracting a constant value does not change the value of the integral.

What is the domain of tan^(-1)x?

The domain of tan^(-1)x is all real numbers except for x = +/- infinity. This is because the range of tan^(-1)x is (-pi/2, pi/2), so the value of x cannot make the tangent function undefined.

Similar threads

Replies
5
Views
2K
Replies
6
Views
584
Replies
8
Views
1K
Replies
54
Views
10K
Replies
3
Views
2K
Replies
14
Views
1K
Replies
1
Views
10K
Replies
8
Views
2K
Back
Top