Internal problem ID [875]
Book: Elementary differential equations with boundary value problems. William F. Trench.
Brooks/Cole 2001
Section: Chapter 1, Introduction. Section 1.2 Page 14
Problem number: 3(b).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_quadrature]
\[ \boxed {y^{\prime }=-\sin \left (x \right ) x} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve(diff(y(x),x) = -x*sin(x),y(x), singsol=all)
\[ y \left (x \right ) = -\sin \left (x \right )+\cos \left (x \right ) x +c_{1} \]
✓ Solution by Mathematica
Time used: 0.006 (sec). Leaf size: 16
DSolve[y'[x] == -x*Sin[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\sin (x)+x \cos (x)+c_1 \]