Internal
problem
ID
[5784]
Book
:
Ordinary
Differential
Equations,
By
Tenenbaum
and
Pollard.
Dover,
NY
1963
Section
:
Chapter
2.
Special
types
of
differential
equations
of
the
first
kind.
Lesson
7
Problem
number
:
First
order
with
homogeneous
Coefficients.
Exercise
7.15,
page
61
Date
solved
:
Tuesday, March 04, 2025 at 11:43:49 PM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Bernoulli]
With initial conditions
ode:=x*y(x)-y(x)^2-x^2*diff(y(x),x) = 0; ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=(x*y[x]-y[x]^2)-x^2*D[y[x],x]==0; ic=y[1]==1; 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) - y(x)**2,0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)