Internal
problem
ID
[22473]
Book
:
Applied
Differential
Equations.
By
Murray
R.
Spiegel.
3rd
edition.
1980.
Pearson.
ISBN
978-0130400970
Section
:
Chapter
1.
Differential
equations
in
general.
C
Exercises
at
page
33
Problem
number
:
2
(b)
Date
solved
:
Thursday, October 02, 2025 at 08:40:29 PM
CAS
classification
:
[_Lienard]
With initial conditions
ode:=x*diff(diff(y(x),x),x)+diff(y(x),x)+x*y(x) = 0; ic:=[y(1) = 2, D(y)(1) = 0]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x*D[y[x],{x,2}]+D[y[x],{x,1}]+x*y[x]==0; ic={y[1]==2,Derivative[1][y][1] ==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x) + x*Derivative(y(x), (x, 2)) + Derivative(y(x), x),0) ics = {y(1): 2, Subs(Derivative(y(x), x), x, 1): 0} dsolve(ode,func=y(x),ics=ics)