Mathematica 9 is now available
 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]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.