Internal
problem
ID
[2495]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.4
separable
equations.
Excercises
page
24
Problem
number
:
7
Date
solved
:
Sunday, March 30, 2025 at 12:03:29 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(t),t) = 2*t/(y(t)+t^2*y(t)); ic:=y(2) = 3; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],t]==2*t/( y[t]+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(-2*t/(t**2*y(t) + y(t)) + Derivative(y(t), t),0) ics = {y(2): 3} dsolve(ode,func=y(t),ics=ics)