13.10 problem 12

Internal problem ID [720]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Chapter 5.2, Series Solutions Near an Ordinary Point, Part I. page 263
Problem number: 12.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.004 (sec). Leaf size: 34

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

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

Solution by Mathematica

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

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

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