6.12.6 Distribution: expand fdistrib
The expand command distributes multiplication across addition.
fdistrib is a synonym for expand.
-
expand takes one argument:
expr, an expression.
- expand(expr) returns the
expression expr with multiplication distributed with respect to
addition.
Example.
Input:
expand((x+1)*(x-2))
or:
fdistrib((x+1)*(x-2))
Output: