Internal
problem
ID
[7664]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
8,
Series
solutions
of
differential
equations.
Section
8.4.
page
449
Problem
number
:
15
Date
solved
:
Tuesday, September 30, 2025 at 04:55:39 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using series method with expansion around
With initial conditions
Order:=6; ode:=(x^2+1)*diff(diff(y(x),x),x)-exp(x)*diff(y(x),x)+y(x) = 0; ic:=[y(0) = 1, D(y)(0) = 1]; dsolve([ode,op(ic)],y(x),type='series',x=0);
ode=(x^2+1)*D[y[x],{x,2}]-Exp[x]*D[y[x],x]+y[x]==0; ic={y[0]==1,Derivative[1][y][0] ==1}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x**2 + 1)*Derivative(y(x), (x, 2)) + y(x) - exp(x)*Derivative(y(x), x),0) ics = {y(0): 1, Subs(Derivative(y(x), x), x, 0): 1} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_ordinary",x0=0,n=6)