Internal problem ID [4576]
Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY.
2001
Section: Program 24. First order differential equations. Test excercise 24. page 1067
Problem number: 10.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
Solve \begin {gather*} \boxed {x y^{\prime }-2 y-x^{3} \cos \relax (x )=0} \end {gather*}
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 12
dsolve(x*diff(y(x),x)-2*y(x)=x^3*cos(x),y(x), singsol=all)
\[ y \relax (x ) = \left (\sin \relax (x )+c_{1}\right ) x^{2} \]
✓ Solution by Mathematica
Time used: 0.06 (sec). Leaf size: 14
DSolve[x*y'[x]-2*y[x]==x^3*Cos[x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to x^2 (\sin (x)+c_1) \\ \end{align*}