Internal
problem
ID
[4090]
Book
:
Applied
Differential
equations,
Newby
Curle.
Van
Nostrand
Reinhold.
1972
Section
:
Examples,
page
35
Problem
number
:
4
Date
solved
:
Tuesday, March 04, 2025 at 05:25:27 PM
CAS
classification
:
[[_homogeneous, `class C`], _rational, _Riccati]
ode:=x^2*diff(y(x),x) = x*(-1+y(x))+(-1+y(x))^2; dsolve(ode,y(x), singsol=all);
ode=x^2*D[y[x],x]==x*(y[x]-1)+(y[x]-1)^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2*Derivative(y(x), x) - x*(y(x) - 1) - (y(x) - 1)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)