Internal
problem
ID
[2623]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.8.
Series
solutions.
Excercises
page
197
Problem
number
:
13
Date
solved
:
Sunday, March 30, 2025 at 12:11:49 AM
CAS
classification
:
[[_2nd_order, _exact, _linear, _homogeneous]]
Using series method with expansion around
With initial conditions
Order:=6; ode:=(1-t)*diff(diff(y(t),t),t)+t*diff(y(t),t)+y(t) = 0; ic:=y(0) = 1, D(y)(0) = 0; dsolve([ode,ic],y(t),type='series',t=0);
ode=(1-t)*D[y[t],{t,2}]+t*D[y[t],t]+y[t]==0; ic={y[0]==1,Derivative[1][y][0] ==0}; AsymptoticDSolveValue[{ode,ic},y[t],{t,0,5}]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(t*Derivative(y(t), t) + (1 - t)*Derivative(y(t), (t, 2)) + y(t),0) ics = {y(0): 1, Subs(Derivative(y(t), t), t, 0): 0} dsolve(ode,func=y(t),ics=ics,hint="2nd_power_series_ordinary",x0=0,n=6)