8.29 problem problem 29

Internal problem ID [444]

Book: Differential equations and linear algebra, 4th ed., Edwards and Penney
Section: Chapter 11 Power series methods. Section 11.2 Power series solutions. Page 624
Problem number: problem 29.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 29

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

\[ y \left (x \right ) = \left (1-\frac {x^{2}}{2}\right ) y \left (0\right )+\left (x -\frac {1}{6} x^{3}-\frac {1}{60} x^{5}\right ) D\left (y \right )\left (0\right )+O\left (x^{6}\right ) \]

Solution by Mathematica

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

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

\[ y(x)\to c_1 \left (1-\frac {x^2}{2}\right )+c_2 \left (-\frac {x^5}{60}-\frac {x^3}{6}+x\right ) \]