63.3.7 problem 6

Internal problem ID [12963]
Book : A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag, NY. 2015.
Section : Chapter 1, First order differential equations. Section 1.2 Antiderivatives. Exercises page 19
Problem number : 6
Date solved : Wednesday, March 05, 2025 at 08:55:00 PM
CAS classification : [_quadrature]

\begin{align*} x^{\prime }&=\frac {{\mathrm e}^{-t}}{\sqrt {t}} \end{align*}

With initial conditions

\begin{align*} x \left (1\right )&=0 \end{align*}

Maple. Time used: 0.069 (sec). Leaf size: 17
ode:=diff(x(t),t) = exp(-t)/t^(1/2); 
ic:=x(1) = 0; 
dsolve([ode,ic],x(t), singsol=all);
 
\[ x \left (t \right ) = \left (\operatorname {erf}\left (\sqrt {t}\right )-\operatorname {erf}\left (1\right )\right ) \sqrt {\pi } \]
Mathematica. Time used: 0.008 (sec). Leaf size: 22
ode=D[x[t],t]==Exp[-t]/Sqrt[t]; 
ic={x[1]==0}; 
DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
 
\[ x(t)\to \sqrt {\pi } \left (\text {erf}\left (\sqrt {t}\right )-\text {erf}(1)\right ) \]
Sympy. Time used: 0.435 (sec). Leaf size: 22
from sympy import * 
t = symbols("t") 
x = Function("x") 
ode = Eq(Derivative(x(t), t) - exp(-t)/sqrt(t),0) 
ics = {x(1): 0} 
dsolve(ode,func=x(t),ics=ics)
 
\[ x{\left (t \right )} = \sqrt {\pi } \operatorname {erf}{\left (\sqrt {t} \right )} - \sqrt {\pi } \operatorname {erf}{\left (1 \right )} \]