I've got problems in using Mathematica with complex numbers. Am I doing something wrong?
Two examples:
ComplexExpand[(x + I y)^(1/2)] yields (x^2 + y^2)^(1/4) Cos[1/2 Arg[x + I y]] + I (x^2 + y^2)^(1/4) Sin[1/2 Arg[x + I y]]
and I've found no way so far to get a simpler result (which does exist!)
ComplexExpand[Sqrt[x^2 + y^2] Cos[Arg[x + I y]] + I Sqrt[x^2 + y^2] Sin[Arg[x + I y]]]
yields the same result of the argument of ComplexExpand, while it should obviously be x + I y !
Thanks in advance!