Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5639 > unrolled thread

Re: Taking the Arg of a complex number

Started byAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
First post2011-10-14 09:56 +0000
Last post2011-10-14 09:56 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Taking the Arg of a complex number Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2011-10-14 09:56 +0000

#5639 — Re: Taking the Arg of a complex number

FromAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
Date2011-10-14 09:56 +0000
SubjectRe: Taking the Arg of a complex number
Message-ID<j79117$i3j$1@smc.vnet.net>
Here ComplexExpand should help. Try this:



(* This is youe expression*)

x=Exp[I*\[CurlyPhi]]

E^(I \[CurlyPhi])



(* This is the answer *)

y=ComplexExpand[Arg@x]

ArcTan[Cos[\[CurlyPhi]],Sin[\[CurlyPhi]]]



(*  Let us check, if it returns an expected result *)



y/.\[CurlyPhi]->\[Pi]/4



\[Pi]/4



Have fun.







Would appreciate any help here, endless Googling has not revealed the answer to me:



If I define a complex number symbolically, such as x = A Exp[I phi], why does Arg[x] never return the answer I expect, phi? Using Refine with the as sumptions phi is real and between 0 and 2 pi, and that A is greater than 0 doesn't seem to help. All I get is Arg[Exp[I phi]]







Alexei BOULBITCH, Dr., habil.

IEE S.A.

ZAE Weiergewan,

11, rue Edmond Reuter,

L-5326 Contern, LUXEMBOURG



Office phone :  +352-2454-2566

Office fax:       +352-2454-3566

mobile phone:  +49 151 52 40 66 44



e-mail: alexei.boulbitch@iee.lu<mailto:alexei.boulbitch@iee.lu>





[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web