Internal
problem
ID
[10226]
Book
:
Differential
Gleichungen,
E.
Kamke,
3rd
ed.
Chelsea
Pub.
NY,
1948
Section
:
Chapter
1,
linear
first
order
Problem
number
:
216
Date
solved
:
Wednesday, March 05, 2025 at 08:44:34 AM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
ode:=(y(x)-2*x+1)*diff(y(x),x)+y(x)+x = 0; dsolve(ode,y(x), singsol=all);
ode=(y[x]-2*x+1)*D[y[x],x]+y[x]+x==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x + (-2*x + y(x) + 1)*Derivative(y(x), x) + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)