Note: Some of the comments below (about 9) refer to an older version of this thread. I updated it to refer to the DSolve/NDSolve question.
Also: See All solutions to Lane-Edmon with n=5 for a complete set of general solutions to Lane-Edmon.
Consider the Lane-Edmon singular boundary-value problem: $$ y''+\frac{2}{t} y'+y^5=0,\quad y(1)=\sqrt{3/4},\quad y'(0)=0 $$ There are two solutions: $y_1(t)=\sqrt{\frac{3}{3+t^2}}$, $y_2=-\sqrt{\frac{3}{3+t^2}}$ although DSolve can not obtain these particular solutions it can and does return two extremely-complicated (implicit) general solutions, a part of one is shown below:
eqn1 = y''[t] + 2/t y'[t] + y[t]^5 == 0;
dSol = DSolve[eqn1, y[t], t]; (* takes about a minute *)
Solve[(2 Sqrt[3] Sqrt[t]
EllipticF[
ArcSin[Sqrt[((-Root[-12 C[1] - 3 t #1 + 4 t^3 #1^3 &, 1] +
Root[-12 C[1] - 3 t #1 + 4 t^3 #1^3 &, 3]) y[t]^2)/(
Root[-12 C[1] - 3 t #1 + 4 t^3 #1^3 &,
3] (-Root[-12 C[1] - 3 t #1 + 4 t^3 #1^3 &, 1] + y[t]^2))]] . . .
For simpler expressions, we can fit an NDSolve solution to the implicit solution to confirm the accuracy of both. For example this thread: Implicit DSolve solution. And another thread: Implicit integral solution
Is it possible to do so in this case, that it, fit the two solutions returned by DSolve above by suitable values of the constants, to $y_1$ and $y_2$ and perhaps identify which of the seven families of solutions to Lane-Edmon the DSolve results belong to (see reference above)?
y''[t] + 2/t y'[t] == y[t]^5 /. y -> sol1 // Simplifydoesn't returnTrue? – xzczd Feb 25 '22 at 14:51y''[t]+2/t y'[t]+y[t]^5==0and then the mentioned function is indeed a solution of the problem at hand. By th way $y_2(t)=\sqrt{\frac{3 i}{3+t^2}}$, where $i=\sqrt{-1}$ might be a solution to the given equation. – Artes Feb 25 '22 at 14:58Plot[{Evaluate@ NDSolveValue[{y''[t] + 2/t y'[t] == -y[t]^5, y[1] == Sqrt[3/4], y'[10^-15] == 0}, y[t], {t, 10^-15, 1}], Sqrt[3/(3 + t^2)]}, {t, 10^-15, 1}, PlotStyle -> {Red, {Black, Dashed}}]. See example1: https://springerplus.springeropen.com/articles/10.1186/s40064-016-2753-9 – Mariusz Iwaniuk Feb 25 '22 at 16:03eqn1 = y''[t] + 2/t y'[t] == y[t]^5, not the "corrected" equationy''[t]+2/t y'[t]+y[t]^5==0in the comments, right? – Michael E2 Feb 25 '22 at 17:24DSolve[{y''[t] == (n - 1) y'[t]/t, y[0] == 0, (*y[1] == 1*)}, y[t], t, Assumptions -> n > 1]. Does not always happen, though. – Michael E2 Feb 27 '22 at 19:50