2.12 problem 17

Internal problem ID [13797]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Review exercises, page 23
Problem number: 17.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

dsolve(diff(y(x),x)=x^2*sin(x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.018 (sec). Leaf size: 22

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

\[ y(x)\to -\left (x^2-2\right ) \cos (x)+2 x \sin (x)+c_1 \]