Optimal. Leaf size=78 \[ -\frac {b^{5/2} \text {ArcTan}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{5/2} \tanh ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b (b \coth (c+d x))^{3/2}}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3554, 3557,
335, 304, 209, 212} \begin {gather*} -\frac {b^{5/2} \text {ArcTan}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{5/2} \tanh ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b (b \coth (c+d x))^{3/2}}{3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 335
Rule 3554
Rule 3557
Rubi steps
\begin {align*} \int (b \coth (c+d x))^{5/2} \, dx &=-\frac {2 b (b \coth (c+d x))^{3/2}}{3 d}+b^2 \int \sqrt {b \coth (c+d x)} \, dx\\ &=-\frac {2 b (b \coth (c+d x))^{3/2}}{3 d}-\frac {b^3 \text {Subst}\left (\int \frac {\sqrt {x}}{-b^2+x^2} \, dx,x,b \coth (c+d x)\right )}{d}\\ &=-\frac {2 b (b \coth (c+d x))^{3/2}}{3 d}-\frac {\left (2 b^3\right ) \text {Subst}\left (\int \frac {x^2}{-b^2+x^4} \, dx,x,\sqrt {b \coth (c+d x)}\right )}{d}\\ &=-\frac {2 b (b \coth (c+d x))^{3/2}}{3 d}+\frac {b^3 \text {Subst}\left (\int \frac {1}{b-x^2} \, dx,x,\sqrt {b \coth (c+d x)}\right )}{d}-\frac {b^3 \text {Subst}\left (\int \frac {1}{b+x^2} \, dx,x,\sqrt {b \coth (c+d x)}\right )}{d}\\ &=-\frac {b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{5/2} \tanh ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b (b \coth (c+d x))^{3/2}}{3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.15, size = 68, normalized size = 0.87 \begin {gather*} -\frac {(b \coth (c+d x))^{5/2} \left (3 \text {ArcTan}\left (\sqrt {\coth (c+d x)}\right )-3 \tanh ^{-1}\left (\sqrt {\coth (c+d x)}\right )+2 \coth ^{\frac {3}{2}}(c+d x)\right )}{3 d \coth ^{\frac {5}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.14, size = 60, normalized size = 0.77
method | result | size |
derivativedivides | \(-\frac {2 b \left (\frac {\left (b \coth \left (d x +c \right )\right )^{\frac {3}{2}}}{3}+\frac {b^{\frac {3}{2}} \arctan \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}-\frac {b^{\frac {3}{2}} \arctanh \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}\right )}{d}\) | \(60\) |
default | \(-\frac {2 b \left (\frac {\left (b \coth \left (d x +c \right )\right )^{\frac {3}{2}}}{3}+\frac {b^{\frac {3}{2}} \arctan \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}-\frac {b^{\frac {3}{2}} \arctanh \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}\right )}{d}\) | \(60\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \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. 469 vs.
\(2 (62) = 124\).
time = 0.42, size = 988, normalized size = 12.67 \begin {gather*} \left [-\frac {6 \, {\left (b^{2} \cosh \left (d x + c\right )^{2} + 2 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b^{2} \sinh \left (d x + c\right )^{2} - b^{2}\right )} \sqrt {-b} \arctan \left (\frac {{\left (\cosh \left (d x + c\right )^{2} + 2 \, \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + \sinh \left (d x + c\right )^{2}\right )} \sqrt {-b} \sqrt {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}}}{b \cosh \left (d x + c\right )^{2} + 2 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b \sinh \left (d x + c\right )^{2} + b}\right ) - 3 \, {\left (b^{2} \cosh \left (d x + c\right )^{2} + 2 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b^{2} \sinh \left (d x + c\right )^{2} - b^{2}\right )} \sqrt {-b} \log \left (-\frac {b \cosh \left (d x + c\right )^{4} + 4 \, b \cosh \left (d x + c\right )^{3} \sinh \left (d x + c\right ) + 6 \, b \cosh \left (d x + c\right )^{2} \sinh \left (d x + c\right )^{2} + 4 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + b \sinh \left (d x + c\right )^{4} + 2 \, {\left (\cosh \left (d x + c\right )^{2} + 2 \, \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + \sinh \left (d x + c\right )^{2} - 1\right )} \sqrt {-b} \sqrt {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}} - 2 \, b}{\cosh \left (d x + c\right )^{4} + 4 \, \cosh \left (d x + c\right )^{3} \sinh \left (d x + c\right ) + 6 \, \cosh \left (d x + c\right )^{2} \sinh \left (d x + c\right )^{2} + 4 \, \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + \sinh \left (d x + c\right )^{4}}\right ) + 8 \, {\left (b^{2} \cosh \left (d x + c\right )^{2} + 2 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b^{2} \sinh \left (d x + c\right )^{2} + b^{2}\right )} \sqrt {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}}}{12 \, {\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} - d\right )}}, -\frac {6 \, {\left (b^{2} \cosh \left (d x + c\right )^{2} + 2 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b^{2} \sinh \left (d x + c\right )^{2} - b^{2}\right )} \sqrt {b} \arctan \left (\frac {\sqrt {b} \sqrt {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}}}{b \cosh \left (d x + c\right )^{2} + 2 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b \sinh \left (d x + c\right )^{2} + b}\right ) - 3 \, {\left (b^{2} \cosh \left (d x + c\right )^{2} + 2 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b^{2} \sinh \left (d x + c\right )^{2} - b^{2}\right )} \sqrt {b} \log \left (2 \, b \cosh \left (d x + c\right )^{4} + 8 \, b \cosh \left (d x + c\right )^{3} \sinh \left (d x + c\right ) + 12 \, b \cosh \left (d x + c\right )^{2} \sinh \left (d x + c\right )^{2} + 8 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + 2 \, b \sinh \left (d x + c\right )^{4} + 2 \, {\left (\cosh \left (d x + c\right )^{4} + 4 \, \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + \sinh \left (d x + c\right )^{4} + {\left (6 \, \cosh \left (d x + c\right )^{2} - 1\right )} \sinh \left (d x + c\right )^{2} - \cosh \left (d x + c\right )^{2} + 2 \, {\left (2 \, \cosh \left (d x + c\right )^{3} - \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )\right )} \sqrt {b} \sqrt {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}} - b\right ) + 8 \, {\left (b^{2} \cosh \left (d x + c\right )^{2} + 2 \, b^{2} \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b^{2} \sinh \left (d x + c\right )^{2} + b^{2}\right )} \sqrt {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}}}{12 \, {\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} - d\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 (b \coth {\left (c + d x \right )}\right )^{\frac {5}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 224 vs.
\(2 (62) = 124\).
time = 0.53, size = 224, normalized size = 2.87 \begin {gather*} \frac {6 \, b^{\frac {5}{2}} \arctan \left (-\frac {\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b}}{\sqrt {b}}\right ) \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) - 3 \, b^{\frac {5}{2}} \log \left ({\left | -\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} + \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b} \right |}\right ) \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) + \frac {8 \, {\left (3 \, {\left (\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b}\right )}^{2} b^{3} \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) + b^{4} \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )\right )}}{{\left (\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b} - \sqrt {b}\right )}^{3}}}{6 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.37, size = 62, normalized size = 0.79 \begin {gather*} \frac {b^{5/2}\,\mathrm {atanh}\left (\frac {\sqrt {b\,\mathrm {coth}\left (c+d\,x\right )}}{\sqrt {b}}\right )}{d}-\frac {b^{5/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,\mathrm {coth}\left (c+d\,x\right )}}{\sqrt {b}}\right )}{d}-\frac {2\,b\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{3/2}}{3\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________