This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Algebraic Computation / Formula Manipulation /


FilledSmallSquare ComplexExpand[expr] expands expr assuming that all variables are real.

FilledSmallSquare ComplexExpand[expr, , , ... ] expands expr assuming that variables matching any of the are complex.

FilledSmallSquare Example: ComplexExpand[Sin[x + I y]] LongRightArrow.

FilledSmallSquare The variables given in the second argument of ComplexExpand can be patterns.

FilledSmallSquare Example: ComplexExpand[Sin[x], x] LongRightArrow.

FilledSmallSquare The option TargetFunctions can be given as a list of functions from the set {Re, Im, Abs, Arg, Conjugate, Sign}. ComplexExpand will try to give results in terms of functions specified.

FilledSmallSquare ComplexExpand[expr, vars, TargetFunctions -> Abs, Arg] converts to polar coordinates.

FilledSmallSquare See Section 1.4.5 and Section 3.3.8.

FilledSmallSquare See also: GaussianIntegers, TrigToExp, ExpToTrig, TrigExpand, FunctionExpand.

FilledSmallSquare New in Version 2.

Further Examples