Optimal. Leaf size=27 \[ -\frac {(a \cosh (c+d x)-a \sinh (c+d x))^2}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 27, 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))^2}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3071
Rubi steps
\begin {align*} \int (a \cosh (c+d x)-a \sinh (c+d x))^2 \, dx &=-\frac {(a \cosh (c+d x)-a \sinh (c+d x))^2}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 27, normalized size = 1.00 \[ -\frac {(a \cosh (c+d x)-a \sinh (c+d x))^2}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.38, size = 43, normalized size = 1.59 \[ -\frac {a^{2}}{2 \, {\left (d \cosh \left (d x + c\right )^{2} + 2 \, d \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + d \sinh \left (d x + c\right )^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 17, normalized size = 0.63 \[ -\frac {a^{2} e^{\left (-2 \, d x - 2 \, c\right )}}{2 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 26, normalized size = 0.96 \[ -\frac {a^{2} \left (\cosh \left (d x +c \right )-\sinh \left (d x +c \right )\right )^{2}}{2 d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.30, size = 89, normalized size = 3.30 \[ \frac {1}{8} \, a^{2} {\left (4 \, x + \frac {e^{\left (2 \, d x + 2 \, c\right )}}{d} - \frac {e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right )} - \frac {1}{8} \, a^{2} {\left (4 \, x - \frac {e^{\left (2 \, d x + 2 \, c\right )}}{d} + \frac {e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right )} - \frac {a^{2} \cosh \left (d x + c\right )^{2}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 17, normalized size = 0.63 \[ -\frac {a^2\,{\mathrm {e}}^{-2\,c-2\,d\,x}}{2\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.21, size = 44, normalized size = 1.63 \[ \begin {cases} - \frac {a^{2} \sinh ^{2}{\left (c + d x \right )}}{d} + \frac {a^{2} \sinh {\left (c + d x \right )} \cosh {\left (c + d x \right )}}{d} & \text {for}\: d \neq 0 \\x \left (- a \sinh {\relax (c )} + a \cosh {\relax (c )}\right )^{2} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________