Internal
problem
ID
[13224]
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.4
Date
solved
:
Wednesday, October 01, 2025 at 03:37:16 AM
CAS
classification
:
[_linear]
ode:=g(x)*diff(y(x),x) = f__1(x)*y(x)+f__0(x); dsolve(ode,y(x), singsol=all);
ode=g[x]*D[y[x],x]==f1[x]*y[x]+f0[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") f0 = Function("f0") f1 = Function("f1") g = Function("g") ode = Eq(-f0(x) - f1(x)*y(x) + g(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)