4.14 problem 19 (p)

Internal problem ID [5311]

Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section: Chapter 6. Equations of first order and first degree (Linear equations). Supplemetary problems. Page 39
Problem number: 19 (p).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

dsolve(x*diff(y(x),x)=y(x)*(1-x*tan(x))+x^2*cos(x),y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[x*y'[x]==y[x]*(1-x*Tan[x])+x^2*Cos[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to x (x+c_1) \cos (x) \]