1.6 problem 6

1.6.1 Solving as second order ode missing y ode
1.6.2 Solving as second order ode missing x ode
1.6.3 Maple step by step solution

Internal problem ID [7395]
Internal file name [OUTPUT/6362_Sunday_June_05_2022_04_41_41_PM_62349154/index.tex]

Book: Second order enumerated odes
Section: section 1
Problem number: 6.
ODE order: 2.
ODE degree: 0.

The type(s) of ODE detected by this program : "second_order_ode_missing_x", "second_order_ode_missing_y"

Maple gives the following as the ode type

[[_2nd_order, _quadrature]]

\[ \boxed {a {y^{\prime \prime }}^{n}=0} \]

1.6.1 Solving as second order ode missing y ode

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 )}^{n -1} p^{\prime }\left (x \right ) = 0 \end {align*}

Which is now solve for \(p(x)\) as first order ode. The ode \begin {align*} {p^{\prime }\left (x \right )}^{n -1} p^{\prime }\left (x \right ) = 0 \end {align*}

Gives the following equations \begin {align*} {p^{\prime }\left (x \right )}^{n -1} = 0\tag {1} \\ p^{\prime }\left (x \right ) = 0\tag {2} \\ \end {align*}

Each of the above equations is now solved.

Solving ODE (1) Integrating both sides gives \begin {align*} p \left (x \right ) &= \int { 0\,\mathop {\mathrm {d}x}}\\ &= c_{1} \end {align*}

Solving ODE (2) Integrating both sides gives \begin {align*} p \left (x \right ) &= \int { 0\,\mathop {\mathrm {d}x}}\\ &= c_{2} \end {align*}

For solution (1) found earlier, since \(p=y^{\prime }\) then the new first order ode to solve is \begin {align*} y^{\prime } = c_{1} \end {align*}

Integrating both sides gives \begin {align*} y &= \int { c_{1}\,\mathop {\mathrm {d}x}}\\ &= c_{1} x +c_{3} \end {align*}

Since \(p=y^{\prime }\) then the new first order ode to solve is \begin {align*} y^{\prime } = c_{2} \end {align*}

Integrating both sides gives \begin {align*} y &= \int { c_{2}\,\mathop {\mathrm {d}x}}\\ &= c_{2} x +c_{4} \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} x +c_{3} \\ \tag{2} y &= c_{2} x +c_{4} \\ \end{align*}

Verification of solutions

\[ y = c_{1} x +c_{3} \] Verified OK.

\[ y = c_{2} x +c_{4} \] Verified OK.

1.6.2 Solving as second order ode missing x ode

This is missing independent variable second order ode. Solved by reduction of order by using substitution which makes the dependent variable \(y\) an independent variable. Using \begin {align*} y' &= p(y) \end {align*}

Then \begin {align*} y'' &= \frac {dp}{dx}\\ &= \frac {dy}{dx} \frac {dp}{dy}\\ &= p \frac {dp}{dy} \end {align*}

Hence the ode becomes \begin {align*} \left (p \left (y \right ) \left (\frac {d}{d y}p \left (y \right )\right )\right )^{n -1} p \left (y \right ) \left (\frac {d}{d y}p \left (y \right )\right ) = 0 \end {align*}

Which is now solved as first order ode for \(p(y)\). The ode \begin {align*} \left (p \left (y \right ) \left (\frac {d}{d y}p \left (y \right )\right )\right )^{n -1} p \left (y \right ) \left (\frac {d}{d y}p \left (y \right )\right ) = 0 \end {align*}

Gives the following equations \begin {align*} \left (p \left (y \right ) \left (\frac {d}{d y}p \left (y \right )\right )\right )^{n -1} = 0\tag {1} \\ p \left (y \right ) = 0\tag {2} \\ \frac {d}{d y}p \left (y \right ) = 0\tag {3} \\ \end {align*}

Each of the above equations is now solved.

Solving ODE (1) Integrating both sides gives \begin {align*} p \left (y \right ) &= \int { 0\,\mathop {\mathrm {d}y}}\\ &= c_{1} \end {align*}

Solving ODE (2) Since \(p \left (y \right ) = 0\), is missing derivative in \(p\) then it is an algebraic equation. Solving for \(p \left (y \right )\). \begin {align*} \end {align*}

Solving ODE (3) Integrating both sides gives \begin {align*} p \left (y \right ) &= \int { 0\,\mathop {\mathrm {d}y}}\\ &= c_{2} \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*} y^{\prime } = c_{1} \end {align*}

Integrating both sides gives \begin {align*} y &= \int { c_{1}\,\mathop {\mathrm {d}x}}\\ &= c_{1} 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*} y^{\prime } = c_{2} \end {align*}

Integrating both sides gives \begin {align*} y &= \int { c_{2}\,\mathop {\mathrm {d}x}}\\ &= c_{2} x +c_{4} \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} x +c_{3} \\ \tag{2} y &= c_{2} x +c_{4} \\ \end{align*}

Verification of solutions

\[ y = c_{1} x +c_{3} \] Verified OK.

\[ y = c_{2} x +c_{4} \] Verified OK.

1.6.3 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \left (\frac {d}{d x}y^{\prime }\right )^{n -1} \left (\frac {d}{d x}y^{\prime }\right )=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & \frac {d}{d x}y^{\prime } \\ \bullet & {} & \textrm {Isolate 2nd derivative}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y^{\prime }=0 \\ \bullet & {} & \textrm {Characteristic polynomial of ODE}\hspace {3pt} \\ {} & {} & r^{2}=0 \\ \bullet & {} & \textrm {Use quadratic formula to solve for}\hspace {3pt} r \\ {} & {} & r =\frac {0\pm \left (\sqrt {0}\right )}{2} \\ \bullet & {} & \textrm {Roots of the characteristic polynomial}\hspace {3pt} \\ {} & {} & r =0 \\ \bullet & {} & \textrm {1st solution of the ODE}\hspace {3pt} \\ {} & {} & y_{1}\left (x \right )=1 \\ \bullet & {} & \textrm {Repeated root, multiply}\hspace {3pt} y_{1}\left (x \right )\hspace {3pt}\textrm {by}\hspace {3pt} x \hspace {3pt}\textrm {to ensure linear independence}\hspace {3pt} \\ {} & {} & y_{2}\left (x \right )=x \\ \bullet & {} & \textrm {General solution of the ODE}\hspace {3pt} \\ {} & {} & y=c_{1} y_{1}\left (x \right )+c_{2} y_{2}\left (x \right ) \\ \bullet & {} & \textrm {Substitute in solutions}\hspace {3pt} \\ {} & {} & y=c_{2} x +c_{1} \end {array} \]

Maple trace

`Methods for second order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
<- quadrature successful`
 

Solution by Maple

Time used: 0.0 (sec). Leaf size: 9

dsolve(a*diff(y(x),x$2)^n=0,y(x), singsol=all)
 

\[ y \left (x \right ) = c_{1} x +c_{2} \]

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 24

DSolve[a*(y''[x])^n==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{2} 0^{\frac {1}{n}} x^2+c_2 x+c_1 \]