1.16 problem 2.3 (f)

Internal problem ID [13258]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 2. Integration and differential equations. Additional exercises. page 32
Problem number: 2.3 (f).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

dsolve(diff(y(x),x)=x*cos(x),y(x), singsol=all)
 

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

Solution by Mathematica

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

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

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