expands out products and positive integer powers in expr.

leaves unexpanded any parts of expr that are free of the pattern patt. »

Details and OptionsDetails and Options

  • Expand works only on positive integer powers.
  • Expand applies only to the top level in expr.
  • Expand[expr,Modulus->p] expands expr reducing the result modulo p. »
  • Expand automatically threads over lists in expr, as well as equations, inequalities and logic functions.
Introduced in 1988
| Updated in 2007