Internal
problem
ID
[16818]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
12.
Miscellaneous
problems.
Exercises
page
93
Problem
number
:
297
Date
solved
:
Monday, March 31, 2025 at 03:22:54 PM
CAS
classification
:
[_separable]
ode:=(x-1)*(y(x)^2-y(x)+1) = (-1+y(x))*(x^2+x+1)*diff(y(x),x); dsolve(ode,y(x), singsol=all);
ode=((x-1)*(y[x]^2-y[x]+1))==((y[x]-1)*(x^2+x+1))*D[y[x],x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x - 1)*(y(x)**2 - y(x) + 1) - (y(x) - 1)*(x**2 + x + 1)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)