I need a help in proving the existence and uniqueness for the following Cauchy problem:
\begin{cases}y''+e^{x}y=0 \\ y(0)=1 \\ y'(0)=0\end{cases}
This can be recasted as a first order system where $f$ is defined as $$f(x,y)=[-e^x y , y]^T$$
In order to prove (local) existence and uniqueness, I need to show that $f$ is locally Lipschitz w.r.t $y$, (it is the RHS of an ODE)
I compute:
$$\left|| f(x,y_1)-f(x,y_2) \right|| = \left|| [e^x (y_2 - y_1),y_1 - y_2]^T \right|| = (y_2 - y_1)^2 \Bigl( 1 + e^{2x} \Bigr) = \left|| y_1 - y_2\right|| \Bigl( 1 + e^{2x} \Bigr) $$
So, for $|x| < a$ (i.e. in a neigbourhood of $x_0=0$ I have $$\Bigl( 1 + e^{2x} \Bigr)\leq1+e^{2a}$$, so it's locally Lipschitz (but no globally)
Is everything correct?
You got the function $f(x,y)$ wrong. What you need to do is define a third variable to serve as the first derivative of $y$. The function you want is $$f([y,y']^T,x) = [y',-e^xy]^T$$. This is the function you want to show is Lipschitz.