Optimal. Leaf size=26 \[ -\frac {1}{28} e^{-7 x}-\frac {e^x}{2}+\frac {e^{9 x}}{36} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {2320, 12, 276}
\begin {gather*} -\frac {1}{28} e^{-7 x}-\frac {e^x}{2}+\frac {e^{9 x}}{36} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 276
Rule 2320
Rubi steps
\begin {align*} \int e^x \sinh ^2(4 x) \, dx &=\text {Subst}\left (\int \frac {\left (1-x^8\right )^2}{4 x^8} \, dx,x,e^x\right )\\ &=\frac {1}{4} \text {Subst}\left (\int \frac {\left (1-x^8\right )^2}{x^8} \, dx,x,e^x\right )\\ &=\frac {1}{4} \text {Subst}\left (\int \left (-2+\frac {1}{x^8}+x^8\right ) \, dx,x,e^x\right )\\ &=-\frac {1}{28} e^{-7 x}-\frac {e^x}{2}+\frac {e^{9 x}}{36}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 26, normalized size = 1.00 \begin {gather*} -\frac {1}{28} e^{-7 x}-\frac {e^x}{2}+\frac {e^{9 x}}{36} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.42, size = 34, normalized size = 1.31
method | result | size |
risch | \(\frac {{\mathrm e}^{9 x}}{36}-\frac {{\mathrm e}^{x}}{2}-\frac {{\mathrm e}^{-7 x}}{28}\) | \(18\) |
default | \(-\frac {\sinh \left (x \right )}{2}+\frac {\sinh \left (7 x \right )}{28}+\frac {\sinh \left (9 x \right )}{36}-\frac {\cosh \left (x \right )}{2}-\frac {\cosh \left (7 x \right )}{28}+\frac {\cosh \left (9 x \right )}{36}\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 17, normalized size = 0.65 \begin {gather*} \frac {1}{36} \, e^{\left (9 \, x\right )} - \frac {1}{28} \, e^{\left (-7 \, x\right )} - \frac {1}{2} \, e^{x} \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. 87 vs.
\(2 (17) = 34\).
time = 0.43, size = 87, normalized size = 3.35 \begin {gather*} -\frac {\cosh \left (x\right )^{8} - 64 \, \cosh \left (x\right )^{7} \sinh \left (x\right ) + 28 \, \cosh \left (x\right )^{6} \sinh \left (x\right )^{2} - 448 \, \cosh \left (x\right )^{5} \sinh \left (x\right )^{3} + 70 \, \cosh \left (x\right )^{4} \sinh \left (x\right )^{4} - 448 \, \cosh \left (x\right )^{3} \sinh \left (x\right )^{5} + 28 \, \cosh \left (x\right )^{2} \sinh \left (x\right )^{6} - 64 \, \cosh \left (x\right ) \sinh \left (x\right )^{7} + \sinh \left (x\right )^{8} + 63}{126 \, {\left (\cosh \left (x\right ) - \sinh \left (x\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. 42 vs.
\(2 (19) = 38\).
time = 0.17, size = 42, normalized size = 1.62 \begin {gather*} \frac {31 e^{x} \sinh ^{2}{\left (4 x \right )}}{63} + \frac {8 e^{x} \sinh {\left (4 x \right )} \cosh {\left (4 x \right )}}{63} - \frac {32 e^{x} \cosh ^{2}{\left (4 x \right )}}{63} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 17, normalized size = 0.65 \begin {gather*} \frac {1}{36} \, e^{\left (9 \, x\right )} - \frac {1}{28} \, e^{\left (-7 \, x\right )} - \frac {1}{2} \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 17, normalized size = 0.65 \begin {gather*} \frac {{\mathrm {e}}^{9\,x}}{36}-\frac {{\mathrm {e}}^{-7\,x}}{28}-\frac {{\mathrm {e}}^x}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________