24.23 problem 34.8 b(iii)

Internal problem ID [13967]

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.8 b(iii).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {\cos \left (x \right ) y^{\prime }+y=0} \] With the expansion point for the power series method at \(x = 0\).

Solution by Maple

Time used: 0.0 (sec). Leaf size: 46

Order:=8; 
dsolve(cos(x)*diff(y(x),x)+y(x)=0,y(x),type='series',x=0);
 

\[ y \left (x \right ) = \left (1-x +\frac {1}{2} x^{2}-\frac {1}{3} x^{3}+\frac {5}{24} x^{4}-\frac {2}{15} x^{5}+\frac {61}{720} x^{6}-\frac {17}{315} x^{7}\right ) y \left (0\right )+O\left (x^{8}\right ) \]

Solution by Mathematica

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

AsymptoticDSolveValue[Cos[x]*y'[x]+y[x]==0,y[x],{x,0,7}]
 

\[ y(x)\to c_1 \left (-\frac {17 x^7}{315}+\frac {61 x^6}{720}-\frac {2 x^5}{15}+\frac {5 x^4}{24}-\frac {x^3}{3}+\frac {x^2}{2}-x+1\right ) \]