5.13 problem 13

Internal problem ID [555]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.6. Page 100
Problem number: 13.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _exact, _rational, [_Abel, `2nd type``class A`]]

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

Solution by Maple

Time used: 0.141 (sec). Leaf size: 19

dsolve([2*x-y(x)+(-x+2*y(x))*diff(y(x),x) = 0,y(1) = 3],y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {x}{2}+\frac {\sqrt {-3 x^{2}+28}}{2} \]

Solution by Mathematica

Time used: 0.429 (sec). Leaf size: 22

DSolve[{2*x-y[x]+(-x+2*y[x])*y'[x] == 0,y[1]==3},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{2} \left (\sqrt {28-3 x^2}+x\right ) \\ \end{align*}