I want to find the solution to the IVP: $$y' = 2\cos(x)\sqrt{y-1},\;\; y\geq1 $$ with initial condition $y(0)=2$.
I used separation of variables to get the general solution $$y =\left(\sin(x)+C\right)^2 +1.$$
When I use the initial condition to try and find a specific solution, I get that $C = \pm 1$.
Both of these values of $C$ work when subbed back into the original differential equation.
But since the ODE is continuous for all $y\geq 1$ and the $y$ partial derivative is continuous for all $y>1$, Picard's theorem says that there should be a unique solution for the initial condition $y(0)=2$.
Is there any way that I can further test the two solutions to see which one is invalid?
The two solutions \begin{align}y_1(x)&=(\sin x-1)^2+1\\y_2(x)&=(\sin x+1)^2+1\end{align} represent the same function but shifted. That is, $\sin(x+\pi)-1=-(\sin x+1)$ so $y_1$ is $y_2$ shifted by $\pi$.