ComplexExpand
ComplexExpand(expr)expands
expr. All variable symbols inexprare assumed to be non complex numbers.
ComplexExpand(expr, {x1, x2, ...})expands
exprassuming that variables matching any of thexiare complex.
See
Examples
Assume that both x and y are real:
>> ComplexExpand(Sin(x+I*y))Cosh(y)*Sin(x)+I*Cos(x)*Sinh(y)>> ComplexExpand(3^(I*x))Cos(1/2*x*Log(9))+I*Sin(1/2*x*Log(9))Implementation status
- ☑ - partially implemented