11.35 problem 58

Internal problem ID [253]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 5.5, Nonhomogeneous equations and undetermined coefficients Page 351
Problem number: 58.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {x^{2} y^{\prime \prime }-4 y^{\prime } x +6 y=x^{3}} \]

Solution by Maple

Time used: 0.015 (sec). Leaf size: 23

dsolve(x^2*diff(y(x),x$2)-4*x*diff(y(x),x)+6*y(x)=x^3,y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[x^2*y''[x]-4*x*y'[x]+6*y[x]==x^3,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to x^2 (x \log (x)+(-1+c_2) x+c_1) \]