This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Algebraic Computation / Formula Manipulation  /
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[ expr ] effectively maps Expand and ExpandDenominator onto every part of expr.
  • See the Mathematica book: Section 1.4.5Section 3.3.3.

    Further Examples

    Members of the expansion family.

    In[1]:=

    In[2]:=

    Out[2]=

    In[3]:=

    Out[3]=

    In[4]:=

    Out[4]=

    In[5]:=

    Out[5]=

    In[6]:=

    No expansion is done here.

    In[7]:=

    Out[7]=

    In contrast, this uses multiple-angle formulas.

    In[8]:=

    Out[8]=