Internal problem ID [13254]
Internal file name [OUTPUT/12426_Wednesday_February_14_2024_02_06_11_AM_96752234/index.tex
]
Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell.
second edition. CRC Press. FL, USA. 2020
Section: Chapter 2. Integration and differential equations. Additional exercises. page
32
Problem number: 2.3 (c).
ODE order: 1.
ODE degree: 1.
The type(s) of ODE detected by this program : "quadrature"
Maple gives the following as the ode type
[_quadrature]
\[ \boxed {y^{\prime } x=-\sqrt {x}+2} \]
Integrating both sides gives \begin {align*} y &= \int { -\frac {\sqrt {x}-2}{x}\,\mathop {\mathrm {d}x}}\\ &= -2 \sqrt {x}+2 \ln \left (x \right )+c_{1} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} y &= -2 \sqrt {x}+2 \ln \left (x \right )+c_{1} \\ \end{align*}
Verification of solutions
\[ y = -2 \sqrt {x}+2 \ln \left (x \right )+c_{1} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime } x =-\sqrt {x}+2 \\ \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 {x}+2}{x} \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int y^{\prime }d x =\int \frac {-\sqrt {x}+2}{x}d x +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & y=-2 \sqrt {x}+2 \ln \left (x \right )+c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=-2 \sqrt {x}+2 \ln \left (x \right )+c_{1} \end {array} \]
Maple trace
`Methods for first order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful`
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 15
dsolve(x*diff(y(x),x)+sqrt(x)=2,y(x), singsol=all)
\[ y \left (x \right ) = 2 \ln \left (x \right )-2 \sqrt {x}+c_{1} \]
✓ Solution by Mathematica
Time used: 0.011 (sec). Leaf size: 19
DSolve[x*y'[x]+Sqrt[x]==2,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -2 \sqrt {x}+2 \log (x)+c_1 \]