4.17 problem Problem 26

Internal problem ID [2172]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.8, Change of Variables. page 79
Problem number: Problem 26.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

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

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

\[ y \left (x \right ) = -\frac {x}{4}+\frac {\sqrt {9 x^{2}+16}}{4} \]

Solution by Mathematica

Time used: 0.422 (sec). Leaf size: 24

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

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