Cross-posted in https://www.zhihu.com/question/40784580
In Mathematica I got the different answer of the same differential equation respectively in analytical method and numerical method. At the beginning I think it is queer and later I know that this different equation has more than one answers and this two answer are all right and now it is queer that
why each method can only get one answer and
why they didn't get the same one answer and
what can we do to get all answers of this equation in any one method?
Thank you!

DSolvepicks the generic solution and specializes to the initial condition;NDSolvestarts from the initial condition, and because the singular solution is already rectified,NDSolvenever strays from it. – Michael E2 Feb 28 '16 at 04:01F[x, y, p] == p^2 - y; also http://mathematica.stackexchange.com/a/57912 -- I'm pretty sure this same equation has come up before, but I can't find it. – Michael E2 Feb 28 '16 at 04:06