Optimal. Leaf size=50 \[ -\frac {\coth (c+d x)}{d \sqrt {b \coth ^4(c+d x)}}+\frac {x \coth ^2(c+d x)}{\sqrt {b \coth ^4(c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {3739, 3554, 8}
\begin {gather*} \frac {x \coth ^2(c+d x)}{\sqrt {b \coth ^4(c+d x)}}-\frac {\coth (c+d x)}{d \sqrt {b \coth ^4(c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3554
Rule 3739
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {b \coth ^4(c+d x)}} \, dx &=\frac {\coth ^2(c+d x) \int \tanh ^2(c+d x) \, dx}{\sqrt {b \coth ^4(c+d x)}}\\ &=-\frac {\coth (c+d x)}{d \sqrt {b \coth ^4(c+d x)}}+\frac {\coth ^2(c+d x) \int 1 \, dx}{\sqrt {b \coth ^4(c+d x)}}\\ &=-\frac {\coth (c+d x)}{d \sqrt {b \coth ^4(c+d x)}}+\frac {x \coth ^2(c+d x)}{\sqrt {b \coth ^4(c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 40, normalized size = 0.80 \begin {gather*} \frac {\coth (c+d x) \left (-1+\tanh ^{-1}(\tanh (c+d x)) \coth (c+d x)\right )}{d \sqrt {b \coth ^4(c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.58, size = 59, normalized size = 1.18
method | result | size |
derivativedivides | \(-\frac {\coth \left (d x +c \right ) \left (\ln \left (\coth \left (d x +c \right )-1\right ) \coth \left (d x +c \right )-\ln \left (\coth \left (d x +c \right )+1\right ) \coth \left (d x +c \right )+2\right )}{2 d \sqrt {b \left (\coth ^{4}\left (d x +c \right )\right )}}\) | \(59\) |
default | \(-\frac {\coth \left (d x +c \right ) \left (\ln \left (\coth \left (d x +c \right )-1\right ) \coth \left (d x +c \right )-\ln \left (\coth \left (d x +c \right )+1\right ) \coth \left (d x +c \right )+2\right )}{2 d \sqrt {b \left (\coth ^{4}\left (d x +c \right )\right )}}\) | \(59\) |
risch | \(\frac {\left (1+{\mathrm e}^{2 d x +2 c}\right )^{2} x}{\sqrt {\frac {b \left (1+{\mathrm e}^{2 d x +2 c}\right )^{4}}{\left ({\mathrm e}^{2 d x +2 c}-1\right )^{4}}}\, \left ({\mathrm e}^{2 d x +2 c}-1\right )^{2}}+\frac {2+2 \,{\mathrm e}^{2 d x +2 c}}{\sqrt {\frac {b \left (1+{\mathrm e}^{2 d x +2 c}\right )^{4}}{\left ({\mathrm e}^{2 d x +2 c}-1\right )^{4}}}\, \left ({\mathrm e}^{2 d x +2 c}-1\right )^{2} d}\) | \(119\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 36, normalized size = 0.72 \begin {gather*} \frac {d x + c}{\sqrt {b} d} - \frac {2 \, \sqrt {b}}{{\left (b e^{\left (-2 \, d x - 2 \, c\right )} + b\right )} d} \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. 422 vs.
\(2 (46) = 92\).
time = 0.37, size = 422, normalized size = 8.44 \begin {gather*} \frac {{\left (d x \cosh \left (d x + c\right )^{2} + {\left (d x e^{\left (4 \, d x + 4 \, c\right )} - 2 \, d x e^{\left (2 \, d x + 2 \, c\right )} + d x\right )} \sinh \left (d x + c\right )^{2} + d x + {\left (d x \cosh \left (d x + c\right )^{2} + d x + 2\right )} e^{\left (4 \, d x + 4 \, c\right )} - 2 \, {\left (d x \cosh \left (d x + c\right )^{2} + d x + 2\right )} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, {\left (d x \cosh \left (d x + c\right ) e^{\left (4 \, d x + 4 \, c\right )} - 2 \, d x \cosh \left (d x + c\right ) e^{\left (2 \, d x + 2 \, c\right )} + d x \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) + 2\right )} \sqrt {\frac {b e^{\left (8 \, d x + 8 \, c\right )} + 4 \, b e^{\left (6 \, d x + 6 \, c\right )} + 6 \, b e^{\left (4 \, d x + 4 \, c\right )} + 4 \, b e^{\left (2 \, d x + 2 \, c\right )} + b}{e^{\left (8 \, d x + 8 \, c\right )} - 4 \, e^{\left (6 \, d x + 6 \, c\right )} + 6 \, e^{\left (4 \, d x + 4 \, c\right )} - 4 \, e^{\left (2 \, d x + 2 \, c\right )} + 1}}}{b d \cosh \left (d x + c\right )^{2} + {\left (b d e^{\left (4 \, d x + 4 \, c\right )} + 2 \, b d e^{\left (2 \, d x + 2 \, c\right )} + b d\right )} \sinh \left (d x + c\right )^{2} + b d + {\left (b d \cosh \left (d x + c\right )^{2} + b d\right )} e^{\left (4 \, d x + 4 \, c\right )} + 2 \, {\left (b d \cosh \left (d x + c\right )^{2} + b d\right )} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, {\left (b d \cosh \left (d x + c\right ) e^{\left (4 \, d x + 4 \, c\right )} + 2 \, b d \cosh \left (d x + c\right ) e^{\left (2 \, d x + 2 \, c\right )} + b d \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\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 ^{4}{\left (c + d x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 32, normalized size = 0.64 \begin {gather*} \frac {\frac {d x + c}{\sqrt {b}} + \frac {2}{\sqrt {b} {\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )}}}{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.02 \begin {gather*} \int \frac {1}{\sqrt {b\,{\mathrm {coth}\left (c+d\,x\right )}^4}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________