Internal
problem
ID
[5100]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
18
Problem
number
:
502
Date
solved
:
Sunday, March 30, 2025 at 06:40:14 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
ode:=(a*x+b*y(x))*diff(y(x),x) = b*x+a*y(x); dsolve(ode,y(x), singsol=all);
ode=(a x+b y[x])D[y[x],x]==b x+a y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(-a*y(x) - b*x + (a*x + b*y(x))*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
RecursionError : maximum recursion depth exceeded