If I have a function $u = u(x,y)$ where $y = Ce^x$, my textbook says the following:
$\frac{d}{dx}u(x, Ce^x) = \frac{\partial u}{\partial x} + Ce^x \frac{\partial u}{ \partial y}$
However I do not understand why would that be the case. Is this a consequence of the chain rule, if so then how is the expression derived?
This is the result of horrendous notation for the partial derivative.
A better notation is to subscript the partial differential with the variable that is being allowed to vary. Using this notation, you have, for $u = f(x, y)$,
$$ du = \partial_x u + \partial_y u $$
In other words, the changes in $u$ can be split up into the changes in $u$ that are due directly to $x$ and the changes in $u$ that are due to $y$.
We can divide both sides of the equation by $dx$, since that is the independent variable. This gives:
$$ \frac{du}{dx} = \frac{\partial_x u}{dx} + \frac{\partial_y u}{dx} $$
We can also multiply anything here by $\frac{dy}{dy}$ since that is equal to 1. This gives:
$$ \frac{du}{dx} = \frac{\partial_x u}{dx} + \frac{\partial_y u}{dx}\frac{dy}{dy} $$
Now, because they are fractions, we can rearrange the rightmost fraction as:
$$ \frac{du}{dx} = \frac{\partial_x u}{dx} + \frac{\partial_y u}{dy}\frac{dy}{dx} $$
Since $y = Ce^x$, then $\frac{dy}{dx} = Ce^x$. Therefore, we can substitute that in above, yielding:
$$ \frac{du}{dx} = \frac{\partial_x u}{dx} + \frac{\partial_y u}{dy} Ce^x $$
That is the answer your textbook gives, but in a slightly different notation.
In short, the standard notation for partial differentiation is an awful mess which confuses students to no end. Once you put a slightly different notation on it, all of the results become extremely intuitive and obvious.
I'm currently working on a paper that will help sort this out, because it is really long overdue.