# Integral question with i.

by cragar
Tags: integral
 P: 2,466 This is not homework I was wondering if I had to integrate $\frac{dx}{\sqrt{x^2-1}}$ Instead of doing the normal trig substitution what if I used $sin(u)^2-1=-cos(u)^2$ x=sin(u) dx=cos(u)du But when I make the substitution I will get a negative sign under the radical, could I just pull it out as i and then some how extract the real part. How would I do it with the i in their.
 Homework Sci Advisor HW Helper Thanks P: 12,739 You could but you have to keep it - unless you have any reason to believe that the solution is to do with the real part (why not the imaginary part?) OR, you could use ##x=\sec\theta## and ##1+\tan^2\theta = \sec^2\theta##
 P: 183 If you want a faster way than a normal trig substituion, try a hyperbolic substitution. $x=\cosh t$and $dx=\sinh t dt$ and use the identity $\cosh^2{t}-\sinh^2{t}=1$.
 P: 2,466 Integral question with i. I would like to learn how to do this with complex numbers, ok if I leave the i in their, how would I transform it in the end to get my answer. isnt $cos(ix)=cosh(x)$ or maybe we could do something with eulers formula.
 Homework Sci Advisor HW Helper Thanks P: 12,739 No idea since I'd never do it that way - if x=sin(u) then u=arcsin(x) ... so you'll have an arcsin and an i in the final form to simplify out. But I don't think there are nice results from that integration anyway.
HW Helper
P: 1,391
 Quote by cragar I would like to learn how to do this with complex numbers, ok if I leave the i in their, how would I transform it in the end to get my answer. isnt $cos(ix)=cosh(x)$ or maybe we could do something with eulers formula.
You have to be more careful with your approach to this integral. You can't just set ##x = \sin t## without thinking about it. There are several cases you have to consider.

First, is x greater or less than 1?

If it's less than 1, ##\sqrt{x^2-1}## is imaginary, so you can just pull a minus sign out and integrate ##-i/\sqrt{1-x^2}## using your trigonometric substitution, though you still have to be careful, because ##\sqrt{1-\sin^2t} = |\cos t|##, not just ##\cos t##, so you need to worry about the sign of t as well.

Now, if x is greater than one, then in the change of variables ##x = \sin t ## , t is necessarily complex (or at least imaginary). Otherwise, ##\sin t \leq 1##. Your integral then has a square root of a potentially complex number, and you can't just start pulling out i's or minus signs. You may need to worry about branch cuts and so on, as well as the appropriate interpretation of the integral now that you are integrating over a non-real variable t. The hyperbolic substitutions avoid all of these issues, of course.
 Homework Sci Advisor HW Helper Thanks P: 12,739 The trig substitutions are taught as a kind of quick sleight-of-hand aren't they? The standard lessons don't mention this stuff - and don't normally need to because it tends to come out in the wash for the problems chosen. It tends to be when students try to extend the techniques beyond the lessons that it gets noticeable.

 Related Discussions Calculus & Beyond Homework 2 Calculus & Beyond Homework 4 Calculus & Beyond Homework 3 Calculus & Beyond Homework 16 Calculus & Beyond Homework 2