2.30 problem 30

Internal problem ID [5778]

Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section: Chapter 1. First order differential equations. Section 1.2 Homogeneous equations problems. page 12
Problem number: 30.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

\[ y \left (x \right ) = 2 x +c_{1} \sqrt {x} \]

Solution by Mathematica

Time used: 0.046 (sec). Leaf size: 17

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

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