8.6.25 problem 25

Internal problem ID [795]
Book : Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section : Chapter 1 review problems. Page 78
Problem number : 25
Date solved : Monday, January 27, 2025 at 03:07:18 AM
CAS classification : [_linear]

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

Solution by Maple

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

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

Solution by Mathematica

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

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