Optimal. Leaf size=97 \[ \frac {b^{7/2} \text {ArcTan}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{7/2} \tanh ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b^3 \sqrt {b \coth (c+d x)}}{d}-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3554, 3557,
335, 218, 212, 209} \begin {gather*} \frac {b^{7/2} \text {ArcTan}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{7/2} \tanh ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b^3 \sqrt {b \coth (c+d x)}}{d}-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 335
Rule 3554
Rule 3557
Rubi steps
\begin {align*} \int (b \coth (c+d x))^{7/2} \, dx &=-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d}+b^2 \int (b \coth (c+d x))^{3/2} \, dx\\ &=-\frac {2 b^3 \sqrt {b \coth (c+d x)}}{d}-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d}+b^4 \int \frac {1}{\sqrt {b \coth (c+d x)}} \, dx\\ &=-\frac {2 b^3 \sqrt {b \coth (c+d x)}}{d}-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d}-\frac {b^5 \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (-b^2+x^2\right )} \, dx,x,b \coth (c+d x)\right )}{d}\\ &=-\frac {2 b^3 \sqrt {b \coth (c+d x)}}{d}-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d}-\frac {\left (2 b^5\right ) \text {Subst}\left (\int \frac {1}{-b^2+x^4} \, dx,x,\sqrt {b \coth (c+d x)}\right )}{d}\\ &=-\frac {2 b^3 \sqrt {b \coth (c+d x)}}{d}-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d}+\frac {b^4 \text {Subst}\left (\int \frac {1}{b-x^2} \, dx,x,\sqrt {b \coth (c+d x)}\right )}{d}+\frac {b^4 \text {Subst}\left (\int \frac {1}{b+x^2} \, dx,x,\sqrt {b \coth (c+d x)}\right )}{d}\\ &=\frac {b^{7/2} \tan ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{7/2} \tanh ^{-1}\left (\frac {\sqrt {b \coth (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b^3 \sqrt {b \coth (c+d x)}}{d}-\frac {2 b (b \coth (c+d x))^{5/2}}{5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.17, size = 83, normalized size = 0.86 \begin {gather*} \frac {b^3 \sqrt {b \coth (c+d x)} \left (5 \text {ArcTan}\left (\sqrt {\coth (c+d x)}\right )+5 \tanh ^{-1}\left (\sqrt {\coth (c+d x)}\right )-10 \sqrt {\coth (c+d x)}-2 \coth ^{\frac {5}{2}}(c+d x)\right )}{5 d \sqrt {\coth (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.19, size = 74, normalized size = 0.76
method | result | size |
derivativedivides | \(-\frac {2 b \left (\frac {\left (b \coth \left (d x +c \right )\right )^{\frac {5}{2}}}{5}+b^{2} \sqrt {b \coth \left (d x +c \right )}-\frac {b^{\frac {5}{2}} \arctanh \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}-\frac {b^{\frac {5}{2}} \arctan \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}\right )}{d}\) | \(74\) |
default | \(-\frac {2 b \left (\frac {\left (b \coth \left (d x +c \right )\right )^{\frac {5}{2}}}{5}+b^{2} \sqrt {b \coth \left (d x +c \right )}-\frac {b^{\frac {5}{2}} \arctanh \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}-\frac {b^{\frac {5}{2}} \arctan \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right )}{2}\right )}{d}\) | \(74\) |
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. 762 vs.
\(2 (79) = 158\).
time = 0.37, size = 1574, normalized size = 16.23 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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. 379 vs.
\(2 (79) = 158\).
time = 0.53, size = 379, normalized size = 3.91 \begin {gather*} -\frac {10 \, b^{\frac {7}{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 ) + 5 \, b^{\frac {7}{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 {16 \, {\left (5 \, {\left (\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b}\right )}^{4} b^{4} \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) - 10 \, {\left (\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b}\right )}^{3} b^{\frac {9}{2}} \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) + 20 \, {\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^{5} \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) - 10 \, {\left (\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b}\right )} b^{\frac {11}{2}} \mathrm {sgn}\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) + 3 \, b^{6} \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 )}^{5}}}{10 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.58, size = 83, normalized size = 0.86 \begin {gather*} \frac {b^{7/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,\mathrm {coth}\left (c+d\,x\right )}}{\sqrt {b}}\right )}{d}-\frac {2\,b^3\,\sqrt {b\,\mathrm {coth}\left (c+d\,x\right )}}{d}-\frac {2\,b\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{5/2}}{5\,d}-\frac {b^{7/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,\mathrm {coth}\left (c+d\,x\right )}\,1{}\mathrm {i}}{\sqrt {b}}\right )\,1{}\mathrm {i}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________