Optimal. Leaf size=37 \[ -\frac {4}{3} (1+\text {csch}(x))^{3/2}+\frac {4}{5} (1+\text {csch}(x))^{5/2}-\frac {2}{7} (1+\text {csch}(x))^{7/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {4457, 1584,
1483, 711} \begin {gather*} -\frac {2}{7} (\text {csch}(x)+1)^{7/2}+\frac {4}{5} (\text {csch}(x)+1)^{5/2}-\frac {4}{3} (\text {csch}(x)+1)^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 711
Rule 1483
Rule 1584
Rule 4457
Rubi steps
\begin {align*} \int \coth ^3(x) \text {csch}(x) \sqrt {1+\text {csch}(x)} \, dx &=\text {Subst}\left (\int \frac {\sqrt {1+\frac {1}{x}} \left (1+x^2\right )}{x^4} \, dx,x,\sinh (x)\right )\\ &=\text {Subst}\left (\int \frac {\left (1+\frac {1}{x^2}\right ) \sqrt {1+\frac {1}{x}}}{x^2} \, dx,x,\sinh (x)\right )\\ &=-\text {Subst}\left (\int \sqrt {1+x} \left (1+x^2\right ) \, dx,x,\text {csch}(x)\right )\\ &=-\text {Subst}\left (\int \left (2 \sqrt {1+x}-2 (1+x)^{3/2}+(1+x)^{5/2}\right ) \, dx,x,\text {csch}(x)\right )\\ &=-\frac {4}{3} (1+\text {csch}(x))^{3/2}+\frac {4}{5} (1+\text {csch}(x))^{5/2}-\frac {2}{7} (1+\text {csch}(x))^{7/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 34, normalized size = 0.92 \begin {gather*} -\frac {1}{210} \text {csch}^3(x) \sqrt {1+\text {csch}(x)} (-2+62 \cosh (2 x)-117 \sinh (x)+43 \sinh (3 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.91, size = 0, normalized size = 0.00 \[\int \left (\coth ^{3}\left (x \right )\right ) \mathrm {csch}\left (x \right ) \sqrt {1+\mathrm {csch}\left (x \right )}\, 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. 389 vs.
\(2 (25) = 50\).
time = 0.33, size = 389, normalized size = 10.51 \begin {gather*} \frac {124 \, \sqrt {-2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1} e^{\left (-x\right )}}{105 \, \sqrt {e^{\left (-x\right )} + 1} \sqrt {e^{\left (-x\right )} - 1} {\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} - \frac {78 \, \sqrt {-2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1} e^{\left (-2 \, x\right )}}{35 \, \sqrt {e^{\left (-x\right )} + 1} \sqrt {e^{\left (-x\right )} - 1} {\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} - \frac {8 \, \sqrt {-2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1} e^{\left (-3 \, x\right )}}{105 \, \sqrt {e^{\left (-x\right )} + 1} \sqrt {e^{\left (-x\right )} - 1} {\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} + \frac {78 \, \sqrt {-2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1} e^{\left (-4 \, x\right )}}{35 \, \sqrt {e^{\left (-x\right )} + 1} \sqrt {e^{\left (-x\right )} - 1} {\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} + \frac {124 \, \sqrt {-2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1} e^{\left (-5 \, x\right )}}{105 \, \sqrt {e^{\left (-x\right )} + 1} \sqrt {e^{\left (-x\right )} - 1} {\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} - \frac {86 \, \sqrt {-2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1} e^{\left (-6 \, x\right )}}{105 \, \sqrt {e^{\left (-x\right )} + 1} \sqrt {e^{\left (-x\right )} - 1} {\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} + \frac {86 \, \sqrt {-2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1}}{105 \, \sqrt {e^{\left (-x\right )} + 1} \sqrt {e^{\left (-x\right )} - 1} {\left (3 \, e^{\left (-2 \, x\right )} - 3 \, e^{\left (-4 \, x\right )} + e^{\left (-6 \, x\right )} - 1\right )}} \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. 271 vs.
\(2 (25) = 50\).
time = 0.37, size = 271, normalized size = 7.32 \begin {gather*} -\frac {2 \, {\left (43 \, \cosh \left (x\right )^{6} + 2 \, {\left (129 \, \cosh \left (x\right ) + 31\right )} \sinh \left (x\right )^{5} + 43 \, \sinh \left (x\right )^{6} + 62 \, \cosh \left (x\right )^{5} + {\left (645 \, \cosh \left (x\right )^{2} + 310 \, \cosh \left (x\right ) - 117\right )} \sinh \left (x\right )^{4} - 117 \, \cosh \left (x\right )^{4} + 4 \, {\left (215 \, \cosh \left (x\right )^{3} + 155 \, \cosh \left (x\right )^{2} - 117 \, \cosh \left (x\right ) - 1\right )} \sinh \left (x\right )^{3} - 4 \, \cosh \left (x\right )^{3} + {\left (645 \, \cosh \left (x\right )^{4} + 620 \, \cosh \left (x\right )^{3} - 702 \, \cosh \left (x\right )^{2} - 12 \, \cosh \left (x\right ) + 117\right )} \sinh \left (x\right )^{2} + 117 \, \cosh \left (x\right )^{2} + 2 \, {\left (129 \, \cosh \left (x\right )^{5} + 155 \, \cosh \left (x\right )^{4} - 234 \, \cosh \left (x\right )^{3} - 6 \, \cosh \left (x\right )^{2} + 117 \, \cosh \left (x\right ) + 31\right )} \sinh \left (x\right ) + 62 \, \cosh \left (x\right ) - 43\right )} \sqrt {\frac {\sinh \left (x\right ) + 1}{\sinh \left (x\right )}}}{105 \, {\left (\cosh \left (x\right )^{6} + 6 \, \cosh \left (x\right ) \sinh \left (x\right )^{5} + \sinh \left (x\right )^{6} + 3 \, {\left (5 \, \cosh \left (x\right )^{2} - 1\right )} \sinh \left (x\right )^{4} - 3 \, \cosh \left (x\right )^{4} + 4 \, {\left (5 \, \cosh \left (x\right )^{3} - 3 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} + 3 \, {\left (5 \, \cosh \left (x\right )^{4} - 6 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right )^{2} + 3 \, \cosh \left (x\right )^{2} + 6 \, {\left (\cosh \left (x\right )^{5} - 2 \, \cosh \left (x\right )^{3} + \cosh \left (x\right )\right )} \sinh \left (x\right ) - 1\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 \sqrt {\operatorname {csch}{\left (x \right )} + 1} \coth ^{3}{\left (x \right )} \operatorname {csch}{\left (x \right )}\, 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 [B]
time = 2.41, size = 207, normalized size = 5.59 \begin {gather*} -\frac {8\,\sqrt {1-\frac {1}{\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}}}}{35\,\left ({\mathrm {e}}^{2\,x}-1\right )}-\frac {8\,\sqrt {1-\frac {1}{\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}}}}{35\,\left ({\mathrm {e}}^{4\,x}-2\,{\mathrm {e}}^{2\,x}+1\right )}-\frac {86\,\sqrt {1-\frac {1}{\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}}}}{105}-\frac {16\,{\mathrm {e}}^x\,\sqrt {1-\frac {1}{\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}}}}{7\,\left (3\,{\mathrm {e}}^{2\,x}-3\,{\mathrm {e}}^{4\,x}+{\mathrm {e}}^{6\,x}-1\right )}-\frac {16\,{\mathrm {e}}^x\,\sqrt {1-\frac {1}{\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}}}}{7\,\left ({\mathrm {e}}^{4\,x}-2\,{\mathrm {e}}^{2\,x}+1\right )}-\frac {124\,{\mathrm {e}}^x\,\sqrt {1-\frac {1}{\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}}}}{105\,\left ({\mathrm {e}}^{2\,x}-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________