Author Topic: Quick help with complex numbers  (Read 1291 times)

0 Members and 1 Guest are viewing this topic.

Offline mizzl

  • DTF.org Member
  • *
  • Posts: 1769
  • Gender: Male
  • I have officialy been ravenhearted. Thanks Zydar!
Quick help with complex numbers
« on: May 31, 2011, 02:55:28 PM »
I wonder if anyone here knows this...

What's ln(sqrt(3) + i)?
In my calculation I do the following
|sqrt(3) + i| = sqrt(3 + 1) = 2
arg(sqrt(3)+i) = atan(1/sqrt(3)) = 1/3pi
so ln(sqrt(3) + i) =
ln(2e^((1/3)*pi*i)) =
ln(2) + ln(e^((1/3)*pi*i)) =
ln(2) + (1/3)*pi*i

Is this true?

Offline orcus116

  • DT.net Veteran
  • ****
  • Posts: 9604
Re: Quick help with complex numbers
« Reply #1 on: May 31, 2011, 02:57:28 PM »
Is it equal to anything?

Offline mizzl

  • DTF.org Member
  • *
  • Posts: 1769
  • Gender: Male
  • I have officialy been ravenhearted. Thanks Zydar!
Re: Quick help with complex numbers
« Reply #2 on: May 31, 2011, 02:58:32 PM »
no, not really

Offline orcus116

  • DT.net Veteran
  • ****
  • Posts: 9604
Re: Quick help with complex numbers
« Reply #3 on: May 31, 2011, 03:01:26 PM »
Can you do:

e^ln(<equation>)

to get the equation out? I'm pretty sure you can do the opposite but I haven't done math like this in awhile.


Offline Jamesman42

  • There you'll find me
  • DT.net Member
  • ***
  • Posts: 21839
  • Spiral OUT
Re: Quick help with complex numbers
« Reply #5 on: May 31, 2011, 03:20:35 PM »
What is this for?   Complex analysis?

I don't think I'v encountered something like this before.

Offline orcus116

  • DT.net Veteran
  • ****
  • Posts: 9604
Re: Quick help with complex numbers
« Reply #6 on: May 31, 2011, 03:24:50 PM »
Don't you just solve these two in terms of polar coordinates?

Offline Jamesman42

  • There you'll find me
  • DT.net Member
  • ***
  • Posts: 21839
  • Spiral OUT
Re: Quick help with complex numbers
« Reply #7 on: May 31, 2011, 03:32:57 PM »
Still unsure of what is going on exactly, but wolfram gave this: look under "Alternate forms"

https://www.wolframalpha.com/input/?i=ln%28sqrt%283%29+%2B+i%29&x=3&y=3

Looks like the term with pi is off by a factor of 1/2

Offline ddtonfire

  • Posts: 2175
Re: Quick help with complex numbers
« Reply #8 on: May 31, 2011, 03:46:45 PM »
z = √3 + i
lnz = ln|z| + iargz
ln|z| = ln(sqrt(3 + 1)) = ln(2)
argz = π/6, from:

√3 + i = 2(cosθ + isinθ)
equate imaginary parts:
sinθ = 1/2, θ = π/6

so

ln(2) + i(π/6)

Hope that helps.

Offline mizzl

  • DTF.org Member
  • *
  • Posts: 1769
  • Gender: Male
  • I have officialy been ravenhearted. Thanks Zydar!
Re: Quick help with complex numbers
« Reply #9 on: May 31, 2011, 04:07:29 PM »
z = √3 + i
lnz = ln|z| + iargz
ln|z| = ln(sqrt(3 + 1)) = ln(2)
argz = π/6, from:

√3 + i = 2(cosθ + isinθ)
equate imaginary parts:
sinθ = 1/2, θ = π/6

so

ln(2) + i(π/6)

Hope that helps.
Thanks! That solved it! Wonder what I did wrong though..

Offline ddtonfire

  • Posts: 2175
Re: Quick help with complex numbers
« Reply #10 on: May 31, 2011, 04:35:47 PM »
arg(sqrt(3)+i) = atan(1/sqrt(3)) = 1/3pi

atan(1/sqrt(3)) = 1/6pi, not 1/3pi