2.21 problem 22

Internal problem ID [6706]

Book: Second order enumerated odes
Section: section 2
Problem number: 22.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

Solve \begin {gather*} \boxed {\left (x^{2}+1\right ) y^{\prime \prime }+\left (x +1\right ) y^{\prime }+y-4 \cos \left (\ln \left (x +1\right )\right )=0} \end {gather*}

Solution by Maple

Time used: 0.187 (sec). Leaf size: 405

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

\[ \text {Expression too large to display} \]

Solution by Mathematica

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

DSolve[(1+x^2)*y''[x]+(1+x)*y'[x]+y[x]==4*Cos[Log[1+x]],y[x],x,IncludeSingularSolutions -> True]
 

Not solved