Internal
problem
ID
[24326]
Book
:
A
short
course
in
Differential
Equations.
Earl
D.
Rainville.
Second
edition.
1958.
Macmillan
Publisher,
NY.
CAT
58-5010
Section
:
Chapter
2.
Equations
of
the
first
order
and
first
degree.
Exercises
at
page
39
Problem
number
:
4
Date
solved
:
Thursday, October 02, 2025 at 10:18:10 PM
CAS
classification
:
[[_homogeneous, `class G`], _rational, _Bernoulli]
ode:=s(t)*(2+s(t)^2*t)+2*t*diff(s(t),t) = 0; dsolve(ode,s(t), singsol=all);
ode=s[t]*(2+s[t]^2*t)+(2*t)*D[s[t],t]==0; ic={}; DSolve[{ode,ic},s[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") s = Function("s") ode = Eq(2*t*Derivative(s(t), t) + (t*s(t)**2 + 2)*s(t),0) ics = {} dsolve(ode,func=s(t),ics=ics)