Expanding exponentials

### 10.3.2 Expanding exponentials

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 in other bases, see Section 10.3.6.

- expexpand takes expr, an expression.
- expexpand(expr) returns the expression expr with exponentials (base e) of sums rewritten as products of exponentials.

#### Example

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

| ⎛ ⎝ | ex | ⎞ ⎠ | 3+ | ⎛ ⎝ | ex | ⎞ ⎠ | 2 e2