expands out products and positive integer powers in expr.

Expand[expr, patt]
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.
New in 1 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »