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

ExpandAll

ExpandAll[expr]
expands out all products and integer powers in any part of expr.
ExpandAll[expr, patt]
avoids expanding parts of expr that do not contain terms matching the pattern patt.
  • ExpandAll automatically threads over lists in expr, as well as equations, inequalities and logic functions.
Expand polynomials anywhere inside an expression:
Expand polynomials anywhere inside an expression:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
ExpandAll goes into heads:
New in 1 | Last modified in 6