Finding the real and imaginary part

  • Thread starter Thread starter thercias
  • Start date Start date
  • Tags Tags
    Imaginary
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 4K views
thercias
Messages
62
Reaction score
0

Homework Statement


Determine the real part, the imaginary part, and the absolute magnitude of the following expressions:
tanh(x-ipi/2)
cos(pi/2-iy)


Homework Equations


cos(x) = e^ix+e^-ix
tanh(x) = (1-e^-2x)/(1+e^-2x)

The Attempt at a Solution


for cos(pi/2-iy)= (e^(ipi/2-i^2(y))+e^(i^2(y)-ipi/2))/2
=0.5(e^ipi/2*e^-i^2y + e^i^2y*e^-ipi/2)
=0.5(ie^y+e^-y*-i)
=0.5i(e^y-e^-y)
therefore, imaginary = 0.5(e^y-e^-y)
and real = 0

for tanh(x-ipi/2) = (1-e^-2(x-ipi/2))/(1+e^-2(x-ipi/2))
after simplifying i get
(1+e^-2x)/(1-e^-2x)
so that ^ is the real part
and imaginary = 0

I'm not really sure if I am doing this right though, or if i have to somehow simplify these expressions to get the answer. If so, how would I solve the question?
 
on Phys.org
It's simpler to note that ##\cos\left(\frac{\pi}{2} - iy\right) = \sin(iy)##.

for cos(pi/2-iy)= (e^(ipi/2-i^2(y))+e^(i^2(y)-ipi/2))/2
=0.5(e^ipi/2*e^-i^2y + e^i^2y*e^-ipi/2)
=0.5(ie^y+e^-y*-i)
=0.5i(e^y-e^-y)
therefore, imaginary = 0.5(e^y-e^-y)
and real = 0

There's a sign error here, otherwise, your final answers are correct -- it's a lot easier if you write it in terms of a hyperbolic trig function.

for tanh(x-ipi/2) = (1-e^-2(x-ipi/2))/(1+e^-2(x-ipi/2))
after simplifying i get
(1+e^-2x)/(1-e^-2x)
so that ^ is the real part
and imaginary = 0

That's correct too. Can you write that answer in terms of a hyperbolic trig function?
 
i can't find the sign mistake that you're referring to. and yes, the second one would be coth(x)
 
Alright thanks, as for finding the absolute magnitude, would the expressions above simply be the answer?
if absolute mag = |a + bi| = sqrt(a^2 +b^2)= sqrt(0^2+0.5(e^y-e^-y)^2) =0.5(e^y-e^-y)
for the second = sqrt(coth(x)^2) = coth(x)
 
So it's just going to be the + and - values of the above? Since you're taking the square root of it.
 
Yes (for positive and negative arguments). Either way, ##|\coth(x)| = \coth(x)## and ##|\sinh(x)| = \sinh(x)## definitely do not hold true for all x! It's best to either leave it in absolute value form or define your function separately for different values of x.