Optimal. Leaf size=54 \[ \frac {b e^{a+b x} \cosh (c+d x)}{b^2-d^2}-\frac {d e^{a+b x} \sinh (c+d x)}{b^2-d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 54, normalized size of antiderivative = 1.00, 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 = {5583}
\begin {gather*} \frac {b e^{a+b x} \cosh (c+d x)}{b^2-d^2}-\frac {d e^{a+b x} \sinh (c+d x)}{b^2-d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 5583
Rubi steps
\begin {align*} \int e^{a+b x} \cosh (c+d x) \, dx &=\frac {b e^{a+b x} \cosh (c+d x)}{b^2-d^2}-\frac {d e^{a+b x} \sinh (c+d x)}{b^2-d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 38, normalized size = 0.70 \begin {gather*} \frac {e^{a+b x} (b \cosh (c+d x)-d \sinh (c+d x))}{(b-d) (b+d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.82, size = 78, normalized size = 1.44
method | result | size |
risch | \(\frac {{\mathrm e}^{b x +d x +a +c}}{2 b +2 d}+\frac {{\mathrm e}^{b x -d x +a -c}}{2 b -2 d}\) | \(41\) |
default | \(\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}\) | \(78\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 66, normalized size = 1.22 \begin {gather*} \frac {b \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 ) + d \sinh \left (b x + a\right )\right )} \sinh \left (d x + c\right )}{b^{2} - d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 201 vs.
\(2 (42) = 84\).
time = 0.49, size = 201, normalized size = 3.72 \begin {gather*} \begin {cases} x e^{a} \cosh {\left (c \right )} & \text {for}\: b = 0 \wedge d = 0 \\\frac {x e^{a} e^{- d x} \sinh {\left (c + d x \right )}}{2} + \frac {x e^{a} e^{- d x} \cosh {\left (c + d x \right )}}{2} + \frac {e^{a} e^{- d x} \sinh {\left (c + d x \right )}}{d} + \frac {e^{a} e^{- d x} \cosh {\left (c + d x \right )}}{2 d} & \text {for}\: b = - d \\- \frac {x e^{a} e^{d x} \sinh {\left (c + d x \right )}}{2} + \frac {x e^{a} e^{d x} \cosh {\left (c + d x \right )}}{2} + \frac {e^{a} e^{d x} \sinh {\left (c + d x \right )}}{d} - \frac {e^{a} e^{d x} \cosh {\left (c + d x \right )}}{2 d} & \text {for}\: b = d \\\frac {b e^{a} e^{b x} \cosh {\left (c + d x \right )}}{b^{2} - d^{2}} - \frac {d e^{a} e^{b x} \sinh {\left (c + d x \right )}}{b^{2} - d^{2}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 40, normalized size = 0.74 \begin {gather*} \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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 53, normalized size = 0.98 \begin {gather*} \frac {{\mathrm {e}}^{a-c+b\,x-d\,x}\,\left (b+d+b\,{\mathrm {e}}^{2\,c+2\,d\,x}-d\,{\mathrm {e}}^{2\,c+2\,d\,x}\right )}{2\,\left (b^2-d^2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________