12.25 problem 27

Internal problem ID [1229]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 7 Series Solutions of Linear Second Equations. 7.2 SERIES SOLUTIONS NEAR AN ORDINARY POINT I. Exercises 7.2. Page 329
Problem number: 27.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _exact, _linear, _homogeneous]]

Solve \begin {gather*} \boxed {\left (x^{2}+1\right ) y^{\prime \prime }+4 y^{\prime } x +2 y=0} \end {gather*} With the expansion point for the power series method at \(x = 0\).

Solution by Maple

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

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

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

Solution by Mathematica

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

AsymptoticDSolveValue[(1+x^2)*y''[x]+4*x*y'[x]+2*y[x]==0,y[x],{x,0,5}]
 

\[ y(x)\to c_2 \left (x^5-x^3+x\right )+c_1 \left (x^4-x^2+1\right ) \]