In my course, it has been presented to us that in order to solve a PDE of the form: $$a(x,y)U_x +b(x,y)U_y=c(x,y)U+d(x,y)$$ The general method is to solve $$\frac{dy}{dx}=\frac{b(x,y)}{a(x,y)}$$ the equation of the characteristic curve. Then we have to solve: $$\frac{d}{dx}U(x,y)=\frac{c(x,y)}{a(x,y)}U+\frac{d(x,y)}{a(x,y)}$$ I am struggling with a particular example: $$U_x+yU_y=0 $$ In my lecture notes the first step is to solve $$\frac{dy}{dx}=\frac{y}{1}$$ and this obviously yields $y=Ce^x$ for some $C \in \mathbb{R}$, this is fine. Solving the second equation we find that $$\frac{d}{dx}U(x,y)=0$$ Now here is where I am confused, in my notes the following is written after this point: "Now, observe that for $\frac{d}{dx}U(x,Ce^x)=U_x+Ce^xU_y=U_x+yU_y=0$ Thus, along each characteristic curve the solution is a constant and the solution can only depend on C —that is $U(x,y)=f(C)$."
I really do not understand what this is saying and how this conclusion is reached, can anyone explain this further?