4.6 problem 6

Internal problem ID [59]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.5. Linear first order equations. Page 56
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {y+2 y^{\prime } x -10 \sqrt {x}=0} \end {gather*} With initial conditions \begin {align*} [y \relax (2) = 5] \end {align*}

Solution by Maple

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

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

\[ y \relax (x ) = \frac {-10+5 \sqrt {2}+5 x}{\sqrt {x}} \]

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 20

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

\begin{align*} y(x)\to \frac {5 \left (x+\sqrt {2}-2\right )}{\sqrt {x}} \\ \end{align*}