88.3.2 problem 2

Internal problem ID [23956]
Book : Elementary Differential Equations. By Lee Roy Wilcox and Herbert J. Curtis. 1961 first edition. International texbook company. Scranton, Penn. USA. CAT number 61-15976
Section : Chapter 1. Introduction. Exercise at page 22
Problem number : 2
Date solved : Thursday, October 02, 2025 at 09:47:41 PM
CAS classification : [[_linear, `class A`]]

\begin{align*} y^{\prime }&=t +y \end{align*}
Maple. Time used: 0.000 (sec). Leaf size: 13
ode:=diff(y(t),t) = y(t)+t; 
dsolve(ode,y(t), singsol=all);
 
\[ y = -t -1+{\mathrm e}^{t} c_1 \]
Mathematica. Time used: 0.024 (sec). Leaf size: 16
ode=D[y[t],t]==y[t]+t; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\begin{align*} y(t)&\to -t+c_1 e^t-1 \end{align*}
Sympy. Time used: 0.075 (sec). Leaf size: 10
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(-t - y(t) + Derivative(y(t), t),0) 
ics = {} 
dsolve(ode,func=y(t),ics=ics)
 
\[ y{\left (t \right )} = C_{1} e^{t} - t - 1 \]