1.13 problem 13

1.13.1 Solved as second order missing y ode
1.13.2 Maple step by step solution
1.13.3 Maple trace
1.13.4 Maple dsolve solution
1.13.5 Mathematica DSolve solution

Internal problem ID [8050]
Book : Second order enumerated odes
Section : section 1
Problem number : 13
Date solved : Monday, October 21, 2024 at 04:44:49 PM
CAS classification : [[_2nd_order, _missing_x]]

Solve

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

1.13.1 Solved as second order missing y ode

Time used: 0.536 (sec)

This is second order ode with missing dependent variable \(y\). Let

\begin{align*} p(x) &= y^{\prime } \end{align*}

Then

\begin{align*} p'(x) &= y^{\prime \prime } \end{align*}

Hence the ode becomes

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

Which is now solve for \(p(x)\) as first order ode. Solving for the derivative gives these ODE’s to solve

\begin{align*} \tag{1} p^{\prime }\left (x \right )&=\sqrt {-p \left (x \right )} \\ \tag{2} p^{\prime }\left (x \right )&=-\sqrt {-p \left (x \right )} \\ \end{align*}

Now each of the above is solved separately.

Solving Eq. (1)

Integrating gives

\begin{align*} \int \frac {1}{\sqrt {-p}}d p &= dx\\ -2 \sqrt {-p}&= x +c_1 \end{align*}

Singular solutions are found by solving

\begin{align*} \sqrt {-p}&= 0 \end{align*}

for \(p \left (x \right )\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.

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

Solving Eq. (2)

Integrating gives

\begin{align*} \int -\frac {1}{\sqrt {-p}}d p &= dx\\ 2 \sqrt {-p}&= x +c_2 \end{align*}

Singular solutions are found by solving

\begin{align*} -\sqrt {-p}&= 0 \end{align*}

for \(p \left (x \right )\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.

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

For solution (1) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is

\begin{align*} -2 \sqrt {-y^{\prime }} = x +c_1 \end{align*}

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

\begin{align*} \int {dy} &= \int {-\frac {1}{4} x^{2}-\frac {1}{2} c_1 x -\frac {1}{4} c_1^{2}\, dx}\\ y &= -\frac {\left (x +c_1 \right )^{3}}{12} + c_3 \end{align*}

For solution (2) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is

\begin{align*} 2 \sqrt {-y^{\prime }} = x +c_2 \end{align*}

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

\begin{align*} \int {dy} &= \int {-\frac {1}{4} x^{2}-\frac {1}{2} c_2 x -\frac {1}{4} c_2^{2}\, dx}\\ y &= -\frac {\left (x +c_2 \right )^{3}}{12} + c_4 \end{align*}

For solution (3) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is

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

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_5 \\ y &= c_5 \end{align*}

Will add steps showing solving for IC soon.

1.13.2 Maple step by step solution

1.13.3 Maple trace
Methods for second order ODEs:
 
1.13.4 Maple dsolve solution

Solving time : 0.059 (sec)
Leaf size : 27

dsolve(diff(diff(y(x),x),x)^2+diff(y(x),x) = 0, 
       y(x),singsol=all)
 
\begin{align*} y &= c_{1} \\ y &= -\frac {1}{12} x^{3}+\frac {1}{2} c_{1} x^{2}-c_{1}^{2} x +c_{2} \\ \end{align*}
1.13.5 Mathematica DSolve solution

Solving time : 0.022 (sec)
Leaf size : 69

DSolve[{(D[y[x],{x,2}])^2+D[y[x],x]==0,{}}, 
       y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to -\frac {x^3}{12}-\frac {1}{4} i c_1 x^2+\frac {c_1{}^2 x}{4}+c_2 \\ y(x)\to -\frac {x^3}{12}+\frac {1}{4} i c_1 x^2+\frac {c_1{}^2 x}{4}+c_2 \\ \end{align*}