Optimal. Leaf size=33 \[ -\frac {8}{3} \text {csch}(x) \sqrt {-\sinh (x) \tanh (x)}-\frac {2}{3} \sinh (x) \sqrt {-\sinh (x) \tanh (x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {4482, 4485,
2678, 2669} \begin {gather*} -\frac {2}{3} \sinh (x) \sqrt {-\sinh (x) \tanh (x)}-\frac {8}{3} \text {csch}(x) \sqrt {-\sinh (x) \tanh (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2669
Rule 2678
Rule 4482
Rule 4485
Rubi steps
\begin {align*} \int (-\cosh (x)+\text {sech}(x))^{3/2} \, dx &=\int (-\sinh (x) \tanh (x))^{3/2} \, dx\\ &=\frac {\sqrt {-\sinh (x) \tanh (x)} \int (i \sinh (x))^{3/2} (i \tanh (x))^{3/2} \, dx}{\sqrt {i \sinh (x)} \sqrt {i \tanh (x)}}\\ &=-\frac {2}{3} \sinh (x) \sqrt {-\sinh (x) \tanh (x)}+\frac {\left (4 \sqrt {-\sinh (x) \tanh (x)}\right ) \int \frac {(i \tanh (x))^{3/2}}{\sqrt {i \sinh (x)}} \, dx}{3 \sqrt {i \sinh (x)} \sqrt {i \tanh (x)}}\\ &=-\frac {8}{3} \text {csch}(x) \sqrt {-\sinh (x) \tanh (x)}-\frac {2}{3} \sinh (x) \sqrt {-\sinh (x) \tanh (x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 24, normalized size = 0.73 \begin {gather*} \frac {2}{3} \coth (x) \left (1+4 \text {csch}^2(x)\right ) (-\sinh (x) \tanh (x))^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 2.32, size = 0, normalized size = 0.00 \[\int \left (-\cosh \left (x \right )+\mathrm {sech}\left (x \right )\right )^{\frac {3}{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 77 vs.
\(2 (25) = 50\).
time = 0.48, size = 77, normalized size = 2.33 \begin {gather*} -\frac {\sqrt {2} e^{\left (\frac {3}{2} \, x\right )}}{6 \, {\left (-e^{\left (-2 \, x\right )} - 1\right )}^{\frac {3}{2}}} - \frac {5 \, \sqrt {2} e^{\left (-\frac {1}{2} \, x\right )}}{2 \, {\left (-e^{\left (-2 \, x\right )} - 1\right )}^{\frac {3}{2}}} - \frac {5 \, \sqrt {2} e^{\left (-\frac {5}{2} \, x\right )}}{2 \, {\left (-e^{\left (-2 \, x\right )} - 1\right )}^{\frac {3}{2}}} - \frac {\sqrt {2} e^{\left (-\frac {9}{2} \, x\right )}}{6 \, {\left (-e^{\left (-2 \, x\right )} - 1\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 99 vs.
\(2 (25) = 50\).
time = 0.37, size = 99, normalized size = 3.00 \begin {gather*} -\frac {\sqrt {\frac {1}{2}} {\left (\cosh \left (x\right )^{4} + 4 \, \cosh \left (x\right ) \sinh \left (x\right )^{3} + \sinh \left (x\right )^{4} + 2 \, {\left (3 \, \cosh \left (x\right )^{2} + 7\right )} \sinh \left (x\right )^{2} + 14 \, \cosh \left (x\right )^{2} + 4 \, {\left (\cosh \left (x\right )^{3} + 7 \, \cosh \left (x\right )\right )} \sinh \left (x\right ) + 1\right )} \sqrt {-\frac {1}{\cosh \left (x\right )^{3} + 3 \, \cosh \left (x\right ) \sinh \left (x\right )^{2} + \sinh \left (x\right )^{3} + {\left (3 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right ) + \cosh \left (x\right )}}}{3 \, {\left (\cosh \left (x\right ) + \sinh \left (x\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (- \cosh {\left (x \right )} + \operatorname {sech}{\left (x \right )}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int {\left (\frac {1}{\mathrm {cosh}\left (x\right )}-\mathrm {cosh}\left (x\right )\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________