Expand

WMA link


Expand[expr]

expands out positive integer powers and products of sums in expr, as well as trigonometric identities.

Expand[expr, target]

just expands those parts involving target.

Expand expands items in lists and rules:

Expand expands trigonometric identities

Expand does not change any other expression.

Using the second argument, the expression only
expands those subexpressions containing pat:

Expand also works in Galois fields

Denominator
ExpandAll