11.38 problem 61

Internal problem ID [256]

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

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

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.073 (sec). Leaf size: 20

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

\[ y(x)\to \log (x)+c_1 \cos (\log (x))+c_2 \sin (\log (x)) \]