9.7.4 problem problem 4

Internal problem ID [1045]
Book : Differential equations and linear algebra, 4th ed., Edwards and Penney
Section : Chapter 11 Power series methods. Section 11.1 Introduction and Review of power series. Page 615
Problem number : problem 4
Date solved : Monday, January 27, 2025 at 03:23:05 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }+2 y x&=0 \end{align*}

Using series method with expansion around

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

Solution by Maple

Time used: 0.000 (sec). Leaf size: 24

Order:=6; 
dsolve(diff(y(x),x)+2*x*y(x)=0,y(x),type='series',x=0);
 
\[ y = \left (1-x^{2}+\frac {1}{2} x^{4}\right ) y \left (0\right )+O\left (x^{6}\right ) \]

Solution by Mathematica

Time used: 0.001 (sec). Leaf size: 20

AsymptoticDSolveValue[D[y[x],x]+2*x*y[x]==0,y[x],{x,0,"6"-1}]
 
\[ y(x)\to c_1 \left (\frac {x^4}{2}-x^2+1\right ) \]