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.

Details and Options

Examples

open all close all

Basic Examples  (1)

Expand polynomials anywhere inside an expression:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

Introduced in 1988
(1.0)
|
Updated in 2007
(6.0)