1.23 problem 23

1.23.1 Solving as separable ode
1.23.2 Maple step by step solution

Internal problem ID [5736]
Internal file name [OUTPUT/4984_Sunday_June_05_2022_03_15_56_PM_79360025/index.tex]

Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section: Chapter 1. First order differential equations. Section 1.1 Separable equations problems. page 7
Problem number: 23.
ODE order: 1.
ODE degree: 1.

The type(s) of ODE detected by this program :

Maple gives the following as the ode type

[_separable]

\[ \boxed {y^{\prime }-\frac {\sqrt {y}}{x}=0} \]

1.23.1 Solving as separable ode

In canonical form the ODE is \begin {align*} y' &= F(x,y)\\ &= f( x) g(y)\\ &= \frac {\sqrt {y}}{x} \end {align*}

Where \(f(x)=\frac {1}{x}\) and \(g(y)=\sqrt {y}\). Integrating both sides gives \begin{align*} \frac {1}{\sqrt {y}} \,dy &= \frac {1}{x} \,d x \\ \int { \frac {1}{\sqrt {y}} \,dy} &= \int {\frac {1}{x} \,d x} \\ 2 \sqrt {y}&=\ln \left (x \right )+c_{1} \\ \end{align*} The solution is \[ 2 \sqrt {y}-\ln \left (x \right )-c_{1} = 0 \]

Summary

The solution(s) found are the following \begin{align*} \tag{1} 2 \sqrt {y}-\ln \left (x \right )-c_{1} &= 0 \\ \end{align*}

Figure 18: Slope field plot

Verification of solutions

\[ 2 \sqrt {y}-\ln \left (x \right )-c_{1} = 0 \] Verified OK.

1.23.2 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime }-\frac {\sqrt {y}}{x}=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & y^{\prime }=\frac {\sqrt {y}}{x} \\ \bullet & {} & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{\sqrt {y}}=\frac {1}{x} \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{\sqrt {y}}d x =\int \frac {1}{x}d x +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & 2 \sqrt {y}=\ln \left (x \right )+c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=\frac {\ln \left (x \right )^{2}}{4}+\frac {c_{1} \ln \left (x \right )}{2}+\frac {c_{1}^{2}}{4} \end {array} \]

Maple trace

`Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
trying 1st order linear 
trying Bernoulli 
<- Bernoulli successful`
 

Solution by Maple

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

dsolve(diff(y(x),x)=sqrt(y(x))/x,y(x), singsol=all)
 

\[ \sqrt {y \left (x \right )}-\frac {\ln \left (x \right )}{2}-c_{1} = 0 \]

Solution by Mathematica

Time used: 0.111 (sec). Leaf size: 21

DSolve[y'[x]==Sqrt[y[x]]/x,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{4} (\log (x)+c_1){}^2 \\ y(x)\to 0 \\ \end{align*}