ComplexExpand
Usage
Notes
Further Examples
You can expand complex powers.
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
The result here is not x y because x or y could be complex.
In[3]:=
|
Out[3]=
|
This assumes x and y are real.
In[4]:=
|
Out[4]=
|
You can expand complex exponential, trigonometric, and hyperbolic functions.
In[5]:=
|
Out[5]=
|
In[6]:=
|
Out[6]=
|
In[7]:=
|
Out[7]=
|
You can expand trig and hyperbolic functions of complex arguments.
In[8]:=
|
Out[8]=
|
In[9]:=
|
Out[9]=
|
Using the TargetFunction option This forces Mathematica to assume both x and y are real.
In[10]:=
|
Out[10]=
|
This is an expansion in terms of z and the absolute value of z.
In[11]:=
|
Out[11]=
|
Now we expand in terms of polar coordinates.
In[12]:=
|
Out[12]=
|
Finally, here is an expansion in terms of z and its conjugate.
In[13]:=
|
Out[13]=
|
|