Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'A problem with the function "Simplify"' topicStudent Support Forum > General > Archives > "A problem with the function "Simplify""

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
jf
02/04/13 10:59am

Simplify does not have many tools to use. FullSimplify can do it, if you give it a hint what you mean by "simple".

In[1]:= FullSimplify[Conjugate[E^(I x) x+E^(I y) y],{{x,y}\[Element]Reals},
ComplexityFunction->Depth]

Out[1]= x Cos[x]+y Cos[y]-I x Sin[x]-I y Sin[y]

ComplexExpand is the usual way to push through complex manipulations.

In[2]:= ComplexExpand[Conjugate[E^(I x) x+E^(I y) y],{{x,y}\[Element]Reals}]
Out[2]= x Cos[x]+y Cos[y]-I (x Sin[x]+y Sin[y])

TrigToExp will turn the outputs back to exponentials.

In[3]:= TrigToExp[%]
Out[3]= x E^(-I*x) + y E^(-I*y)



URL: http://reference.wolfram.com/mathematica/ref/ComplexExpand.html,

Subject (listing for 'A problem with the function "Simplify"')
Author Date Posted
A problem with the function "Simplify" lxk 02/04/13 10:23am
Re: A problem with the function jf 02/04/13 10:59am
Re: Re: A problem with the function lxk 02/05/13 02:21am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic