Internal
problem
ID
[16650]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
4.
Equations
with
variables
separable
and
equations
reducible
to
them.
Exercises
page
38
Problem
number
:
81
Date
solved
:
Monday, March 31, 2025 at 03:03:38 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x) = y(x)/x; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==y[x]/x; ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - y(x)/x,0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)
ValueError : Couldnt solve for initial conditions