Message Boards Message Boards

2
|
721 Views
|
3 Replies
|
4 Total Likes
View groups...
Share
Share this post:

How can Mathematica be made to express Arg[x+Iy] in terms of ArcTan[f(x,y)] with a function f ?

Attachments:
POSTED BY: Ulrich Mutze
3 Replies

Yes, it is disappointing. This gets rid of Arg in terms of ArcTan:

ComplexExpand[Arg[x + I  y] - 2  ArcTan[y/(x + Sqrt[x^2 + y^2])], 
 TargetFunctions -> {Re, Im}]
FullSimplify[%, x \[Element] Reals && y \[Element] Reals && y != 0]
POSTED BY: Gianluca Gorni
  1. I changed the squares into xx and yy and got no change.
  2. Is there really something like a mixed complex and real usage of functions Arg and ArcTan ? My view on the matter is as follows: In my 'non-evaluable' example each function gets an argument of a type which is allowed for it and returns a value which is determined solely by the function's name and the value of the argument. No function call elsewhere can have an influence on the return value. How the function calls work, does not depend on for what kind of usage they are meant - it is defined by the syntax of the language. As I wrote: my view. Can you agree?
POSTED BY: Ulrich Mutze
Posted 4 months ago

How did you type the squares? The full form of your x^2 gives x\262. The two expressions are not totally equivalent on the negative real line:

{Arg[x + I  y], 2 ArcTan[y/(x + Sqrt[x^2 + y^2])]} /. {x -> -1, 
  y -> 0}

I suppose the two functions Arg and ArcTan are meant for complex and real usage, not a mixture. However, it is disappointing that the simplification does not work.

POSTED BY: Updating Name
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract