Internal
problem
ID
[6132]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
4.
OTHER
METHODS
FOR
FIRST-ORDER
EQUATIONS.
page
406
Problem
number
:
25
part
(a)
Date
solved
:
Sunday, March 30, 2025 at 10:40:51 AM
CAS
classification
:
[[_homogeneous, `class G`], _rational, _Riccati]
ode:=diff(y(x),x) = x*y(x)^2-2*y(x)/x-1/x^3; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]== x*y[x]^2-2/x*y[x]-1/x^3; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*y(x)**2 + Derivative(y(x), x) + 2*y(x)/x + x**(-3),0) ics = {} dsolve(ode,func=y(x),ics=ics)