18.22 problem 28

Internal problem ID [14849]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 4. Higher Order Equations. Chapter 4 review exercises, page 219
Problem number: 28.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {y^{\prime \prime }-9 y=\frac {1}{1+{\mathrm e}^{3 t}}} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 69

dsolve(diff(y(t),t$2)-9*y(t)=1/(1+exp(3*t)),y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {\left (\ln \left ({\mathrm e}^{2 t}-{\mathrm e}^{t}+1\right ) {\mathrm e}^{6 t}-\ln \left (1+{\mathrm e}^{3 t}\right )+\ln \left (1+{\mathrm e}^{t}\right ) {\mathrm e}^{6 t}+\left (18 c_{1} -3 \ln \left ({\mathrm e}^{t}\right )\right ) {\mathrm e}^{6 t}+18 c_{2} -{\mathrm e}^{3 t}\right ) {\mathrm e}^{-3 t}}{18} \]

Solution by Mathematica

Time used: 0.181 (sec). Leaf size: 94

DSolve[y''[t]-9*y[t]==1/(1+Exp[3*t]),y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {1}{18} e^{-3 t} \left (-e^{3 t}-3 e^{6 t} \log \left (e^t\right )+\left (e^{6 t}-1\right ) \log \left (e^t+1\right )+e^{6 t} \log \left (-e^t+e^{2 t}+1\right )-\log \left (-e^t+e^{2 t}+1\right )+18 c_1 e^{6 t}+18 c_2\right ) \]