73.24.11 problem 34.6 (a)

Internal problem ID [15620]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 34. Power series solutions II: Generalization and theory. Additional Exercises. page 678
Problem number : 34.6 (a)
Date solved : Monday, March 31, 2025 at 01:43:11 PM
CAS classification : [_separable]

\begin{align*} y^{\prime }-{\mathrm e}^{x} y&=0 \end{align*}

Using series method with expansion around

\begin{align*} 0 \end{align*}

Maple. Time used: 0.005 (sec). Leaf size: 33
Order:=6; 
ode:=diff(y(x),x)-exp(x)*y(x) = 0; 
dsolve(ode,y(x),type='series',x=0);
 
\[ y = \left (1+x +x^{2}+\frac {5}{6} x^{3}+\frac {5}{8} x^{4}+\frac {13}{30} x^{5}\right ) y \left (0\right )+O\left (x^{6}\right ) \]
Mathematica. Time used: 0.001 (sec). Leaf size: 33
ode=D[y[x],x]-Exp[x]*y[x]==0; 
ic={}; 
AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
 
\[ y(x)\to c_1 \left (\frac {13 x^5}{30}+\frac {5 x^4}{8}+\frac {5 x^3}{6}+x^2+x+1\right ) \]
Sympy. Time used: 0.724 (sec). Leaf size: 41
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-y(x)*exp(x) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)
 
\[ y{\left (x \right )} = C_{1} + C_{1} x + C_{1} x^{2} + \frac {5 C_{1} x^{3}}{6} + \frac {5 C_{1} x^{4}}{8} + \frac {13 C_{1} x^{5}}{30} + O\left (x^{6}\right ) \]