1.65 problem 65

1.65.1 Maple step by step solution

Internal problem ID [7109]
Internal file name [OUTPUT/6095_Sunday_June_05_2022_04_21_37_PM_79446194/index.tex]

Book: Own collection of miscellaneous problems
Section: section 1.0
Problem number: 65.
ODE order: 2.
ODE degree: 1.

The type(s) of ODE detected by this program : "exact linear second order ode", "second_order_integrable_as_is", "second_order_ode_missing_y", "second_order_ode_quadrature", "second_order_linear_constant_coeff", "second_order_ode_can_be_made_integrable"

Maple gives the following as the ode type

[[_2nd_order, _quadrature]]

\[ \boxed {y^{2} y^{\prime \prime }=0} \] The ode \begin {align*} y^{2} y^{\prime \prime } = 0 \end {align*}

Gives the following equations \begin {align*} y^{2} = 0\tag {1} \\ y^{\prime \prime } = 0\tag {2} \\ \end {align*}

Each of the above equations is now solved.

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

Solving ODE (2) Integrating twice gives the solution \[ y= c_{1} x + c_{2} \]

Summary

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

Verification of solutions

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

Summary

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

Verification of solutions

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

1.65.1 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{2} \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: 13

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

\begin{align*} y \left (x \right ) &= 0 \\ y \left (x \right ) &= c_{1} x +c_{2} \\ \end{align*}

Solution by Mathematica

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

DSolve[y[x]^2*y''[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 0 \\ y(x)\to c_2 x+c_1 \\ \end{align*}