General formula or a pattern for the $n$th derivatives of $e^{f(x)}$?

Solution 1:

Faà di Bruno's formula has been mentioned in the comments. Since the derivative of the exponential is the exponential itself, the (possibly) easiest closed form expression is the one in terms of complete Bell polynomials in the derivatives of $f$:

$$ \begin{align*} \frac{d^n}{dx^n}\exp\big(f(x)\big) = \, & \sum_{k=1}^n \exp\big(f(x)\big) \cdot B_{n,k}\big(f'(x), f''(x), \dots, f^{(n-k+1)}(x)\big) \\ = \, & \exp\big(f(x)\big) \sum_{k=1}^n B_{n,k}\big(f'(x), f''(x), \dots, f^{(n-k+1)}(x)\big) \end{align*} $$

Of course, now you need to deal with the Bell polynomials, which are commonly defined recursively. Here is a thread on the sum involved, which unfortunately does not have an overwhelmingly informative answer: Sum of Bell Polynomials of the Second Kind