Internal
problem
ID
[3480]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
14,
First
order
ordinary
differential
equations.
14.4
Exercises,
page
490
Problem
number
:
Problem
14.29
Date
solved
:
Sunday, March 30, 2025 at 01:44:11 AM
CAS
classification
:
[[_homogeneous, `class G`], _rational, _Bernoulli]
With initial conditions
ode:=x*diff(y(x),x)+y(x)-y(x)^2/x^(3/2) = 0; ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=x*D[y[x],x]+y[x]-y[x]^2/x^(3/2)==0; ic=y[1]==1; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) + y(x) - y(x)**2/x**(3/2),0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)