Given the function:
$x+ye^{-x} \frac {dy}{dx}=0$ where $y(0)=1$ and you were told to solve it, I know I must multiply by $e^x$ giving $xe^x+y \frac {dy}{dx}=0$. Then re-arranging to give $ydy=-xe^xdx$.
After this I proceed to integrate both sides:
$\int ydy = -\int xe^xdx$
My professor uses the notation $\int_{}^{y} ydy = \int_{}^{x}xe^xdx$ which makes complete sense to me, however, she insists that we must insert "dummy variables" into where the limits $x$ and $y$ are giving:
$\int_{}^{y} udu = \int_{}^{x}te^tdt$
I am fully willing to use this from now on but I can't seem to understand/see why we must replace $x$ and $y$ with $t$ and $u$ respectively. I remember it being to do with the fact that if you didn't do this you can equate $arcsin$ and $arctan$ or something similar. Could someone give me some guidance, much appreciated.