Internal
problem
ID
[2474]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.2.
Linear
equations.
Excercises
page
9
Problem
number
:
3
Date
solved
:
Sunday, March 30, 2025 at 12:02:31 AM
CAS
classification
:
[_linear]
ode:=diff(y(t),t)+2*t/(t^2+1)*y(t) = 1/(t^2+1); dsolve(ode,y(t), singsol=all);
ode=D[y[t],t]+2*t/(1+t^2)*y[t]==1/(1+t^2); ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(2*t*y(t)/(t**2 + 1) + Derivative(y(t), t) - 1/(t**2 + 1),0) ics = {} dsolve(ode,func=y(t),ics=ics)