Optimal. Leaf size=23 \[ \frac {e^{n \sinh (a c+b c x)}}{b c n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4421, 2225}
\begin {gather*} \frac {e^{n \sinh (a c+b c x)}}{b c n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2225
Rule 4421
Rubi steps
\begin {align*} \int e^{n \sinh (c (a+b x))} \cosh (a c+b c x) \, dx &=\frac {\text {Subst}\left (\int e^{n x} \, dx,x,\sinh (a c+b c x)\right )}{b c}\\ &=\frac {e^{n \sinh (a c+b c x)}}{b c n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 22, normalized size = 0.96 \begin {gather*} \frac {e^{n \sinh (c (a+b x))}}{b c n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 11.76, size = 39, normalized size = 1.70
method | result | size |
risch | \(\frac {{\mathrm e}^{-\frac {n \left (-{\mathrm e}^{c \left (b x +a \right )}+{\mathrm e}^{-c \left (b x +a \right )}\right )}{2}}}{n b c}\) | \(35\) |
default | \(\frac {\frac {\sinh \left (n \sinh \left (c \left (b x +a \right )\right )\right )}{n}+\frac {\cosh \left (n \sinh \left (c \left (b x +a \right )\right )\right )}{n}}{b c}\) | \(39\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 22, normalized size = 0.96 \begin {gather*} \frac {e^{\left (n \sinh \left (b c x + a c\right )\right )}}{b c n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 35, normalized size = 1.52 \begin {gather*} \frac {\cosh \left (n \sinh \left (b c x + a c\right )\right ) + \sinh \left (n \sinh \left (b c x + a c\right )\right )}{b c n} \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. 48 vs.
\(2 (17) = 34\).
time = 0.57, size = 48, normalized size = 2.09 \begin {gather*} \begin {cases} x & \text {for}\: b = 0 \wedge c = 0 \wedge n = 0 \\\frac {\sinh {\left (a c + b c x \right )}}{b c} & \text {for}\: n = 0 \\x & \text {for}\: c = 0 \\x e^{n \sinh {\left (a c \right )}} \cosh {\left (a c \right )} & \text {for}\: b = 0 \\\frac {e^{n \sinh {\left (a c + b c x \right )}}}{b c n} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 38, normalized size = 1.65 \begin {gather*} \frac {e^{\left (\frac {1}{2} \, n e^{\left (b c x + a c\right )} - \frac {1}{2} \, n e^{\left (-b c x - a c\right )}\right )}}{b c n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.69, size = 38, normalized size = 1.65 \begin {gather*} \frac {{\mathrm {e}}^{\frac {n\,{\mathrm {e}}^{b\,c\,x}\,{\mathrm {e}}^{a\,c}}{2}}\,{\mathrm {e}}^{-\frac {n\,{\mathrm {e}}^{-b\,c\,x}\,{\mathrm {e}}^{-a\,c}}{2}}}{b\,c\,n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________