0
$\begingroup$

I'm making some calculations, where I use the command Conjugate[f[x]]. In the function f[x] appears a parameter J, which is Real. How can say mathematica that it should not take the Conjugate of J?

So, I would like to say mathematica that J is real. I tried to write

Assumptions -> J e Reals

in the beginning of the code, but it doesnt work.

Ideas?

Best

$\endgroup$

marked as duplicate by MarcoB, user9660, Jens, dr.blochwave, LLlAMnYP Nov 9 '15 at 8:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ If you really want to set the assumption globally for the session, then look up $Assumptions in the documentation. $\endgroup$ – MarcoB Nov 8 '15 at 16:02
  • $\begingroup$ Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – user9660 Nov 8 '15 at 16:08
0
$\begingroup$

This has been answered before here

Try

    Refine[Conjugate[f[x]], J \[Element] Reals]
$\endgroup$

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