8.26 problem 26

Internal problem ID [4380]

Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section: Chapter 8, Ordinary differential equations. Section 13. Miscellaneous problems. page 466
Problem number: 26.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

dsolve([x*diff(y(x),x)-y(x)=x^2,y(2) = 6],y(x), singsol=all)
 

\[ y \left (x \right ) = x \left (x +1\right ) \]

Solution by Mathematica

Time used: 0.025 (sec). Leaf size: 10

DSolve[{x*y'[x]-y[x]==x^2,{y[2]==6}},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to x (x+1) \\ \end{align*}