4.5 problem 5

Internal problem ID [4640]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 25. Second order differential equations. Further problems 25. page 1094
Problem number: 5.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }+y^{\prime }-2 y-2 \cosh \left (2 x \right )=0} \end {gather*}

Solution by Maple

Time used: 0.0 (sec). Leaf size: 32

dsolve(diff(y(x),x$2)+diff(y(x),x)-2*y(x)=2*cosh(2*x),y(x), singsol=all)
 

\[ y \relax (x ) = c_{2} {\mathrm e}^{x}+{\mathrm e}^{-2 x} c_{1}+\frac {\left (-12 x -7\right ) {\mathrm e}^{-2 x}}{36}+\frac {{\mathrm e}^{2 x}}{4} \]

Solution by Mathematica

Time used: 0.037 (sec). Leaf size: 38

DSolve[y''[x]+y'[x]-2*y[x]==2*Cosh[2*x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {e^{2 x}}{4}+e^{-2 x} \left (-\frac {x}{3}-\frac {1}{9}+c_1\right )+c_2 e^x \\ \end{align*}