1.5 problem 3.6 (d)

Internal problem ID [4731]

Book: Advanced Mathemtical Methods for Scientists and Engineers, Bender and Orszag. Springer October 29, 1999
Section: Chapter 3. APPROXIMATE SOLUTION OF LINEAR DIFFERENTIAL EQUATIONS. page 136
Problem number: 3.6 (d).
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }-\left (x -1\right ) y=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 1, y^{\prime }\relax (0) = 0] \end {align*}

With the expansion point for the power series method at \(x = 0\).

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(x)\to -\frac {x^5}{30}+\frac {x^4}{24}+\frac {x^3}{6}-\frac {x^2}{2}+1 \]