Internal
problem
ID
[5121]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
19
Problem
number
:
525
Date
solved
:
Sunday, March 30, 2025 at 06:41:39 AM
CAS
classification
:
[_separable]
ode:=x*(y(x)+a)*diff(y(x),x) = y(x)*(B*x+A); dsolve(ode,y(x), singsol=all);
ode=x(a+y[x])D[y[x],x]==y[x](A+B x); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") A = symbols("A") B = symbols("B") a = symbols("a") y = Function("y") ode = Eq(x*(a + y(x))*Derivative(y(x), x) - (A + B*x)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)