0
$\begingroup$
Element[\[Theta], Reals]; 
    Ga = g; 
    Gb = g*Exp[I*\[Theta]]; 
    {{Conjugate[Gb], Ga}, {Ga, Gb}}

I have a code as such for a matrix as given above. as output I get this

{{Conjugate[g]/E^(I*Conjugate[\[Theta]]), g}, {g, E^(I*\[Theta])*g}}

\Theta is still output as Conjugate[[Theta]],even when it was asserted as Reals.

What is the issue?

$\endgroup$
4
$\begingroup$
$Assumptions = Element[\[Theta], Reals];
Ga = g;
Gb = g*Exp[I*\[Theta]];
{{Conjugate[Gb], Ga}, {Ga, Gb}} // Simplify

(*{{E^(-I \[Theta]) Conjugate[g], g}, {g, g E^(I \[Theta])}}*)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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