Internal problem ID [2334]
Internal file name [OUTPUT/2334_Tuesday_February_27_2024_08_27_13_AM_75189765/index.tex
]
Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath.
Boston. 1964
Section: Exercise 37, page 171
Problem number: 21.
ODE order: 1.
ODE degree: 2.
The type(s) of ODE detected by this program : "quadrature"
Maple gives the following as the ode type
[_quadrature]
\[ \boxed {y {y^{\prime }}^{2}+2 y^{\prime }=-1} \] Solving the given ode for \(y^{\prime }\) results in \(2\) differential equations to solve. Each one of these will generate a solution. The equations generated are \begin {align*} y^{\prime }&=\frac {-1+\sqrt {1-y}}{y} \tag {1} \\ y^{\prime }&=-\frac {1+\sqrt {1-y}}{y} \tag {2} \end {align*}
Now each one of the above ODE is solved.
Solving equation (1)
Integrating both sides gives \begin{align*} \int \frac {y}{-1+\sqrt {1-y}}d y &= \int d x \\ \frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+1-y&=x +c_{1} \\ \end{align*}
The solution(s) found are the following \begin{align*} \tag{1} \frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+1-y &= x +c_{1} \\ \end{align*}
Verification of solutions
\[ \frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+1-y = x +c_{1} \] Verified OK.
Solving equation (2)
Integrating both sides gives \begin{align*} \int -\frac {y}{1+\sqrt {1-y}}d y &= \int d x \\ -\frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+1-y&=x +c_{2} \\ \end{align*}
The solution(s) found are the following \begin{align*} \tag{1} -\frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+1-y &= x +c_{2} \\ \end{align*}
Verification of solutions
\[ -\frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+1-y = x +c_{2} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y {y^{\prime }}^{2}+2 y^{\prime }=-1 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \left [y^{\prime }=\frac {-1+\sqrt {1-y}}{y}, y^{\prime }=-\frac {1+\sqrt {1-y}}{y}\right ] \\ \square & {} & \textrm {Solve the equation}\hspace {3pt} y^{\prime }=\frac {-1+\sqrt {1-y}}{y} \\ {} & \circ & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime } y}{-1+\sqrt {1-y}}=1 \\ {} & \circ & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime } y}{-1+\sqrt {1-y}}d x =\int 1d x +c_{1} \\ {} & \circ & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+1-y=x +c_{1} \\ {} & \circ & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=-{\left (\frac {\left (-1+6 x +6 c_{1} +2 \sqrt {9 c_{1}^{2}+18 c_{1} x +9 x^{2}-3 c_{1} -3 x}\right )^{\frac {1}{3}}}{2}+\frac {1}{2 \left (-1+6 x +6 c_{1} +2 \sqrt {9 c_{1}^{2}+18 c_{1} x +9 x^{2}-3 c_{1} -3 x}\right )^{\frac {1}{3}}}-\frac {1}{2}\right )}^{2}+1 \\ \square & {} & \textrm {Solve the equation}\hspace {3pt} y^{\prime }=-\frac {1+\sqrt {1-y}}{y} \\ {} & \circ & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime } y}{1+\sqrt {1-y}}=-1 \\ {} & \circ & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime } y}{1+\sqrt {1-y}}d x =\int \left (-1\right )d x +c_{1} \\ {} & \circ & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \frac {2 \left (1-y\right )^{\frac {3}{2}}}{3}+y-1=-x +c_{1} \\ {} & \circ & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=-{\left (\frac {\left (1+6 c_{1} -6 x +2 \sqrt {9 c_{1}^{2}-18 c_{1} x +9 x^{2}+3 c_{1} -3 x}\right )^{\frac {1}{3}}}{2}+\frac {1}{2 \left (1+6 c_{1} -6 x +2 \sqrt {9 c_{1}^{2}-18 c_{1} x +9 x^{2}+3 c_{1} -3 x}\right )^{\frac {1}{3}}}+\frac {1}{2}\right )}^{2}+1 \\ \bullet & {} & \textrm {Set of solutions}\hspace {3pt} \\ {} & {} & \left \{y=-{\left (\frac {\left (-1+6 x +6 c_{1} +2 \sqrt {9 c_{1}^{2}+18 c_{1} x +9 x^{2}-3 c_{1} -3 x}\right )^{\frac {1}{3}}}{2}+\frac {1}{2 \left (-1+6 x +6 c_{1} +2 \sqrt {9 c_{1}^{2}+18 c_{1} x +9 x^{2}-3 c_{1} -3 x}\right )^{\frac {1}{3}}}-\frac {1}{2}\right )}^{2}+1, y=-{\left (\frac {\left (1+6 c_{1} -6 x +2 \sqrt {9 c_{1}^{2}-18 c_{1} x +9 x^{2}+3 c_{1} -3 x}\right )^{\frac {1}{3}}}{2}+\frac {1}{2 \left (1+6 c_{1} -6 x +2 \sqrt {9 c_{1}^{2}-18 c_{1} x +9 x^{2}+3 c_{1} -3 x}\right )^{\frac {1}{3}}}+\frac {1}{2}\right )}^{2}+1\right \} \end {array} \]
Maple trace
`Methods for first order ODEs: -> Solving 1st order ODE of high degree, 1st attempt trying 1st order WeierstrassP solution for high degree ODE trying 1st order WeierstrassPPrime solution for high degree ODE trying 1st order JacobiSN solution for high degree ODE trying 1st order ODE linearizable_by_differentiation trying differential order: 1; missing variables <- differential order: 1; missing x successful`
✓ Solution by Maple
Time used: 0.094 (sec). Leaf size: 53
dsolve(diff(y(x),x)^2*y(x)+2*diff(y(x),x)+1=0,y(x), singsol=all)
\begin{align*} \frac {\left (2 y \left (x \right )-2\right ) \sqrt {1-y \left (x \right )}}{3}+x -c_{1} +y \left (x \right )-1 &= 0 \\ \frac {\left (-2 y \left (x \right )+2\right ) \sqrt {1-y \left (x \right )}}{3}+x -c_{1} +y \left (x \right )-1 &= 0 \\ \end{align*}
✓ Solution by Mathematica
Time used: 23.957 (sec). Leaf size: 1098
DSolve[y'[x]^2*y[x]+2*y'[x]+1==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \frac {\sqrt [3]{3} \left (-24 x^2+36 x-48 c_1 x+8 \sqrt {3} \sqrt {(x+c_1){}^3 (3 x-1+3 c_1)}-9-24 c_1{}^2+36 c_1\right ){}^{2/3}+\sqrt [3]{-24 x^2+36 x-48 c_1 x+8 \sqrt {3} \sqrt {(x+c_1){}^3 (3 x-1+3 c_1)}-9-24 c_1{}^2+36 c_1}-8\ 3^{2/3} x+3\ 3^{2/3}-8\ 3^{2/3} c_1}{4 \sqrt [3]{-24 x^2+(36-48 c_1) x+8 \sqrt {3} \sqrt {(x+c_1){}^3 (3 x-1+3 c_1)}-9-24 c_1{}^2+36 c_1}} \\ y(x)\to \frac {1}{8} \left (\frac {3^{2/3} \left (1+i \sqrt {3}\right ) (8 x-3+8 c_1)}{\sqrt [3]{-24 x^2+(36-48 c_1) x+8 \sqrt {3} \sqrt {(x+c_1){}^3 (3 x-1+3 c_1)}-9-24 c_1{}^2+36 c_1}}+i \sqrt [3]{3} \left (\sqrt {3}+i\right ) \sqrt [3]{-24 x^2+36 x-48 c_1 x+8 \sqrt {3} \sqrt {(x+c_1){}^3 (3 x-1+3 c_1)}-9-24 c_1{}^2+36 c_1}+2\right ) \\ y(x)\to \frac {1}{8} \left (\frac {3^{2/3} \left (1-i \sqrt {3}\right ) (8 x-3+8 c_1)}{\sqrt [3]{-24 x^2+(36-48 c_1) x+8 \sqrt {3} \sqrt {(x+c_1){}^3 (3 x-1+3 c_1)}-9-24 c_1{}^2+36 c_1}}-\sqrt [3]{3} \left (1+i \sqrt {3}\right ) \sqrt [3]{-24 x^2+36 x-48 c_1 x+8 \sqrt {3} \sqrt {(x+c_1){}^3 (3 x-1+3 c_1)}-9-24 c_1{}^2+36 c_1}+2\right ) \\ y(x)\to \frac {\sqrt [3]{3} \left (-24 x^2+36 x+48 c_1 x+8 \sqrt {3} \sqrt {(-x+c_1){}^3 (-3 x+1+3 c_1)}-9-24 c_1{}^2-36 c_1\right ){}^{2/3}+\sqrt [3]{-24 x^2+36 x+48 c_1 x+8 \sqrt {3} \sqrt {(-x+c_1){}^3 (-3 x+1+3 c_1)}-9-24 c_1{}^2-36 c_1}-8\ 3^{2/3} x+3\ 3^{2/3}+8\ 3^{2/3} c_1}{4 \sqrt [3]{-24 x^2+12 (3+4 c_1) x+8 \sqrt {3} \sqrt {(-x+c_1){}^3 (-3 x+1+3 c_1)}-9-24 c_1{}^2-36 c_1}} \\ y(x)\to \frac {1}{8} \left (\frac {3^{2/3} \left (1+i \sqrt {3}\right ) (8 x-3-8 c_1)}{\sqrt [3]{-24 x^2+12 (3+4 c_1) x+8 \sqrt {3} \sqrt {(-x+c_1){}^3 (-3 x+1+3 c_1)}-9-24 c_1{}^2-36 c_1}}+i \sqrt [3]{3} \left (\sqrt {3}+i\right ) \sqrt [3]{-24 x^2+12 (3+4 c_1) x+8 \sqrt {3} \sqrt {(-x+c_1){}^3 (-3 x+1+3 c_1)}-9-24 c_1{}^2-36 c_1}+2\right ) \\ y(x)\to \frac {1}{8} \left (\frac {3^{2/3} \left (1-i \sqrt {3}\right ) (8 x-3-8 c_1)}{\sqrt [3]{-24 x^2+12 (3+4 c_1) x+8 \sqrt {3} \sqrt {(-x+c_1){}^3 (-3 x+1+3 c_1)}-9-24 c_1{}^2-36 c_1}}-\sqrt [3]{3} \left (1+i \sqrt {3}\right ) \sqrt [3]{-24 x^2+12 (3+4 c_1) x+8 \sqrt {3} \sqrt {(-x+c_1){}^3 (-3 x+1+3 c_1)}-9-24 c_1{}^2-36 c_1}+2\right ) \\ \end{align*}