Optimal. Leaf size=50 \[ \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)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0226638, antiderivative size = 50, normalized size of antiderivative = 1., 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 = {3658, 3473, 8} \[ \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)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3658
Rule 3473
Rule 8
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.072736, size = 40, normalized size = 0.8 \[ \frac{\coth (c+d x) \left (\tanh ^{-1}(\tanh (c+d x)) \coth (c+d x)-1\right )}{d \sqrt{b \coth ^4(c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.037, size = 59, normalized size = 1.2 \begin{align*}{\frac{{\rm coth} \left (dx+c\right ) \left ( \ln \left ({\rm coth} \left (dx+c\right )+1 \right ){\rm coth} \left (dx+c\right )-\ln \left ({\rm coth} \left (dx+c\right )-1 \right ){\rm coth} \left (dx+c\right )-2 \right ) }{2\,d}{\frac{1}{\sqrt{b \left ({\rm coth} \left (dx+c\right ) \right ) ^{4}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.73557, size = 49, normalized size = 0.98 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.19262, size = 1079, normalized size = 21.58 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b \coth ^{4}{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16942, size = 46, normalized size = 0.92 \begin{align*} \frac{d x + c}{\sqrt{b} d} + \frac{2}{\sqrt{b} d{\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]