Optimal. Leaf size=35 \[ \frac{e^{-a-b x}}{4 b}+\frac{e^{3 a+3 b x}}{12 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0267362, antiderivative size = 35, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, 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]
[Out]
Rule 2282
Rule 12
Rule 14
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.0098237, size = 28, normalized size = 0.8 \[ \frac{e^{-a-b x} \left (e^{4 (a+b x)}+3\right )}{12 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 54, normalized size = 1.5 \begin{align*}{\frac{1}{b} \left ({\frac{\sinh \left ( bx+a \right ) \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{3}}-{\frac{\sinh \left ( bx+a \right ) }{3}}+{\frac{\cosh \left ( bx+a \right ) \left ( \sinh \left ( bx+a \right ) \right ) ^{2}}{3}}+{\frac{\cosh \left ( bx+a \right ) }{3}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01073, size = 39, normalized size = 1.11 \begin{align*} \frac{e^{\left (3 \, b x + 3 \, a\right )}}{12 \, b} + \frac{e^{\left (-b x - a\right )}}{4 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.45966, size = 144, normalized size = 4.11 \begin{align*} \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 )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 8.2502, size = 76, normalized size = 2.17 \begin{align*} \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{\left (a \right )} \cosh{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12734, size = 35, normalized size = 1. \begin{align*} \frac{e^{\left (3 \, b x + 3 \, a\right )} + 3 \, e^{\left (-b x - a\right )}}{12 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]