I am confused about this problem of finding the derivative of $e^y$ when differentiating with respect to $x$. The whole problem is to differentiate $y = x \, e^y$ with respect to $x$ but I get stuck on $\frac{d}{dx}(e^y)$.
I use the chain rule and end up with $(e^y)(y)(\frac{dy}{dx})$, derivative of the outside times inside times derivative of the inside, but when I look up online to check my answer it seems that $\frac{d}{dx}(e^y) = (e^y)(\frac{dy}{dx})$. I'm confused where my extra $y$ went?
Any help would be greatly appreciated.