Internal
problem
ID
[17302]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.4
(Differences
between
linear
and
nonlinear
equations).
Problems
at
page
79
Problem
number
:
2
Date
solved
:
Monday, March 31, 2025 at 03:50:06 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=t*(t-4)*diff(y(t),t)+y(t) = 0; ic:=y(2) = 1; dsolve([ode,ic],y(t), singsol=all);
ode=t*(t-4)*D[y[t],t]+y[t]==0; ic={y[2]==1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(t*(t - 4)*Derivative(y(t), t) + y(t),0) ics = {y(2): 1} dsolve(ode,func=y(t),ics=ics)