Optimal. Leaf size=69 \[ \frac {e^{-5 a-5 b x}}{320 b}-\frac {3 e^{-a-b x}}{64 b}-\frac {e^{3 a+3 b x}}{64 b}+\frac {e^{7 a+7 b x}}{448 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2320, 12, 276}
\begin {gather*} \frac {e^{-5 a-5 b x}}{320 b}-\frac {3 e^{-a-b x}}{64 b}-\frac {e^{3 a+3 b x}}{64 b}+\frac {e^{7 a+7 b x}}{448 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 276
Rule 2320
Rubi steps
\begin {align*} \int e^{a+b x} \cosh ^3(a+b x) \sinh ^3(a+b x) \, dx &=\frac {\text {Subst}\left (\int \frac {\left (-1+x^4\right )^3}{64 x^6} \, dx,x,e^{a+b x}\right )}{b}\\ &=\frac {\text {Subst}\left (\int \frac {\left (-1+x^4\right )^3}{x^6} \, dx,x,e^{a+b x}\right )}{64 b}\\ &=\frac {\text {Subst}\left (\int \left (-\frac {1}{x^6}+\frac {3}{x^2}-3 x^2+x^6\right ) \, dx,x,e^{a+b x}\right )}{64 b}\\ &=\frac {e^{-5 a-5 b x}}{320 b}-\frac {3 e^{-a-b x}}{64 b}-\frac {e^{3 a+3 b x}}{64 b}+\frac {e^{7 a+7 b x}}{448 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 51, normalized size = 0.74 \begin {gather*} \frac {e^{-5 (a+b x)} \left (7-105 e^{4 (a+b x)}-35 e^{8 (a+b x)}+5 e^{12 (a+b x)}\right )}{2240 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.80, size = 108, normalized size = 1.57
method | result | size |
risch | \(\frac {{\mathrm e}^{-5 b x -5 a}}{320 b}-\frac {3 \,{\mathrm e}^{-b x -a}}{64 b}-\frac {{\mathrm e}^{3 b x +3 a}}{64 b}+\frac {{\mathrm e}^{7 b x +7 a}}{448 b}\) | \(58\) |
default | \(\frac {3 \sinh \left (b x +a \right )}{64 b}-\frac {\sinh \left (3 b x +3 a \right )}{64 b}-\frac {\sinh \left (5 b x +5 a \right )}{320 b}+\frac {\sinh \left (7 b x +7 a \right )}{448 b}-\frac {3 \cosh \left (b x +a \right )}{64 b}-\frac {\cosh \left (3 b x +3 a \right )}{64 b}+\frac {\cosh \left (5 b x +5 a \right )}{320 b}+\frac {\cosh \left (7 b x +7 a \right )}{448 b}\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 54, normalized size = 0.78 \begin {gather*} -\frac {{\left (15 \, e^{\left (4 \, b x + 4 \, a\right )} - 1\right )} e^{\left (-5 \, b x - 5 \, a\right )}}{320 \, b} + \frac {e^{\left (7 \, b x + 7 \, a\right )} - 7 \, e^{\left (3 \, b x + 3 \, a\right )}}{448 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 154 vs.
\(2 (57) = 114\).
time = 0.33, size = 154, normalized size = 2.23 \begin {gather*} \frac {3 \, \cosh \left (b x + a\right )^{6} - 10 \, \cosh \left (b x + a\right )^{3} \sinh \left (b x + a\right )^{3} + 45 \, \cosh \left (b x + a\right )^{2} \sinh \left (b x + a\right )^{4} - 3 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{5} + 3 \, \sinh \left (b x + a\right )^{6} + 5 \, {\left (9 \, \cosh \left (b x + a\right )^{4} - 7\right )} \sinh \left (b x + a\right )^{2} - 35 \, \cosh \left (b x + a\right )^{2} - {\left (3 \, \cosh \left (b x + a\right )^{5} - 35 \, \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )}{560 \, {\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]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 202 vs.
\(2 (54) = 108\).
time = 18.10, size = 202, normalized size = 2.93 \begin {gather*} \begin {cases} - \frac {2 e^{a} e^{b x} \sinh ^{6}{\left (a + b x \right )}}{35 b} + \frac {2 e^{a} e^{b x} \sinh ^{5}{\left (a + b x \right )} \cosh {\left (a + b x \right )}}{35 b} + \frac {e^{a} e^{b x} \sinh ^{4}{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{7 b} - \frac {e^{a} e^{b x} \sinh ^{3}{\left (a + b x \right )} \cosh ^{3}{\left (a + b x \right )}}{7 b} + \frac {e^{a} e^{b x} \sinh ^{2}{\left (a + b x \right )} \cosh ^{4}{\left (a + b x \right )}}{7 b} + \frac {2 e^{a} e^{b x} \sinh {\left (a + b x \right )} \cosh ^{5}{\left (a + b x \right )}}{35 b} - \frac {2 e^{a} e^{b x} \cosh ^{6}{\left (a + b x \right )}}{35 b} & \text {for}\: b \neq 0 \\x e^{a} \sinh ^{3}{\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]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 52, normalized size = 0.75 \begin {gather*} -\frac {7 \, {\left (15 \, e^{\left (4 \, b x + 4 \, a\right )} - 1\right )} e^{\left (-5 \, b x - 5 \, a\right )} - 5 \, e^{\left (7 \, b x + 7 \, a\right )} + 35 \, e^{\left (3 \, b x + 3 \, a\right )}}{2240 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.10, size = 50, normalized size = 0.72 \begin {gather*} -\frac {105\,{\mathrm {e}}^{-a-b\,x}+35\,{\mathrm {e}}^{3\,a+3\,b\,x}-7\,{\mathrm {e}}^{-5\,a-5\,b\,x}-5\,{\mathrm {e}}^{7\,a+7\,b\,x}}{2240\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________