I have to solve the following differential equation,
$y''-xy'-y=0$, while $y(0)=0, y'(0)=1$, we were suggested to use the transofrmation, $y(x) = h(x)e^{\frac{x^2}{2}}$
After substitution in the DE I end up with: $h''+xh'=0$, from here an easy solution would be $h(x) = c$, where $c$ is a constant.
But given that $y(0)=0$, we get $c=0$, which is not something we want since we are told $y'(0)=1$.
Is there a different valid solution? We were told that these is very easy to solve, which is, but the initial values create the above problem. I am thinking that maybe the initial values were mixed up, while they should be $y(0)=1, y'(0)=0$.
Note $$ h''+xh'=0\Longrightarrow\frac{h''}{h'}=-x\Longrightarrow (\ln h')'=-x\Longrightarrow h'=c_1e^{-x^2/2} $$ and hence $$ h=c_1\int_0^xe^{-t^2/2}dt+c_2. $$