3
$\begingroup$

I am trying to do symbolic manipulations in MMA and I need it to take a complex conjugate of functions with real arguments, like:

Refine[Conjugate[(I^(2 mg))], mg \[Element] Reals]
Refine[Conjugate[BesselJ[mg, x]], {mg \[Element] Reals, x \[Element] Reals}]

I can't find out how to force MMA to actually take the Conjugate...

Please, help!

$\endgroup$

1 Answer 1

4
$\begingroup$

A job for ComplexExpand.

Conjugate[(I^(2 mg))] // ComplexExpand
(* Cos[mg \[Pi]] - I Sin[mg \[Pi]] *)
Conjugate[BesselJ[mg, x]] // ComplexExpand
(* -I Im[BesselJ[mg, x]] + Re[BesselJ[mg, x]] *)
$\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.