78.1.38 problem 3 (f)

Internal problem ID [18093]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 1. The Nature of Differential Equations. Separable Equations. Section 2. Problems at page 9
Problem number : 3 (f)
Date solved : Tuesday, January 28, 2025 at 11:26:02 AM
CAS classification : [_quadrature]

\begin{align*} \left (1+x \right ) \left (x^{2}+1\right ) y^{\prime }&=2 x^{2}+x \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=1 \end{align*}

Solution by Maple

Time used: 0.014 (sec). Leaf size: 24

dsolve([(x+1)*(x^2+1)*diff(y(x),x)=2*x^2+x,y(0) = 1],y(x), singsol=all)
 
\[ y = \frac {\ln \left (x +1\right )}{2}+\frac {3 \ln \left (x^{2}+1\right )}{4}-\frac {\arctan \left (x \right )}{2}+1 \]

Solution by Mathematica

Time used: 0.010 (sec). Leaf size: 29

DSolve[{(x+1)*(x^2+1)*D[y[x],x]==2*x^2+x,{y[0]==1}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {1}{4} \left (-2 \arctan (x)+3 \log \left (x^2+1\right )+2 \log (x+1)+4\right ) \]