2.1.49 problem 49

Solved as first order quadrature ode
Solved as first order homogeneous class D2 ode
Solved as first order ode of type differential
Maple step by step solution
Maple trace
Maple dsolve solution
Mathematica DSolve solution

Internal problem ID [8532]
Book : Second order enumerated odes
Section : section 1
Problem number : 49
Date solved : Sunday, November 10, 2024 at 04:00:54 AM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_x_y1]]

Solve

\begin{align*} y^{3} {y^{\prime \prime }}^{2}+y y^{\prime }&=0 \end{align*}

Factoring the ode gives these factors

\begin{align*} \tag{1} y &= 0 \\ \tag{2} y^{\prime } &= 0 \\ \end{align*}

Now each of the above equations is solved in turn.

Solving equation (1)

Solving for \(y\) from

\begin{align*} y = 0 \end{align*}

Solving gives \(y = 0\)

Solving equation (2)

Solved as first order quadrature ode

Time used: 0.013 (sec)

Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {dy} &= \int {0\, dx} + c_1 \\ y &= c_1 \end{align*}
Figure 2.152: Slope field plot
\(y^{\prime } = 0\)

Summary of solutions found

\begin{align*} y &= c_1 \\ \end{align*}
Solved as first order homogeneous class D2 ode

Time used: 0.150 (sec)

Applying change of variables \(y = u \left (x \right ) x\), then the ode becomes

\begin{align*} u^{\prime }\left (x \right ) x +u \left (x \right ) = 0 \end{align*}

Which is now solved The ode \(u^{\prime }\left (x \right ) = -\frac {u \left (x \right )}{x}\) is separable as it can be written as

\begin{align*} u^{\prime }\left (x \right )&= -\frac {u \left (x \right )}{x}\\ &= f(x) g(u) \end{align*}

Where

\begin{align*} f(x) &= -\frac {1}{x}\\ g(u) &= u \end{align*}

Integrating gives

\begin{align*} \int { \frac {1}{g(u)} \,du} &= \int { f(x) \,dx}\\ \int { \frac {1}{u}\,du} &= \int { -\frac {1}{x} \,dx}\\ \ln \left (u \left (x \right )\right )&=\ln \left (\frac {1}{x}\right )+c_1 \end{align*}

We now need to find the singular solutions, these are found by finding for what values \(g(u)\) is zero, since we had to divide by this above. Solving \(g(u)=0\) or \(u=0\) for \(u \left (x \right )\) gives

\begin{align*} u \left (x \right )&=0 \end{align*}

Now we go over each such singular solution and check if it verifies the ode itself and any initial conditions given. If it does not then the singular solution will not be used.

Therefore the solutions found are

\begin{align*} \ln \left (u \left (x \right )\right ) = \ln \left (\frac {1}{x}\right )+c_1\\ u \left (x \right ) = 0 \end{align*}

Solving for \(u \left (x \right )\) gives

\begin{align*} u \left (x \right ) &= \frac {{\mathrm e}^{c_1}}{x} \\ \end{align*}

Converting \(u \left (x \right ) = 0\) back to \(y\) gives

\begin{align*} y = 0 \end{align*}

Converting \(u \left (x \right ) = \frac {{\mathrm e}^{c_1}}{x}\) back to \(y\) gives

\begin{align*} y = {\mathrm e}^{c_1} \end{align*}
Figure 2.153: Slope field plot
\(y^{\prime } = 0\)

Summary of solutions found

\begin{align*} y &= 0 \\ y &= {\mathrm e}^{c_1} \\ \end{align*}
Solved as first order ode of type differential

Time used: 0.010 (sec)

Writing the ode as

\begin{align*} y^{\prime }&=0\tag {1} \end{align*}

Which becomes

\begin{align*} \left (1\right ) dy &= \left (0\right ) dx\tag {2} \end{align*}

But the RHS is complete differential because

\begin{align*} \left (0\right ) dx &= d\left (0\right ) \end{align*}

Hence (2) becomes

\begin{align*} \left (1\right ) dy &= d\left (0\right ) \end{align*}

Integrating gives

\begin{align*} y = c_1 \end{align*}
Figure 2.154: Slope field plot
\(y^{\prime } = 0\)

Summary of solutions found

\begin{align*} y &= c_1 \\ \end{align*}
Maple step by step solution

Maple trace
`Methods for second order ODEs: 
   *** Sublevel 2 *** 
   Methods for second order ODEs: 
   Successful isolation of d^2y/dx^2: 2 solutions were found. Trying to solve each resulting ODE. 
      *** Sublevel 3 *** 
      Methods for second order ODEs: 
      --- Trying classification methods --- 
      trying 2nd order Liouville 
      trying 2nd order WeierstrassP 
      trying 2nd order JacobiSN 
      differential order: 2; trying a linearization to 3rd order 
      trying 2nd order ODE linearizable_by_differentiation 
      trying 2nd order, 2 integrating factors of the form mu(x,y) 
      trying differential order: 2; missing variables 
      `, `-> Computing symmetries using: way = 3 
      <- differential order: 2; canonical coordinates successful 
      <- differential order 2; missing variables successful 
   ------------------- 
   * Tackling next ODE. 
      *** Sublevel 3 *** 
      Methods for second order ODEs: 
      --- Trying classification methods --- 
      trying 2nd order Liouville 
      trying 2nd order WeierstrassP 
      trying 2nd order JacobiSN 
      differential order: 2; trying a linearization to 3rd order 
      trying 2nd order ODE linearizable_by_differentiation 
      trying 2nd order, 2 integrating factors of the form mu(x,y) 
      trying differential order: 2; missing variables 
      `, `-> Computing symmetries using: way = 3 
      <- differential order: 2; canonical coordinates successful 
      <- differential order 2; missing variables successful`
 
Maple dsolve solution

Solving time : 0.142 (sec)
Leaf size : 233

dsolve(y(x)^3*diff(diff(y(x),x),x)^2+y(x)*diff(y(x),x) = 0, 
       y(x),singsol=all)
 
\begin{align*} y &= c_{1} \\ y &= 0 \\ -4 \left (\int _{}^{y}\frac {1}{\left (-12 \ln \left (\textit {\_a} \right )+8 c_{1} \right )^{{2}/{3}}}d \textit {\_a} \right )-x -c_{2} &= 0 \\ -4 \left (\int _{}^{y}\frac {1}{\left (12 \ln \left (\textit {\_a} \right )-8 c_{1} \right )^{{2}/{3}}}d \textit {\_a} \right )-x -c_{2} &= 0 \\ \frac {-16 \left (\int _{}^{y}\frac {1}{\left (-12 \ln \left (\textit {\_a} \right )+8 c_{1} \right )^{{2}/{3}}}d \textit {\_a} \right )+2 i \left (-x -c_{2} \right ) \sqrt {3}+2 x +2 c_{2}}{\left (-i \sqrt {3}-1\right )^{2}} &= 0 \\ \frac {-16 \left (\int _{}^{y}\frac {1}{\left (-12 \ln \left (\textit {\_a} \right )+8 c_{1} \right )^{{2}/{3}}}d \textit {\_a} \right )+2 i \left (x +c_{2} \right ) \sqrt {3}+2 x +2 c_{2}}{\left (1-i \sqrt {3}\right )^{2}} &= 0 \\ \frac {-16 \left (\int _{}^{y}\frac {1}{\left (12 \ln \left (\textit {\_a} \right )-8 c_{1} \right )^{{2}/{3}}}d \textit {\_a} \right )+2 i \left (-x -c_{2} \right ) \sqrt {3}+2 x +2 c_{2}}{\left (-i \sqrt {3}-1\right )^{2}} &= 0 \\ \frac {-16 \left (\int _{}^{y}\frac {1}{\left (12 \ln \left (\textit {\_a} \right )-8 c_{1} \right )^{{2}/{3}}}d \textit {\_a} \right )+2 i \left (x +c_{2} \right ) \sqrt {3}+2 x +2 c_{2}}{\left (1-i \sqrt {3}\right )^{2}} &= 0 \\ \end{align*}
Mathematica DSolve solution

Solving time : 3.77 (sec)
Leaf size : 459

DSolve[{y[x]^3*D[y[x],{x,2}]^2+y[x]*D[y[x],x]==0,{}}, 
       y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to 0 \\ y(x)\to \text {InverseFunction}\left [\frac {\left (\frac {2}{3}\right )^{2/3} e^{-i c_1} (-\log (\text {$\#$1})-i c_1){}^{2/3} \Gamma \left (\frac {1}{3},-i c_1-\log (\text {$\#$1})\right )}{(c_1-i \log (\text {$\#$1})){}^{2/3}}\&\right ][x+c_2] \\ y(x)\to \text {InverseFunction}\left [\frac {\left (\frac {2}{3}\right )^{2/3} e^{i c_1} (-\log (\text {$\#$1})+i c_1){}^{2/3} \Gamma \left (\frac {1}{3},i c_1-\log (\text {$\#$1})\right )}{(i \log (\text {$\#$1})+c_1){}^{2/3}}\&\right ][x+c_2] \\ y(x)\to 0 \\ y(x)\to \text {InverseFunction}\left [\frac {\left (\frac {2}{3}\right )^{2/3} e^{-i (-c_1)} (-\log (\text {$\#$1})-i (-1) c_1){}^{2/3} \Gamma \left (\frac {1}{3},-i (-1) c_1-\log (\text {$\#$1})\right )}{(-i \log (\text {$\#$1})-c_1){}^{2/3}}\&\right ][x+c_2] \\ y(x)\to \text {InverseFunction}\left [\frac {\left (\frac {2}{3}\right )^{2/3} e^{-i c_1} (-\log (\text {$\#$1})-i c_1){}^{2/3} \Gamma \left (\frac {1}{3},-i c_1-\log (\text {$\#$1})\right )}{(c_1-i \log (\text {$\#$1})){}^{2/3}}\&\right ][x+c_2] \\ y(x)\to \text {InverseFunction}\left [\frac {\left (\frac {2}{3}\right )^{2/3} e^{i (-c_1)} (-\log (\text {$\#$1})+i (-c_1)){}^{2/3} \Gamma \left (\frac {1}{3},i (-c_1)-\log (\text {$\#$1})\right )}{(i \log (\text {$\#$1})-c_1){}^{2/3}}\&\right ][x+c_2] \\ y(x)\to \text {InverseFunction}\left [\frac {\left (\frac {2}{3}\right )^{2/3} e^{i c_1} (-\log (\text {$\#$1})+i c_1){}^{2/3} \Gamma \left (\frac {1}{3},i c_1-\log (\text {$\#$1})\right )}{(i \log (\text {$\#$1})+c_1){}^{2/3}}\&\right ][x+c_2] \\ \end{align*}