83.48.11 problem Ex 11 page 106

Internal problem ID [19603]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Book Solved Excercises. Chapter VII. Exact differential equations.
Problem number : Ex 11 page 106
Date solved : Tuesday, January 28, 2025 at 02:03:51 PM
CAS classification : [[_2nd_order, _quadrature]]

\begin{align*} y^{\prime \prime }&=x^{2} \sin \left (x \right ) \end{align*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 24

dsolve(diff(y(x),x$2)=x^2*sin(x),y(x), singsol=all)
 
\[ y \left (x \right ) = \left (-x^{2}+6\right ) \sin \left (x \right )+c_{1} x -4 x \cos \left (x \right )+c_{2} \]

Solution by Mathematica

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

DSolve[D[y[x],{x,2}]==x^2*Sin[x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -\left (x^2-6\right ) \sin (x)-4 x \cos (x)+c_2 x+c_1 \]