When the conditions of the existence and uniqueness theorem fail for an ODE, several different solutions may be defined on the same domain. In such situations a new solution can be stitched together by joining two different solutions at a suitable junction point \( x_0 \). For this we require that the function values agree at the junction,
and that the derivatives agree there as well:
Prove that every solution of the equation
is a weakly increasing function, and find three different solutions of the equation that are defined on the whole real line and satisfy \( y(0) = 0 \).
Solution. Since \( y' = 2 e^x \sqrt{|y|} \geq 0 \) everywhere, every solution is weakly increasing. Separating variables:
Integrating both sides:
and we obtain three families of solutions:
Near the point \( x = 0 \) (where \( y = 0 \)) the conditions of the existence and uniqueness theorem fail, so it can be used as a stitching point.
For example, the stitched function
is continuous and differentiable on the whole real line — at \( x = 0 \) both pieces have value \( 0 \) and derivative \( 0 \) — so it is a solution on all of \( \mathbb{R} \).