Expanding exponentials: expexpand

### 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.)

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

#### Example.

Input:

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

Output:

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