74.1.15 problem 22

Internal problem ID [15724]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number : 22
Date solved : Monday, March 31, 2025 at 01:46:10 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} x^{\prime \prime }+2 x^{\prime }-10 x&=0 \end{align*}

Maple. Time used: 0.001 (sec). Leaf size: 25
ode:=diff(diff(x(t),t),t)+2*diff(x(t),t)-10*x(t) = 0; 
dsolve(ode,x(t), singsol=all);
 
\[ x = \left (c_1 \,{\mathrm e}^{2 t \sqrt {11}}+c_2 \right ) {\mathrm e}^{-\left (1+\sqrt {11}\right ) t} \]
Mathematica. Time used: 0.02 (sec). Leaf size: 34
ode=D[x[t],{t,2}]+2*D[x[t],t]-10*x[t]==0; 
ic={}; 
DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
 
\[ x(t)\to e^{-\left (\left (1+\sqrt {11}\right ) t\right )} \left (c_2 e^{2 \sqrt {11} t}+c_1\right ) \]
Sympy. Time used: 0.181 (sec). Leaf size: 26
from sympy import * 
t = symbols("t") 
x = Function("x") 
ode = Eq(-10*x(t) + 2*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) 
ics = {} 
dsolve(ode,func=x(t),ics=ics)
 
\[ x{\left (t \right )} = C_{1} e^{t \left (-1 + \sqrt {11}\right )} + C_{2} e^{- t \left (1 + \sqrt {11}\right )} \]