Previous Up Next

5.24.2  Expanding exponentials: expexpand

The exponential function applied to a sum can be converted into a product of exponentials; namely,

ex+y = exey

The expexpand command does this conversion. (For expansions with other bases, see Section 5.24.6.)

Example.

Input:

expexpand(exp(3*x)+exp(2*x+2))

Output:


ex
3+
ex
2 e2

Previous Up Next