54.3.11 problem 1011

Internal problem ID [12306]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 2, linear second order
Problem number : 1011
Date solved : Wednesday, October 01, 2025 at 01:43:00 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} y^{\prime \prime }-\left (x^{2}+1\right ) y&=0 \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 17
ode:=diff(diff(y(x),x),x)-(x^2+1)*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{\frac {x^{2}}{2}} \left (c_2 \,\operatorname {erf}\left (x \right )+c_1 \right ) \]
Mathematica. Time used: 0.011 (sec). Leaf size: 33
ode=(-1 - x^2)*y[x] + D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to c_1 \operatorname {ParabolicCylinderD}\left (-1,\sqrt {2} x\right )+c_2 \operatorname {ParabolicCylinderD}\left (0,i \sqrt {2} x\right ) \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((-x**2 - 1)*y(x) + Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False