distributes over g.
Distribute[expr, g, f]
performs the distribution only if the head of expr is f.
- Distribute effectively implements the distributive law for operators f and g.
- Distribute explicitly constructs the complete result of a distribution; Expand, on the other hand, builds up results iteratively, simplifying at each stage.
- Distribute[expr, g, f, gp, fp] gives gp and fp in place of g and f respectively in the result of the distribution. »
New in 1