6.6 problem 130

Internal problem ID [15032]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Section 6. Linear equations of the first order. The Bernoulli equation. Exercises page 54
Problem number: 130.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime } x -2 y=\cos \left (x \right ) x^{3}} \]

Solution by Maple

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

dsolve(x*diff(y(x),x)-2*y(x)=x^3*cos(x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.039 (sec). Leaf size: 14

DSolve[x*y'[x]-2*y[x]==x^3*Cos[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to x^2 (\sin (x)+c_1) \]