26.5 problem 5

Internal problem ID [10829]

Book: Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section: Chapter 2, Second-Order Differential Equations. section 2.1.2 Equations Containing Power Functions. page 213
Problem number: 5.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }+a^{3} x \left (-a x +2\right ) y=0} \]

Solution by Maple

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

dsolve(diff(y(x),x$2)+a^3*x*(2-a*x)*y(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = {\mathrm e}^{-\frac {a x \left (a x -2\right )}{2}} \left (c_{1} +\operatorname {erf}\left (i a x -i\right ) c_{2} \right ) \]

Solution by Mathematica

Time used: 0.28 (sec). Leaf size: 50

DSolve[y''[x]+a^3*x*(2-a*x)*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {e^{-\frac {1}{2} a x (a x-2)-1} \left (2 e a c_1-\sqrt {\pi } c_2 \text {erfi}(1-a x)\right )}{2 a} \]