8.13 problem 26

Internal problem ID [13041]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Review Exercises for chapter 1. page 136
Problem number: 26.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }-\frac {2 y}{1+t}=t} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 22

dsolve(diff(y(t),t)= t+2*y(t)/(1+t),y(t), singsol=all)
 

\[ y \left (t \right ) = \left (t +1\right ) \left (\left (t +1\right ) \ln \left (t +1\right )+c_{1} t +c_{1} +1\right ) \]

Solution by Mathematica

Time used: 0.054 (sec). Leaf size: 23

DSolve[y'[t]==t+2*y[t]/(1+t),y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to (t+1)^2 \left (\frac {1}{t+1}+\log (t+1)+c_1\right ) \]