Optimal. Leaf size=23 \[ \frac{e^{2 a+2 b x}}{4 b}+\frac{x}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0151755, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {2282, 12, 14} \[ \frac{e^{2 a+2 b x}}{4 b}+\frac{x}{2} \]
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) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1+x^2}{2 x} \, dx,x,e^{a+b x}\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1+x^2}{x} \, dx,x,e^{a+b x}\right )}{2 b}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{1}{x}+x\right ) \, dx,x,e^{a+b x}\right )}{2 b}\\ &=\frac{e^{2 a+2 b x}}{4 b}+\frac{x}{2}\\ \end{align*}
Mathematica [A] time = 0.0111907, size = 23, normalized size = 1. \[ \frac{e^{2 a+2 b x}}{4 b}+\frac{x}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 37, normalized size = 1.6 \begin{align*}{\frac{1}{b} \left ({\frac{ \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{2}}+{\frac{\cosh \left ( bx+a \right ) \sinh \left ( bx+a \right ) }{2}}+{\frac{bx}{2}}+{\frac{a}{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.11335, size = 32, normalized size = 1.39 \begin{align*} \frac{1}{2} \, x + \frac{a}{2 \, b} + \frac{e^{\left (2 \, b x + 2 \, a\right )}}{4 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.79648, size = 131, normalized size = 5.7 \begin{align*} \frac{{\left (2 \, b x + 1\right )} \cosh \left (b x + a\right ) -{\left (2 \, b x - 1\right )} \sinh \left (b x + a\right )}{4 \,{\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 = 1.25577, size = 80, normalized size = 3.48 \begin{align*} \begin{cases} - \frac{x e^{a} e^{b x} \sinh{\left (a + b x \right )}}{2} + \frac{x e^{a} e^{b x} \cosh{\left (a + b x \right )}}{2} + \frac{e^{a} e^{b x} \sinh{\left (a + b x \right )}}{b} - \frac{e^{a} e^{b x} \cosh{\left (a + b x \right )}}{2 b} & \text{for}\: b \neq 0 \\x e^{a} \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.19928, size = 30, normalized size = 1.3 \begin{align*} \frac{2 \, b x + 2 \, a + e^{\left (2 \, b x + 2 \, a\right )}}{4 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]