Internal
problem
ID
[7258]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
4.
OTHER
METHODS
FOR
FIRST-ORDER
EQUATIONS.
page
406
Problem
number
:
5
Date
solved
:
Tuesday, September 30, 2025 at 04:26:27 PM
CAS
classification
:
[[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
ode:=(x-y(x))*diff(y(x),x)+x+y(x)+1 = 0; dsolve(ode,y(x), singsol=all);
ode=(x-y[x])*D[y[x],x]+(y[x]+x+1)==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x + (x - y(x))*Derivative(y(x), x) + y(x) + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)