Internal
problem
ID
[7575]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Review
problems.
page
79
Problem
number
:
41
Date
solved
:
Tuesday, September 30, 2025 at 04:54:23 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=diff(y(t),t) = 1/(t^2+1)-y(t); ic:=[y(2) = 3]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=D[y[t],t]==1/(1+t^2) - y[t]; ic={y[2]==3}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-y(t) + Derivative(y(t), t) - 1/(t**2 + 1),0) ics = {y(2): 3} dsolve(ode,func=y(t),ics=ics)