Optimal. Leaf size=32 \[ -\frac {e^{a+b x}}{2 b}+\frac {e^{3 a+3 b x}}{6 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2320, 12}
\begin {gather*} \frac {e^{3 a+3 b x}}{6 b}-\frac {e^{a+b x}}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2320
Rubi steps
\begin {align*} \int e^{2 (a+b x)} \sinh (a+b x) \, dx &=\frac {\text {Subst}\left (\int \frac {1}{2} \left (-1+x^2\right ) \, dx,x,e^{a+b x}\right )}{b}\\ &=\frac {\text {Subst}\left (\int \left (-1+x^2\right ) \, dx,x,e^{a+b x}\right )}{2 b}\\ &=-\frac {e^{a+b x}}{2 b}+\frac {e^{3 a+3 b x}}{6 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 25, normalized size = 0.78 \begin {gather*} \frac {e^{a+b x} \left (-3+e^{2 (a+b x)}\right )}{6 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.55, size = 52, normalized size = 1.62
method | result | size |
risch | \(-\frac {{\mathrm e}^{b x +a}}{2 b}+\frac {{\mathrm e}^{3 b x +3 a}}{6 b}\) | \(27\) |
default | \(-\frac {\sinh \left (b x +a \right )}{2 b}+\frac {\sinh \left (3 b x +3 a \right )}{6 b}-\frac {\cosh \left (b x +a \right )}{2 b}+\frac {\cosh \left (3 b x +3 a \right )}{6 b}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 26, normalized size = 0.81 \begin {gather*} \frac {e^{\left (3 \, b x + 3 \, a\right )}}{6 \, b} - \frac {e^{\left (b x + a\right )}}{2 \, 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. 54 vs.
\(2 (26) = 52\).
time = 0.33, size = 54, normalized size = 1.69 \begin {gather*} \frac {\cosh \left (b x + a\right )^{2} + 2 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + \sinh \left (b x + a\right )^{2} - 3}{6 \, {\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. 54 vs.
\(2 (22) = 44\).
time = 0.22, size = 54, normalized size = 1.69 \begin {gather*} \begin {cases} \frac {2 e^{2 a} e^{2 b x} \sinh {\left (a + b x \right )}}{3 b} - \frac {e^{2 a} e^{2 b x} \cosh {\left (a + b x \right )}}{3 b} & \text {for}\: b \neq 0 \\x e^{2 a} \sinh {\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 = 26, normalized size = 0.81 \begin {gather*} \frac {e^{\left (3 \, b x + 3 \, a\right )}}{6 \, b} - \frac {e^{\left (b x + a\right )}}{2 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 25, normalized size = 0.78 \begin {gather*} -\frac {3\,{\mathrm {e}}^{a+b\,x}-{\mathrm {e}}^{3\,a+3\,b\,x}}{6\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________