Internal
problem
ID
[21546]
Book
:
The
Differential
Equations
Problem
Solver.
VOL.
I.
M.
Fogiel
director.
REA,
NY.
1978.
ISBN
78-63609
Section
:
Chapter
6.
Method
of
grouping.
Page
96.
Problem
number
:
6-8
Date
solved
:
Thursday, October 02, 2025 at 07:47:39 PM
CAS
classification
:
[[_homogeneous, `class A`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
ode:=2*x-y(x)+(2*y(x)-x)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(2*x-y[x])+(2*y[x]-x)*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x + (-x + 2*y(x))*Derivative(y(x), x) - y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)