Optimal. Leaf size=54 \[ \frac{b e^{c+d x} \sinh (a+b x)}{b^2-d^2}-\frac{d e^{c+d x} \cosh (a+b x)}{b^2-d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0168503, antiderivative size = 54, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {5475} \[ \frac{b e^{c+d x} \sinh (a+b x)}{b^2-d^2}-\frac{d e^{c+d x} \cosh (a+b x)}{b^2-d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5475
Rubi steps
\begin{align*} \int e^{c+d x} \cosh (a+b x) \, dx &=-\frac{d e^{c+d x} \cosh (a+b x)}{b^2-d^2}+\frac{b e^{c+d x} \sinh (a+b x)}{b^2-d^2}\\ \end{align*}
Mathematica [A] time = 0.030573, size = 38, normalized size = 0.7 \[ \frac{e^{c+d x} (b \sinh (a+b x)-d \cosh (a+b x))}{(b-d) (b+d)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 78, normalized size = 1.4 \begin{align*}{\frac{\sinh \left ( a-c+ \left ( b-d \right ) x \right ) }{2\,b-2\,d}}+{\frac{\sinh \left ( a+c+ \left ( b+d \right ) x \right ) }{2\,b+2\,d}}-{\frac{\cosh \left ( a-c+ \left ( b-d \right ) x \right ) }{2\,b-2\,d}}+{\frac{\cosh \left ( a+c+ \left ( b+d \right ) x \right ) }{2\,b+2\,d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.84209, size = 240, normalized size = 4.44 \begin{align*} -\frac{d \cosh \left (b x + a\right ) \cosh \left (d x + c\right ) - b \cosh \left (d x + c\right ) \sinh \left (b x + a\right ) +{\left (d \cosh \left (b x + a\right ) - b \sinh \left (b x + a\right )\right )} \sinh \left (d x + c\right )}{{\left (b^{2} - d^{2}\right )} \cosh \left (b x + a\right )^{2} -{\left (b^{2} - d^{2}\right )} \sinh \left (b x + a\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 4.72467, size = 201, normalized size = 3.72 \begin{align*} \begin{cases} x e^{c} \cosh{\left (a \right )} & \text{for}\: b = 0 \wedge d = 0 \\\frac{x e^{c} e^{d x} \sinh{\left (a - d x \right )}}{2} + \frac{x e^{c} e^{d x} \cosh{\left (a - d x \right )}}{2} - \frac{e^{c} e^{d x} \sinh{\left (a - d x \right )}}{d} - \frac{e^{c} e^{d x} \cosh{\left (a - d x \right )}}{2 d} & \text{for}\: b = - d \\- \frac{x e^{c} e^{d x} \sinh{\left (a + d x \right )}}{2} + \frac{x e^{c} e^{d x} \cosh{\left (a + d x \right )}}{2} + \frac{e^{c} e^{d x} \sinh{\left (a + d x \right )}}{d} - \frac{e^{c} e^{d x} \cosh{\left (a + d x \right )}}{2 d} & \text{for}\: b = d \\\frac{b e^{c} e^{d x} \sinh{\left (a + b x \right )}}{b^{2} - d^{2}} - \frac{d e^{c} e^{d x} \cosh{\left (a + b x \right )}}{b^{2} - d^{2}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.27937, size = 54, normalized size = 1. \begin{align*} \frac{e^{\left (b x + d x + a + c\right )}}{2 \,{\left (b + d\right )}} - \frac{e^{\left (-b x + d x - a + c\right )}}{2 \,{\left (b - d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]