Internal
problem
ID
[1086]
Book
:
Differential
equations
and
linear
algebra,
4th
ed.,
Edwards
and
Penney
Section
:
Chapter
11
Power
series
methods.
Section
11.2
Power
series
solutions.
Page
624
Problem
number
:
problem
21
Date
solved
:
Saturday, March 29, 2025 at 10:38:33 PM
CAS
classification
:
[[_2nd_order, _exact, _linear, _homogeneous]]
Using series method with expansion around
With initial conditions
Order:=6; ode:=(4*x^2+16*x+17)*diff(diff(y(x),x),x) = 8*y(x); ic:=y(-2) = 1, D(y)(-2) = 0; dsolve([ode,ic],y(x),type='series',x=-2);
ode=(4*x^2+16*x+17)*D[y[x],{x,2}]==8*y[x]; ic={y[-2]==1,Derivative[1][y][-2]==0}; AsymptoticDSolveValue[{ode,ic},y[x],{x,-2,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((4*x**2 + 16*x + 17)*Derivative(y(x), (x, 2)) - 8*y(x),0) ics = {y(-2): 1, Subs(Derivative(y(x), x), x, -2): 0} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_ordinary",x0=-2,n=6)