Internal
problem
ID
[3525]
Book
:
Differential
equations
and
linear
algebra,
Stephen
W.
Goode,
second
edition,
2000
Section
:
1.4,
page
36
Problem
number
:
11
Date
solved
:
Tuesday, March 04, 2025 at 04:44:21 PM
CAS
classification
:
[_separable]
ode:=(x-a)*(x-b)*diff(y(x),x)-y(x)+c = 0; dsolve(ode,y(x), singsol=all);
ode=(x-a)*(x-b)*D[y[x],x]-(y[x]-c)==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") c = symbols("c") y = Function("y") ode = Eq(c + (-a + x)*(-b + x)*Derivative(y(x), x) - y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)