Internal
problem
ID
[14958]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
4.
SEPARABLE
FIRST
ORDER
EQUATIONS.
Additional
exercises.
page
90
Problem
number
:
4.3
(c)
Date
solved
:
Thursday, March 13, 2025 at 05:23:59 AM
CAS
classification
:
[_rational, _Riccati]
ode:=x*diff(y(x),x) = (x-y(x))^2; dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]==(x-y[x])^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) - (x - y(x))**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)
ValueError : Rational Solution doesnt exist