Optimal. Leaf size=23 \[ \frac {e^{2 a+2 b x}}{4 b}+\frac {x}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 23, normalized size of antiderivative = 1.00, 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 12
Rule 14
Rule 2282
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.01, size = 23, normalized size = 1.00 \[ \frac {e^{2 a+2 b x}}{4 b}+\frac {x}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.63, size = 50, normalized size = 2.17 \[ \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 )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.11, size = 22, normalized size = 0.96 \[ \frac {2 \, b x + 2 \, a + e^{\left (2 \, b x + 2 \, a\right )}}{4 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 37, normalized size = 1.61 \[ \frac {\frac {\left (\cosh ^{2}\left (b x +a \right )\right )}{2}+\frac {\cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{2}+\frac {b x}{2}+\frac {a}{2}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 24, normalized size = 1.04 \[ \frac {1}{2} \, x + \frac {a}{2 \, b} + \frac {e^{\left (2 \, b x + 2 \, a\right )}}{4 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.92, size = 18, normalized size = 0.78 \[ \frac {x}{2}+\frac {{\mathrm {e}}^{2\,a+2\,b\,x}}{4\,b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.02, size = 63, normalized size = 2.74 \[ \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 )}}{2 b} & \text {for}\: b \neq 0 \\x e^{a} \cosh {\relax (a )} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________