Previous Up Next

5.12.5  Distribution : expand fdistrib

expand or fdistrib takes as argument an expression.
expand or fdistrib returns the expression where multiplication is distributed with respect to the addition.
Input :

expand((x+1)*(x-2))

or :

fdistrib((x+1)*(x-2))

Output :

x^2-2*x+x-2

Previous Up Next