15.51 problem 53 (d)

Internal problem ID [14760]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 4. Higher Order Equations. Exercises 4.7, page 195
Problem number: 53 (d).
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {x^{2} \arctan \left (x \right )+4 c_{1} x^{2}+4 c_{2} x +\arctan \left (x \right )-4 c_{1} +x}{4 x^{2}+4} \]

Solution by Mathematica

Time used: 0.37 (sec). Leaf size: 28

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

\[ y(x)\to \frac {\arctan (x)}{4}+c_1 \cos (2 \arctan (x))+c_2 \sin (2 \arctan (x)) \]