Optimal. Leaf size=74 \[ \frac{e^{2 c (a+b x)} \sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)}{4 b c}+\frac{1}{2} x \sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0993262, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16, Rules used = {6720, 2282, 12, 14} \[ \frac{e^{2 c (a+b x)} \sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)}{4 b c}+\frac{1}{2} x \sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6720
Rule 2282
Rule 12
Rule 14
Rubi steps
\begin{align*} \int e^{c (a+b x)} \sqrt{\cosh ^2(a c+b c x)} \, dx &=\left (\sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)\right ) \int e^{c (a+b x)} \cosh (a c+b c x) \, dx\\ &=\frac{\left (\sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)\right ) \operatorname{Subst}\left (\int \frac{1+x^2}{2 x} \, dx,x,e^{c (a+b x)}\right )}{b c}\\ &=\frac{\left (\sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)\right ) \operatorname{Subst}\left (\int \frac{1+x^2}{x} \, dx,x,e^{c (a+b x)}\right )}{2 b c}\\ &=\frac{\left (\sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)\right ) \operatorname{Subst}\left (\int \left (\frac{1}{x}+x\right ) \, dx,x,e^{c (a+b x)}\right )}{2 b c}\\ &=\frac{e^{2 c (a+b x)} \sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)}{4 b c}+\frac{1}{2} x \sqrt{\cosh ^2(a c+b c x)} \text{sech}(a c+b c x)\\ \end{align*}
Mathematica [A] time = 0.0383602, size = 48, normalized size = 0.65 \[ \frac{\left (e^{2 c (a+b x)}+2 b c x\right ) \sqrt{\cosh ^2(c (a+b x))} \text{sech}(c (a+b x))}{4 b c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 180., size = 0, normalized size = 0. \begin{align*} \int{{\rm e}^{c \left ( bx+a \right ) }}\sqrt{ \left ( \cosh \left ( bcx+ac \right ) \right ) ^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.15082, size = 39, normalized size = 0.53 \begin{align*} \frac{1}{2} \, x + \frac{a}{2 \, b} + \frac{e^{\left (2 \, b c x + 2 \, a c\right )}}{4 \, b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.72602, size = 163, normalized size = 2.2 \begin{align*} \frac{{\left (2 \, b c x + 1\right )} \cosh \left (b c x + a c\right ) -{\left (2 \, b c x - 1\right )} \sinh \left (b c x + a c\right )}{4 \,{\left (b c \cosh \left (b c x + a c\right ) - b c \sinh \left (b c x + a c\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2278, size = 31, normalized size = 0.42 \begin{align*} \frac{1}{2} \, x + \frac{e^{\left (2 \, b c x + 2 \, a c\right )}}{4 \, b c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]