Optimal. Leaf size=57 \[ -\frac{e^{-2 a-2 b x}}{16 b}+\frac{3 e^{2 a+2 b x}}{16 b}+\frac{e^{4 a+4 b x}}{32 b}+\frac{3 x}{8} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0367967, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {2282, 12, 266, 43} \[ -\frac{e^{-2 a-2 b x}}{16 b}+\frac{3 e^{2 a+2 b x}}{16 b}+\frac{e^{4 a+4 b x}}{32 b}+\frac{3 x}{8} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 12
Rule 266
Rule 43
Rubi steps
\begin{align*} \int e^{a+b x} \cosh ^3(a+b x) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (1+x^2\right )^3}{8 x^3} \, dx,x,e^{a+b x}\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\left (1+x^2\right )^3}{x^3} \, dx,x,e^{a+b x}\right )}{8 b}\\ &=\frac{\operatorname{Subst}\left (\int \frac{(1+x)^3}{x^2} \, dx,x,e^{2 a+2 b x}\right )}{16 b}\\ &=\frac{\operatorname{Subst}\left (\int \left (3+\frac{1}{x^2}+\frac{3}{x}+x\right ) \, dx,x,e^{2 a+2 b x}\right )}{16 b}\\ &=-\frac{e^{-2 a-2 b x}}{16 b}+\frac{3 e^{2 a+2 b x}}{16 b}+\frac{e^{4 a+4 b x}}{32 b}+\frac{3 x}{8}\\ \end{align*}
Mathematica [A] time = 0.0333287, size = 47, normalized size = 0.82 \[ \frac{-e^{-2 (a+b x)}+3 e^{2 (a+b x)}+\frac{1}{2} e^{4 (a+b x)}+6 b x}{16 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 67, normalized size = 1.2 \begin{align*}{\frac{1}{b} \left ({\frac{ \left ( \sinh \left ( bx+a \right ) \right ) ^{2} \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{4}}+{\frac{ \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{4}}+ \left ({\frac{ \left ( \cosh \left ( bx+a \right ) \right ) ^{3}}{4}}+{\frac{3\,\cosh \left ( bx+a \right ) }{8}} \right ) \sinh \left ( bx+a \right ) +{\frac{3\,bx}{8}}+{\frac{3\,a}{8}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01722, size = 72, normalized size = 1.26 \begin{align*} \frac{3 \,{\left (b x + a\right )}}{8 \, b} + \frac{e^{\left (4 \, b x + 4 \, a\right )}}{32 \, b} + \frac{3 \, e^{\left (2 \, b x + 2 \, a\right )}}{16 \, b} - \frac{e^{\left (-2 \, b x - 2 \, a\right )}}{16 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.68195, size = 263, normalized size = 4.61 \begin{align*} -\frac{\cosh \left (b x + a\right )^{3} + 3 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{2} - 3 \, \sinh \left (b x + a\right )^{3} - 6 \,{\left (2 \, b x + 1\right )} \cosh \left (b x + a\right ) + 3 \,{\left (4 \, b x - 3 \, \cosh \left (b x + a\right )^{2} - 2\right )} \sinh \left (b x + a\right )}{32 \,{\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 = 21.1572, size = 182, normalized size = 3.19 \begin{align*} \begin{cases} \frac{3 x e^{a} e^{b x} \sinh ^{3}{\left (a + b x \right )}}{8} - \frac{3 x e^{a} e^{b x} \sinh ^{2}{\left (a + b x \right )} \cosh{\left (a + b x \right )}}{8} - \frac{3 x e^{a} e^{b x} \sinh{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{8} + \frac{3 x e^{a} e^{b x} \cosh ^{3}{\left (a + b x \right )}}{8} - \frac{3 e^{a} e^{b x} \sinh ^{3}{\left (a + b x \right )}}{8 b} + \frac{3 e^{a} e^{b x} \sinh{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{4 b} - \frac{e^{a} e^{b x} \cosh ^{3}{\left (a + b x \right )}}{8 b} & \text{for}\: b \neq 0 \\x e^{a} \cosh ^{3}{\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.28948, size = 77, normalized size = 1.35 \begin{align*} \frac{12 \, b x - 2 \,{\left (3 \, e^{\left (2 \, b x + 2 \, a\right )} + 1\right )} e^{\left (-2 \, b x - 2 \, a\right )} + 12 \, a + e^{\left (4 \, b x + 4 \, a\right )} + 6 \, e^{\left (2 \, b x + 2 \, a\right )}}{32 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]