Optimal. Leaf size=28 \[ -\frac {(a \cosh (c+d x)-a \sinh (c+d x))^n}{d n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {3071} \[ -\frac {(a \cosh (c+d x)-a \sinh (c+d x))^n}{d n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3071
Rubi steps
\begin {align*} \int (a \cosh (c+d x)-a \sinh (c+d x))^n \, dx &=-\frac {(a \cosh (c+d x)-a \sinh (c+d x))^n}{d n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 27, normalized size = 0.96 \[ -\frac {(a (\cosh (c+d x)-\sinh (c+d x)))^n}{d n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 39, normalized size = 1.39 \[ -\frac {\cosh \left (-d n x - c n + n \log \relax (a)\right ) + \sinh \left (-d n x - c n + n \log \relax (a)\right )}{d n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 23, normalized size = 0.82 \[ -\frac {e^{\left (-d n x - c n + n \log \relax (a)\right )}}{d n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 29, normalized size = 1.04 \[ -\frac {\left (a \cosh \left (d x +c \right )-a \sinh \left (d x +c \right )\right )^{n}}{d n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.49, size = 20, normalized size = 0.71 \[ -\frac {a^{n} e^{\left (-{\left (d x + c\right )} n\right )}}{d n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.66, size = 21, normalized size = 0.75 \[ -\frac {{\left (a\,{\mathrm {e}}^{-c-d\,x}\right )}^n}{d\,n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.19, size = 37, normalized size = 1.32 \[ \begin {cases} x & \text {for}\: d = 0 \wedge n = 0 \\x \left (- a \sinh {\relax (c )} + a \cosh {\relax (c )}\right )^{n} & \text {for}\: d = 0 \\x & \text {for}\: n = 0 \\- \frac {\left (- a \sinh {\left (c + d x \right )} + a \cosh {\left (c + d x \right )}\right )^{n}}{d n} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________