1
$\begingroup$

I give Mathematica these commands:

$Assumptions = Element[x, Reals] && Element[y, Reals]
\[Theta] = ArcTan[x, y]
z = Exp[I \[Theta]]
Conjugate[z]

I get

E^(-I Conjugate[ArcTan[x, y]])

How do I get Mathematica to recognize that ArcTan[x,y] is real?

$\endgroup$

1 Answer 1

1
$\begingroup$

Use ComplexExpand and Simplify, Note that $Assumptions is only used by functions that use the option Assumptions

$Assumptions = Element[x, Reals] && Element[y, Reals];
θ = ArcTan[x, y];
z = Exp[I θ];
Conjugate[z] // 
  ComplexExpand[#, TargetFunctions -> {Re, Im}] & // Simplify

(* (x - I y)/Sqrt[x^2 + y^2] *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.