Internal
problem
ID
[2487]
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
:
16
Date
solved
:
Tuesday, March 04, 2025 at 02:12:12 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=4*t*y(t)+(t^2+1)*diff(y(t),t) = t; ic:=y(1) = 1/4; dsolve([ode,ic],y(t), singsol=all);
ode=(1+t^2)*D[y[t],t]+4*t*y[t]==t; ic={y[1]==1/4}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(4*t*y(t) - t + (t**2 + 1)*Derivative(y(t), t),0) ics = {y(1): 1/4} dsolve(ode,func=y(t),ics=ics)