1.16 problem 16

1.16.1 Solved as second order missing y ode
1.16.2 Maple step by step solution
1.16.3 Maple trace
1.16.4 Maple dsolve solution
1.16.5 Mathematica DSolve solution

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

Solve

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

1.16.1 Solved as second order missing y ode

Time used: 0.564 (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 )-1 = 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 {1-p \left (x \right )} \\ \tag{2} p^{\prime }\left (x \right )&=-\sqrt {1-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 {1-p}}d p &= dx\\ -2 \sqrt {1-p}&= x +c_1 \end{align*}

Singular solutions are found by solving

\begin{align*} \sqrt {1-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 ) = 1 \end{align*}

Solving Eq. (2)

Integrating gives

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

Singular solutions are found by solving

\begin{align*} -\sqrt {1-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 ) = 1 \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 {1-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} c_1^{2}-\frac {1}{2} c_1 x -\frac {1}{4} x^{2}+1\, dx}\\ y &= -\frac {x^{3}}{12}-\frac {c_1 \,x^{2}}{4}-\frac {\left (c_1 +2\right ) \left (c_1 -2\right ) x}{4} + c_3 \end{align*}
\begin{align*} y&= -\frac {1}{12} x^{3}-\frac {1}{4} c_1 \,x^{2}-\frac {1}{4} c_1^{2} x +x +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 {1-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} c_2^{2}-\frac {1}{2} c_2 x -\frac {1}{4} x^{2}+1\, dx}\\ y &= -\frac {x^{3}}{12}-\frac {c_2 \,x^{2}}{4}-\frac {\left (c_2 +2\right ) \left (c_2 -2\right ) x}{4} + c_4 \end{align*}
\begin{align*} y&= -\frac {1}{12} x^{3}-\frac {1}{4} c_2 \,x^{2}-\frac {1}{4} c_2^{2} x +x +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 } = 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 {1\, dx}\\ y &= x + c_5 \end{align*}

Will add steps showing solving for IC soon.

1.16.2 Maple step by step solution

1.16.3 Maple trace
Methods for second order ODEs:
 
1.16.4 Maple dsolve solution

Solving time : 0.130 (sec)
Leaf size : 30

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

Solving time : 0.024 (sec)
Leaf size : 67

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