ComplexExpand

ComplexExpand[expr]

expands expr assuming that all variables are real.

ComplexExpand[expr,{x1,x2,}]

expands expr assuming that variables matching any of the xi are complex.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Assume both x and y are real:

In[1]:=
Click for copyable input
Out[1]=

Take x to be complex:

In[1]:=
Click for copyable input
Out[1]=

Scope  (5)

Options  (1)

Properties & Relations  (1)

See Also

GaussianIntegers  TrigToExp  ExpToTrig  TrigExpand  FunctionExpand  PowerExpand  Abs  ReIm

Tutorials

Introduced in 1991
(2.0)
| Updated in 2007
(6.0)