3.903 \(\int e^{a+b x} \cosh (a+b x) \sinh (a+b x) \, dx\)

Optimal. Leaf size=35 \[ \frac {e^{-a-b x}}{4 b}+\frac {e^{3 a+3 b x}}{12 b} \]

[Out]

1/4*exp(-b*x-a)/b+1/12*exp(3*b*x+3*a)/b

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {2282, 12, 14} \[ \frac {e^{-a-b x}}{4 b}+\frac {e^{3 a+3 b x}}{12 b} \]

Antiderivative was successfully verified.

[In]

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

[Out]

E^(-a - b*x)/(4*b) + E^(3*a + 3*b*x)/(12*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 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2282

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 (a+b x) \sinh (a+b x) \, dx &=\frac {\operatorname {Subst}\left (\int \frac {-1+x^4}{4 x^2} \, dx,x,e^{a+b x}\right )}{b}\\ &=\frac {\operatorname {Subst}\left (\int \frac {-1+x^4}{x^2} \, dx,x,e^{a+b x}\right )}{4 b}\\ &=\frac {\operatorname {Subst}\left (\int \left (-\frac {1}{x^2}+x^2\right ) \, dx,x,e^{a+b x}\right )}{4 b}\\ &=\frac {e^{-a-b x}}{4 b}+\frac {e^{3 a+3 b x}}{12 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 28, normalized size = 0.80 \[ \frac {e^{-a-b x} \left (e^{4 (a+b x)}+3\right )}{12 b} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(E^(-a - b*x)*(3 + E^(4*(a + b*x))))/(12*b)

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 53, normalized size = 1.51 \[ \frac {\cosh \left (b x + a\right )^{2} - \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + \sinh \left (b x + a\right )^{2}}{3 \, {\left (b \cosh \left (b x + a\right ) - b \sinh \left (b x + a\right )\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*(cosh(b*x + a)^2 - cosh(b*x + a)*sinh(b*x + a) + sinh(b*x + a)^2)/(b*cosh(b*x + a) - b*sinh(b*x + a))

________________________________________________________________________________________

giac [A]  time = 0.11, size = 26, normalized size = 0.74 \[ \frac {e^{\left (3 \, b x + 3 \, a\right )} + 3 \, e^{\left (-b x - a\right )}}{12 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/12*(e^(3*b*x + 3*a) + 3*e^(-b*x - a))/b

________________________________________________________________________________________

maple [A]  time = 0.03, size = 26, normalized size = 0.74 \[ \frac {\frac {\left (\sinh ^{3}\left (b x +a \right )\right )}{3}+\frac {\left (\cosh ^{3}\left (b x +a \right )\right )}{3}}{b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/b*(1/3*sinh(b*x+a)^3+1/3*cosh(b*x+a)^3)

________________________________________________________________________________________

maxima [A]  time = 0.34, size = 29, normalized size = 0.83 \[ \frac {e^{\left (3 \, b x + 3 \, a\right )}}{12 \, b} + \frac {e^{\left (-b x - a\right )}}{4 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/12*e^(3*b*x + 3*a)/b + 1/4*e^(-b*x - a)/b

________________________________________________________________________________________

mupad [B]  time = 1.75, size = 26, normalized size = 0.74 \[ \frac {3\,{\mathrm {e}}^{-a-b\,x}+{\mathrm {e}}^{3\,a+3\,b\,x}}{12\,b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(3*exp(- a - b*x) + exp(3*a + 3*b*x))/(12*b)

________________________________________________________________________________________

sympy [A]  time = 4.99, size = 76, normalized size = 2.17 \[ \begin {cases} \frac {e^{a} e^{b x} \sinh ^{2}{\left (a + b x \right )}}{3 b} - \frac {e^{a} e^{b x} \sinh {\left (a + b x \right )} \cosh {\left (a + b x \right )}}{3 b} + \frac {e^{a} e^{b x} \cosh ^{2}{\left (a + b x \right )}}{3 b} & \text {for}\: b \neq 0 \\x e^{a} \sinh {\relax (a )} \cosh {\relax (a )} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________