Internal
problem
ID
[773]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Chapter
1
review
problems.
Page
78
Problem
number
:
3
Date
solved
:
Tuesday, March 04, 2025 at 11:44:36 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Bernoulli]
ode:=x*y(x)+y(x)^2-x^2*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=x*y[x]+y[x]^2-x^2*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(-x**2*Derivative(y(x), x) + x*y(x) + y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)