I would really appreciate it if someone can tell me what i got wrong below or any other method that could solve this easier.
The problem:
$(1-x)y''+xy'-y=0$
$y(0)=2$
$y'(0)=-1$
I tried solving it with laplace:
$$(\frac{1}{s}-\frac{1}{s^2})(Ys^2-2s+1)+\frac{1}{s^2}(Ys-2)-Y=0$$ simplifying: $$Ys-2+\frac{1}{s}-Y+\frac{2}{s}-\frac{1}{s^2}+\frac{Y}{s}-\frac{2}{s^2}-Y=0$$ $$Ys+\frac{3}{s}-2Y-\frac{3}{s^2}+\frac{Y}{s}=2 $$ $$Ys-2Y+\frac{Y}{s}=2-\frac{3}{s}+\frac{3}{s^2}$$ $$Y(s-2+\frac{1}{s})=2-\frac{3}{s}+\frac{3}{s^2}$$ $$Y\frac{(s-1)^2}{s}=2-\frac{3}{s}+\frac{3}{s^2}$$ $$Y = \frac{2s}{(s-1)^2}-\frac{3}{(s-1)^2}+\frac{3}{s(s-1)^2}$$ $$ Y=\frac{2s-3}{(s-1)^2}+\frac{3}{s(s-1)^2}$$
And I got for each rational fraction respectively:
$$\frac{2}{s-1}-\frac{1}{(s-1)^2}$$ $$\frac{3}{s}-\frac{3}{s-1}+\frac{3}{(s-1)^2}$$
and the final when combined:
$$\frac{3}{s}-\frac{1}{s-1}+\frac{2}{(s-1)^2}=3-e^x+2xe^x$$
Problem is that for $y(0)=2$ stands but for $y'(0)$ I get $1$ $$y'=2xe^x+e^x$$
I tried to guess the answer and it seems that : $$y=2e^x-3x$$ $$y'=2e^x-3$$ $$y''=2e^x$$
is the correct answer.
laplace table :http://tutorial.math.lamar.edu/Classes/DE/Laplace_Table.aspx
As Lutzl pointed out you have no $F'(s)$. With Laplace transform you should get an ODE of first order.. You can solve it with reduction of order Since an obvious particular solution is $y=x$. Try $y=xv(x)$