Internal
problem
ID
[8724]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
12
Date
solved
:
Sunday, March 30, 2025 at 01:25:02 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x) = 2*y(x)/x; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x] == 2*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) - 2*y(x)/x,0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)
ValueError : Couldnt solve for initial conditions