3.4 problem 4

Internal problem ID [5139]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 25. Second order differential equations. Test Excercise 25. page 1093
Problem number: 4.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

\[ \boxed {y^{\prime \prime }+25 y=5 x^{2}+x} \]

Solution by Maple

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

dsolve(diff(y(x),x$2)+25*y(x)=5*x^2+x,y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[y''[x]+25*y[x]==5*x^2+x,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{125} \left (25 x^2+5 x-2\right )+c_1 \cos (5 x)+c_2 \sin (5 x) \]