3.10.15 \(\int e^{a+b x} \cosh ^3(a+b x) \sinh (a+b x) \, dx\) [915]

Optimal. Leaf size=69 \[ \frac {e^{-3 a-3 b x}}{48 b}+\frac {e^{-a-b x}}{8 b}+\frac {e^{3 a+3 b x}}{24 b}+\frac {e^{5 a+5 b x}}{80 b} \]

[Out]

1/48*exp(-3*b*x-3*a)/b+1/8*exp(-b*x-a)/b+1/24*exp(3*b*x+3*a)/b+1/80*exp(5*b*x+5*a)/b

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {2320, 12, 459} \begin {gather*} \frac {e^{-3 a-3 b x}}{48 b}+\frac {e^{-a-b x}}{8 b}+\frac {e^{3 a+3 b x}}{24 b}+\frac {e^{5 a+5 b x}}{80 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[E^(a + b*x)*Cosh[a + b*x]^3*Sinh[a + b*x],x]

[Out]

E^(-3*a - 3*b*x)/(48*b) + E^(-a - b*x)/(8*b) + E^(3*a + 3*b*x)/(24*b) + E^(5*a + 5*b*x)/(80*b)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 459

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Int[ExpandI
ntegrand[(e*x)^m*(a + b*x^n)^p*(c + d*x^n)^q, x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && NeQ[b*c - a*d, 0] &
& IGtQ[p, 0] && IGtQ[q, 0]

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rubi steps

\begin {align*} \int e^{a+b x} \cosh ^3(a+b x) \sinh (a+b x) \, dx &=\frac {\text {Subst}\left (\int \frac {\left (-1+x^2\right ) \left (1+x^2\right )^3}{16 x^4} \, dx,x,e^{a+b x}\right )}{b}\\ &=\frac {\text {Subst}\left (\int \frac {\left (-1+x^2\right ) \left (1+x^2\right )^3}{x^4} \, dx,x,e^{a+b x}\right )}{16 b}\\ &=\frac {\text {Subst}\left (\int \left (-\frac {1}{x^4}-\frac {2}{x^2}+2 x^2+x^4\right ) \, dx,x,e^{a+b x}\right )}{16 b}\\ &=\frac {e^{-3 a-3 b x}}{48 b}+\frac {e^{-a-b x}}{8 b}+\frac {e^{3 a+3 b x}}{24 b}+\frac {e^{5 a+5 b x}}{80 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.04, size = 51, normalized size = 0.74 \begin {gather*} \frac {e^{-3 (a+b x)} \left (5+30 e^{2 (a+b x)}+10 e^{6 (a+b x)}+3 e^{8 (a+b x)}\right )}{240 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[E^(a + b*x)*Cosh[a + b*x]^3*Sinh[a + b*x],x]

[Out]

(5 + 30*E^(2*(a + b*x)) + 10*E^(6*(a + b*x)) + 3*E^(8*(a + b*x)))/(240*b*E^(3*(a + b*x)))

________________________________________________________________________________________

Maple [A]
time = 1.19, size = 80, normalized size = 1.16

method result size
risch \(\frac {{\mathrm e}^{-3 b x -3 a}}{48 b}+\frac {{\mathrm e}^{-b x -a}}{8 b}+\frac {{\mathrm e}^{3 b x +3 a}}{24 b}+\frac {{\mathrm e}^{5 b x +5 a}}{80 b}\) \(58\)
default \(-\frac {\sinh \left (b x +a \right )}{8 b}+\frac {\sinh \left (3 b x +3 a \right )}{48 b}+\frac {\sinh \left (5 b x +5 a \right )}{80 b}+\frac {\cosh \left (b x +a \right )}{8 b}+\frac {\cosh \left (3 b x +3 a \right )}{16 b}+\frac {\cosh \left (5 b x +5 a \right )}{80 b}\) \(80\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(b*x+a)*cosh(b*x+a)^3*sinh(b*x+a),x,method=_RETURNVERBOSE)

[Out]

-1/8*sinh(b*x+a)/b+1/48/b*sinh(3*b*x+3*a)+1/80/b*sinh(5*b*x+5*a)+1/8*cosh(b*x+a)/b+1/16*cosh(3*b*x+3*a)/b+1/80
*cosh(5*b*x+5*a)/b

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 56, normalized size = 0.81 \begin {gather*} \frac {{\left (6 \, e^{\left (2 \, b x + 2 \, a\right )} + 1\right )} e^{\left (-3 \, b x - 3 \, a\right )}}{48 \, b} + \frac {3 \, e^{\left (5 \, b x + 5 \, a\right )} + 10 \, e^{\left (3 \, b x + 3 \, a\right )}}{240 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*cosh(b*x+a)^3*sinh(b*x+a),x, algorithm="maxima")

[Out]

1/48*(6*e^(2*b*x + 2*a) + 1)*e^(-3*b*x - 3*a)/b + 1/240*(3*e^(5*b*x + 5*a) + 10*e^(3*b*x + 3*a))/b

________________________________________________________________________________________

Fricas [A]
time = 0.35, size = 111, normalized size = 1.61 \begin {gather*} \frac {\cosh \left (b x + a\right )^{4} - \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + \sinh \left (b x + a\right )^{4} + {\left (6 \, \cosh \left (b x + a\right )^{2} + 5\right )} \sinh \left (b x + a\right )^{2} + 5 \, \cosh \left (b x + a\right )^{2} - {\left (\cosh \left (b x + a\right )^{3} + 5 \, \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )}{30 \, {\left (b \cosh \left (b x + a\right ) - b \sinh \left (b x + a\right )\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*cosh(b*x+a)^3*sinh(b*x+a),x, algorithm="fricas")

[Out]

1/30*(cosh(b*x + a)^4 - cosh(b*x + a)*sinh(b*x + a)^3 + sinh(b*x + a)^4 + (6*cosh(b*x + a)^2 + 5)*sinh(b*x + a
)^2 + 5*cosh(b*x + a)^2 - (cosh(b*x + a)^3 + 5*cosh(b*x + a))*sinh(b*x + a))/(b*cosh(b*x + a) - b*sinh(b*x + a
))

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 139 vs. \(2 (53) = 106\).
time = 3.61, size = 139, normalized size = 2.01 \begin {gather*} \begin {cases} - \frac {2 e^{a} e^{b x} \sinh ^{4}{\left (a + b x \right )}}{15 b} + \frac {2 e^{a} e^{b x} \sinh ^{3}{\left (a + b x \right )} \cosh {\left (a + b x \right )}}{15 b} + \frac {e^{a} e^{b x} \sinh ^{2}{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{5 b} - \frac {e^{a} e^{b x} \sinh {\left (a + b x \right )} \cosh ^{3}{\left (a + b x \right )}}{5 b} + \frac {e^{a} e^{b x} \cosh ^{4}{\left (a + b x \right )}}{5 b} & \text {for}\: b \neq 0 \\x e^{a} \sinh {\left (a \right )} \cosh ^{3}{\left (a \right )} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*cosh(b*x+a)**3*sinh(b*x+a),x)

[Out]

Piecewise((-2*exp(a)*exp(b*x)*sinh(a + b*x)**4/(15*b) + 2*exp(a)*exp(b*x)*sinh(a + b*x)**3*cosh(a + b*x)/(15*b
) + exp(a)*exp(b*x)*sinh(a + b*x)**2*cosh(a + b*x)**2/(5*b) - exp(a)*exp(b*x)*sinh(a + b*x)*cosh(a + b*x)**3/(
5*b) + exp(a)*exp(b*x)*cosh(a + b*x)**4/(5*b), Ne(b, 0)), (x*exp(a)*sinh(a)*cosh(a)**3, True))

________________________________________________________________________________________

Giac [A]
time = 0.41, size = 52, normalized size = 0.75 \begin {gather*} \frac {5 \, {\left (6 \, e^{\left (2 \, b x + 2 \, a\right )} + 1\right )} e^{\left (-3 \, b x - 3 \, a\right )} + 3 \, e^{\left (5 \, b x + 5 \, a\right )} + 10 \, e^{\left (3 \, b x + 3 \, a\right )}}{240 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*cosh(b*x+a)^3*sinh(b*x+a),x, algorithm="giac")

[Out]

1/240*(5*(6*e^(2*b*x + 2*a) + 1)*e^(-3*b*x - 3*a) + 3*e^(5*b*x + 5*a) + 10*e^(3*b*x + 3*a))/b

________________________________________________________________________________________

Mupad [B]
time = 0.52, size = 50, normalized size = 0.72 \begin {gather*} \frac {30\,{\mathrm {e}}^{-a-b\,x}+5\,{\mathrm {e}}^{-3\,a-3\,b\,x}+10\,{\mathrm {e}}^{3\,a+3\,b\,x}+3\,{\mathrm {e}}^{5\,a+5\,b\,x}}{240\,b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(a + b*x)^3*exp(a + b*x)*sinh(a + b*x),x)

[Out]

(30*exp(- a - b*x) + 5*exp(- 3*a - 3*b*x) + 10*exp(3*a + 3*b*x) + 3*exp(5*a + 5*b*x))/(240*b)

________________________________________________________________________________________