Find largest interval in which the I.V.P $$\frac{dy}{dx}=y^{2}+\cos^{2}x,x>0,y(0)=0.$$ has unique solution.
My attempt is as follows
Firstly I apply Picard Theorem for the rectangle $\{(x,y):|x|\leq a,|y|\leq b\}$
$M=b^{2}+1, h=\min\{\frac{b}{b^{2}+1},a\}$, I found $h=1/2$ and hence our required interval is $[0,1/2]$
But my problem is that the function $f(x,y)=y^{2}+\cos^{2}x$ is globally Lipschiz on the region of the type $[0,\infty)\times [-k,k]$ so can i say that the given I.V.P. has unique solution on $[0,\infty)?$
Please suggest where I am wrong? Am I using the wrong result in last one? What is the way to find largest interval of uniqueness of solution on the above I.V.P.? Thank you.