Internal
problem
ID
[13303]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
Miscellaneous
Review.
Exercises
page
60
Problem
number
:
24
Date
solved
:
Monday, March 31, 2025 at 07:47:43 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Bernoulli]
With initial conditions
ode:=x^2*diff(y(x),x)+x*y(x) = y(x)^3/x; ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=x^2*D[y[x],x]+x*y[x]==y[x]^3/x; 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)**3/x,0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)