Internal
problem
ID
[22978]
Book
:
Applied
Differential
Equations.
By
Murray
R.
Spiegel.
3rd
edition.
1980.
Pearson.
ISBN
978-0130400970
Section
:
Chapter
7.
Solution
of
differential
equations
by
use
of
series.
A
Exercises
at
page
329
Problem
number
:
3
Date
solved
:
Thursday, October 02, 2025 at 09:17:10 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using series method with expansion around
Order:=6; ode:=diff(diff(U(r),r),r)+2/r*diff(U(r),r)+a*U(r) = 0; dsolve(ode,U(r),type='series',r=0);
ode=D[U[r],{r,2}]+2/r*D[U[r],r]+a*U[r]==0; ic={}; AsymptoticDSolveValue[{ode,ic},U[r],{r,0,5}]
from sympy import * r = symbols("r") a = symbols("a") u = Function("u") ode = Eq(a*U(r) + Derivative(U(r), (r, 2)) + 2*Derivative(U(r), r)/r,0) ics = {} dsolve(ode,func=u(r),ics=ics,hint="2nd_power_series_regular",x0=0,n=6)
ValueError : ODE a*U(r) + Derivative(U(r), (r, 2)) + 2*Derivative(U(r), r)/r does not match hint 2nd