Internal
problem
ID
[1158]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.2.
Page
48
Problem
number
:
31
Date
solved
:
Saturday, March 29, 2025 at 10:42:54 PM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Riccati]
ode:=diff(y(x),x) = (x^2+x*y(x)+y(x)^2)/x^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x] == (x^2+x*y[x]+y[x]^2)/x^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - (x**2 + x*y(x) + y(x)**2)/x**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)