Internal
problem
ID
[11924]
Book
:
Handbook
of
exact
solutions
for
ordinary
differential
equations.
By
Polyanin
and
Zaitsev.
Second
edition
Section
:
Chapter
1,
First-Order
differential
equations
Problem
number
:
1.1.3
Date
solved
:
Wednesday, March 05, 2025 at 03:10:33 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = f(x)*g(y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==f[x]*g[y[x]]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") f = Function("f") g = Function("g") ode = Eq(-f(x)*g(y(x)) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)