Internal problem ID [7168]
Book: Own collection of miscellaneous problems
Section: section 2.0
Problem number: 31.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]
\[ \boxed {y^{\prime \prime }-y x=x^{2}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 16
dsolve(diff(y(x),x$2)-x*y(x)-x^2=0,y(x), singsol=all)
\[ y \left (x \right ) = \operatorname {AiryAi}\left (x \right ) c_{2} +\operatorname {AiryBi}\left (x \right ) c_{1} -x \]
✓ Solution by Mathematica
Time used: 0.041 (sec). Leaf size: 30
DSolve[y''[x]-x*y[x]-x^2==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \pi x \operatorname {AiryAiPrime}(x) \operatorname {AiryBi}(x)+c_2 \operatorname {AiryBi}(x)+\operatorname {AiryAi}(x) (-\pi x \operatorname {AiryBiPrime}(x)+c_1) \]