Internal
problem
ID
[6133]
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
(b)
Date
solved
:
Sunday, March 30, 2025 at 10:40:54 AM
CAS
classification
:
[[_homogeneous, `class D`], _rational, _Riccati]
ode:=diff(y(x),x) = 2/x*y(x)^2+y(x)/x-2*x; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]== 2/x*y[x]^2+1/x*y[x]-2*x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x + Derivative(y(x), x) - 2*y(x)**2/x - y(x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)