• Support PF! Buy your school textbooks, materials and every day products Here!

Inverse Trig Function Equivalence in Integral

  • Thread starter Airman
  • Start date
  • #1
23
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! :)
 

Answers and Replies

  • #2
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
14,616
1,250
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
  • #3
23
0
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.
 
  • #4
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
14,616
1,250
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
  • #5
23
0
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!
 
  • #6
vela
Staff Emeritus
Science Advisor
Homework Helper
Education Advisor
14,616
1,250
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.
 
  • #7
vanhees71
Science Advisor
Insights Author
Gold Member
2019 Award
14,681
6,215
Hm, I'd use the standard substitution
[tex]x=4 \cosh u[/tex]
here ;-).
 
  • #8
23
0
Vanhees, could you explain how that would work?
 
  • #9
vanhees71
Science Advisor
Insights Author
Gold Member
2019 Award
14,681
6,215
Ok. We want to find
[tex]I=\int \mathrm{d} x \frac{\sqrt{x^2-4}}{x}.[/tex]
Now I substitute
[tex]x=2 \cosh u, \quad \mathrm{d}x=\mathrm{d} u 2 \sinh u,[/tex]
leading to
[tex]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),[/tex]
which is not so hard to integrate. Note that for the second you can use
[tex]\cosh u=\cosh^2(u/2)+\sinh^2(u/2)=\cosh^2(u/2) [1+\tanh^2(u/2)].[/tex]
 

Related Threads on Inverse Trig Function Equivalence in Integral

  • Last Post
Replies
13
Views
2K
Replies
5
Views
10K
Replies
2
Views
1K
Replies
3
Views
2K
Replies
2
Views
452
Replies
5
Views
4K
Replies
11
Views
597
Replies
4
Views
631
Replies
12
Views
2K
Replies
1
Views
2K
Top