7.7.25 problem 25

Internal problem ID [203]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Review problems at page 98
Problem number : 25
Date solved : Monday, January 27, 2025 at 02:41:12 AM
CAS classification : [_linear]

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

Solution by Maple

Time used: 0.002 (sec). Leaf size: 14

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

Solution by Mathematica

Time used: 0.029 (sec). Leaf size: 25

DSolve[2*y[x]+(x+1)*D[y[x],x]==3*x+3,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {x^3+3 x^2+3 x+c_1}{(x+1)^2} \]