Internal
problem
ID
[7555]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Review
problems.
page
79
Problem
number
:
21
Date
solved
:
Tuesday, September 30, 2025 at 04:48:55 PM
CAS
classification
:
[[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
ode:=y(x)-2*x-1+(x+y(x)-4)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(y[x]-2*x-1)+(x+y[x]-4)*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) - 4)*Derivative(y(x), x) + y(x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)