Optimal. Leaf size=105 \[ -\frac {2 \coth (c+d x)}{d \sqrt {b \coth ^3(c+d x)}}-\frac {\text {ArcTan}\left (\sqrt {\coth (c+d x)}\right ) \coth ^{\frac {3}{2}}(c+d x)}{d \sqrt {b \coth ^3(c+d x)}}+\frac {\tanh ^{-1}\left (\sqrt {\coth (c+d x)}\right ) \coth ^{\frac {3}{2}}(c+d x)}{d \sqrt {b \coth ^3(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3739, 3555,
3557, 335, 304, 209, 212} \begin {gather*} -\frac {\coth ^{\frac {3}{2}}(c+d x) \text {ArcTan}\left (\sqrt {\coth (c+d x)}\right )}{d \sqrt {b \coth ^3(c+d x)}}-\frac {2 \coth (c+d x)}{d \sqrt {b \coth ^3(c+d x)}}+\frac {\coth ^{\frac {3}{2}}(c+d x) \tanh ^{-1}\left (\sqrt {\coth (c+d x)}\right )}{d \sqrt {b \coth ^3(c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 335
Rule 3555
Rule 3557
Rule 3739
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {b \coth ^3(c+d x)}} \, dx &=\frac {\coth ^{\frac {3}{2}}(c+d x) \int \frac {1}{\coth ^{\frac {3}{2}}(c+d x)} \, dx}{\sqrt {b \coth ^3(c+d x)}}\\ &=-\frac {2 \coth (c+d x)}{d \sqrt {b \coth ^3(c+d x)}}+\frac {\coth ^{\frac {3}{2}}(c+d x) \int \sqrt {\coth (c+d x)} \, dx}{\sqrt {b \coth ^3(c+d x)}}\\ &=-\frac {2 \coth (c+d x)}{d \sqrt {b \coth ^3(c+d x)}}-\frac {\coth ^{\frac {3}{2}}(c+d x) \text {Subst}\left (\int \frac {\sqrt {x}}{-1+x^2} \, dx,x,\coth (c+d x)\right )}{d \sqrt {b \coth ^3(c+d x)}}\\ &=-\frac {2 \coth (c+d x)}{d \sqrt {b \coth ^3(c+d x)}}-\frac {\left (2 \coth ^{\frac {3}{2}}(c+d x)\right ) \text {Subst}\left (\int \frac {x^2}{-1+x^4} \, dx,x,\sqrt {\coth (c+d x)}\right )}{d \sqrt {b \coth ^3(c+d x)}}\\ &=-\frac {2 \coth (c+d x)}{d \sqrt {b \coth ^3(c+d x)}}+\frac {\coth ^{\frac {3}{2}}(c+d x) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {\coth (c+d x)}\right )}{d \sqrt {b \coth ^3(c+d x)}}-\frac {\coth ^{\frac {3}{2}}(c+d x) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {\coth (c+d x)}\right )}{d \sqrt {b \coth ^3(c+d x)}}\\ &=-\frac {2 \coth (c+d x)}{d \sqrt {b \coth ^3(c+d x)}}-\frac {\tan ^{-1}\left (\sqrt {\coth (c+d x)}\right ) \coth ^{\frac {3}{2}}(c+d x)}{d \sqrt {b \coth ^3(c+d x)}}+\frac {\tanh ^{-1}\left (\sqrt {\coth (c+d x)}\right ) \coth ^{\frac {3}{2}}(c+d x)}{d \sqrt {b \coth ^3(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.02, size = 41, normalized size = 0.39 \begin {gather*} -\frac {2 \coth (c+d x) \, _2F_1\left (-\frac {1}{4},1;\frac {3}{4};\coth ^2(c+d x)\right )}{d \sqrt {b \coth ^3(c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.42, size = 92, normalized size = 0.88
method | result | size |
derivativedivides | \(-\frac {\coth \left (d x +c \right ) \left (2 b^{\frac {5}{2}}+\arctan \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right ) b^{2} \sqrt {b \coth \left (d x +c \right )}-\arctanh \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right ) b^{2} \sqrt {b \coth \left (d x +c \right )}\right )}{d \sqrt {b \left (\coth ^{3}\left (d x +c \right )\right )}\, b^{\frac {5}{2}}}\) | \(92\) |
default | \(-\frac {\coth \left (d x +c \right ) \left (2 b^{\frac {5}{2}}+\arctan \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right ) b^{2} \sqrt {b \coth \left (d x +c \right )}-\arctanh \left (\frac {\sqrt {b \coth \left (d x +c \right )}}{\sqrt {b}}\right ) b^{2} \sqrt {b \coth \left (d x +c \right )}\right )}{d \sqrt {b \left (\coth ^{3}\left (d x +c \right )\right )}\, b^{\frac {5}{2}}}\) | \(92\) |
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. 429 vs.
\(2 (91) = 182\).
time = 0.40, size = 907, normalized size = 8.64 \begin {gather*} \left [-\frac {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} \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 ) + {\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} \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 (\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 {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}}}{4 \, {\left (b d \cosh \left (d x + c\right )^{2} + 2 \, b d \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b d \sinh \left (d x + c\right )^{2} + b d\right )}}, -\frac {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} \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 ) - {\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} \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 (\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 {\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}}}{4 \, {\left (b d \cosh \left (d x + c\right )^{2} + 2 \, b d \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b d \sinh \left (d x + c\right )^{2} + b 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 \frac {1}{\sqrt {b \coth ^{3}{\left (c + d x \right )}}}\, 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. 279 vs.
\(2 (91) = 182\).
time = 0.57, size = 279, normalized size = 2.66 \begin {gather*} \frac {\frac {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 )}{\sqrt {b} \mathrm {sgn}\left (e^{\left (6 \, d x + 6 \, c\right )} - 3 \, e^{\left (4 \, d x + 4 \, c\right )} + 3 \, e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) \mathrm {sgn}\left (e^{\left (4 \, d x + 4 \, c\right )} - 1\right )} - \frac {\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 )}{\sqrt {b} \mathrm {sgn}\left (e^{\left (6 \, d x + 6 \, c\right )} - 3 \, e^{\left (4 \, d x + 4 \, c\right )} + 3 \, e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) \mathrm {sgn}\left (e^{\left (4 \, d x + 4 \, c\right )} - 1\right )} - \frac {8}{{\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 )} \mathrm {sgn}\left (e^{\left (6 \, d x + 6 \, c\right )} - 3 \, e^{\left (4 \, d x + 4 \, c\right )} + 3 \, e^{\left (2 \, d x + 2 \, c\right )} - 1\right ) \mathrm {sgn}\left (e^{\left (4 \, d x + 4 \, c\right )} - 1\right )}}{2 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\sqrt {b\,{\mathrm {coth}\left (c+d\,x\right )}^3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________