80.12.9 problem 15

Internal problem ID [21442]
Book : A Textbook on Ordinary Differential Equations by Shair Ahmad and Antonio Ambrosetti. Second edition. ISBN 978-3-319-16407-6. Springer 2015
Section : Chapter 13. Boundary value problems. Excercise 13.5 at page 291
Problem number : 15
Date solved : Thursday, October 02, 2025 at 07:32:19 PM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_x_y1]]

\begin{align*} -x^{\prime \prime }+x&={\mathrm e}^{-x^{2}} \end{align*}

With initial conditions

\begin{align*} x \left (a \right )&=0 \\ x \left (b \right )&=0 \\ \end{align*}
Maple
ode:=-diff(diff(x(t),t),t)+x(t) = exp(-x(t)^2); 
ic:=[x(a) = 0, x(b) = 0]; 
dsolve([ode,op(ic)],x(t), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=-D[x[t],{t,2}]+x[t]==Exp[-x[t]^2]; 
ic={x[a]==0,x[b]==0}; 
DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
 

{}

Sympy
from sympy import * 
t = symbols("t") 
x = Function("x") 
ode = Eq(x(t) - Derivative(x(t), (t, 2)) - exp(-x(t)**2),0) 
ics = {x(a): 0, x(b): 0} 
dsolve(ode,func=x(t),ics=ics)
 
Timed Out