Internal
problem
ID
[17282]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.3,
page
49
Problem
number
:
31
Date
solved
:
Thursday, October 02, 2025 at 02:00:49 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=t*diff(y(t),t)+y(t) = 2*t*exp(t); ic:=[y(1) = -1]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=t*D[y[t],t]+y[t]==2*t*Exp[t]; ic={y[1]==-1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-2*t*exp(t) + t*Derivative(y(t), t) + y(t),0) ics = {y(1): -1} dsolve(ode,func=y(t),ics=ics)