Internal
problem
ID
[2896]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
7,
page
28
Problem
number
:
3
Date
solved
:
Sunday, March 30, 2025 at 12:48:34 AM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
ode:=2*x-y(x)+1+(x+y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(2*x-y[x]+1)+(x+y[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 + y(x))*Derivative(y(x), x) - y(x) + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)