On page 48 of [Zill2022], there is an initial-value problem (IVP): $$ \frac{dy}{dx}=xy^{1/2}, y(0)=0. \tag{1} $$ I try to solve this IVP by myself. My solution is as follows:
Solution: First, it is easily seen that $y = 0$ is a solution to (1). Second, separating variables gives $$ y^{-1/2} dy = x dx. \tag{2} $$ Integrating (2), we have $$ \int y^{-1/2} dy = \int x dx, \tag{3} $$ then $$ 2 y^{1/2} = \frac{x^2}{2} + c. \tag{4} $$ Applying the initial condition $y(0) = 0$, we obtain $c = 0$. Then $$ 2 y^{1/2} = \frac{x^2}{2} \tag{5} $$ which implies $$ y = \frac{x^4}{16}. \tag{6} $$ Therefore, IVP (1) has two solutions: $y=0$ and $y = \frac{x^4}{16}$. $\blacksquare$
I thought I had found all the solutions. But [Zill2022] says:
The initial-value problem (1) actually possesses many more solutions, since for any choice of the parameter $a \geq 0$ the piecewise-defined function $$ y = \begin{cases} 0, & x < a \\ \frac{1}{16} (x^2 - a^2)^2, & x \geq a \end{cases} \tag{7}$$ satisfies both the differential equation and the initial condition.
Thus, my question is:
Question: How to solve (1) to get the solution in (7)?
Any comments and answers are welcome. Thanks in advance.
Reference
[Zill2022] D. G. Zill, Advanced Engineering Mathematics, Seventh Edition, International Student Edition, Jones & Bartlett Learning, 2022.