Inverse Trig Function Equivalence in Integral

Airman
Messages
22
Reaction score
0

Homework Statement



Evaluate ∫(x^2-4)^(1/2) / x for x > 2

Homework Equations





The Attempt at a Solution



I was able to solve this problem via substitution, and my answer is: (x^2-4)^(1/2) - 2arcsec(x/2) + C. However, when I put the question into Wolfram Alpha, it gets this answer: (x^2-4)^(1/2) + 2arctan(2/(x^2-4)^(1/2)) + C. When I ask Wolfam Alpha to show the steps to the solution, it's second to last step is exactly the same as my answer, and then it says "which is equivalent for restricted x values to:" and shows it's final answer as I just typed. I am confused about how those two answers are the same. It seems to be saying that 2arctan(2/(x^2-4)^(1/2)) and -2arcsec(x/2) are equivalent (+/- a constant as C could have changed). How is this so?

Link to Wolfram Alpha solution: http://www.wolframalpha.com/input/?i=integrate+(x^2-4)^(1/2)/xdx

Thank you very much for your help! :)
 
Physics news on Phys.org
Set up a right triangle with a hypotenuse of length x and the leg opposite the angle ##\theta## having length 2. What are ##\sec \theta## and ##\tan \theta## equal to?
 
  • Like
Likes 1 person
Thank you! I understand better now. One more thing though, why does the sign change? it was a negative inverse secant, but the arctan is positive.
 
Oops, I suggested the wrong triangle. You want the adjacent leg to be length 2, not the opposite leg. The minus sign comes from the fact that ##\arctan (x/y) = \pi/2 - \arctan(y/x)##.
 
  • Like
Likes 1 person
Thank you again! That makes perfect sense now. I realized now with your first triangle I also made a mistake and calculates arccsc instead of arcsec so it looked good.

Why does Wolfram Alpha give the answer with arctan instead of arcsec? Is it preferred to do it that way? Also how do you keep your trig so sharp? I haven't done any math for a couple years and am now taking a differential equations class so I need to catch up on a lot of things. Thank you so much!
 
I don't know why Wolfram Alpha does the things it does. There's no reason to prefer arctan over arcsec, other than perhaps arctan might be a bit more familiar to most people.

I've done this stuff for many many years, so I've had a lot of practice. Certain techniques turn out to be useful, and you remember them. A lot of the stuff you learned before and have pretty much forgotten you'll end up learning again. It'll be easier the second time around, and it'll tend to stick because you'll see how everything fits together.
 
Hm, I'd use the standard substitution
x=4 \cosh u
here ;-).
 
Vanhees, could you explain how that would work?
 
Ok. We want to find
I=\int \mathrm{d} x \frac{\sqrt{x^2-4}}{x}.
Now I substitute
x=2 \cosh u, \quad \mathrm{d}x=\mathrm{d} u 2 \sinh u,
leading to
I=2\int \mathrm{d} u \frac{\sinh^2 u}{\cosh u}=2 \int \mathrm{d} u \left (\cosh u + \frac{1}{\cosh u} \right),
which is not so hard to integrate. Note that for the second you can use
\cosh u=\cosh^2(u/2)+\sinh^2(u/2)=\cosh^2(u/2) [1+\tanh^2(u/2)].
 
Back
Top