1.5 problem 5

Internal problem ID [5]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.2. Integrals as general and particular solutions. Page 16
Problem number: 5.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }=\frac {1}{\sqrt {2+x}}} \] With initial conditions \begin {align*} [y \left (2\right ) = -1] \end {align*}

Solution by Maple

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

dsolve([diff(y(x),x) = 1/(2+x)^(1/2),y(2) = -1],y(x), singsol=all)
 

\[ y \left (x \right ) = 2 \sqrt {2+x}-5 \]

Solution by Mathematica

Time used: 0.008 (sec). Leaf size: 16

DSolve[{y'[x] == 1/(2+x)^(1/2),y[2]==-1},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to 2 \sqrt {x+2}-5 \]