75.23.1 problem 724

Internal problem ID [17198]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Chapter 2 (Higher order ODEs). Section 18.1 Integration of differential equation in series. Power series. Exercises page 171
Problem number : 724
Date solved : Tuesday, January 28, 2025 at 09:56:55 AM
CAS classification : [_linear]

\begin{align*} y^{\prime }&=1-y x \end{align*}

Using series method with expansion around

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

With initial conditions

\begin{align*} y \left (0\right )&=0 \end{align*}

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 19

AsymptoticDSolveValue[{D[y[x],x]==1-x*y[x],{y[0]==0}},y[x],{x,0,"6"-1}]
 
\[ y(x)\to \frac {x^5}{15}-\frac {x^3}{3}+x \]