Internal
problem
ID
[8067]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
2.
Problems
for
Review
and
Discovery.
Challenge
excercises.
Page
105
Problem
number
:
3
Date
solved
:
Sunday, March 30, 2025 at 12:41:59 PM
CAS
classification
:
[[_Emden, _Fowler], [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]
With initial conditions
ode:=x^2*diff(diff(y(x),x),x)-2*x*diff(y(x),x)+2*y(x) = 0; ic:=y(0) = 0, D(y)(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=x^2*D[y[x],{x,2}]-2*x*D[y[x],x]+2*y[x]==0; ic={y[0]==0,Derivative[1][y][0] ==0}; 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, 2)) - 2*x*Derivative(y(x), x) + 2*y(x),0) ics = {y(0): 0, Subs(Derivative(y(x), x), x, 0): 0} dsolve(ode,func=y(x),ics=ics)