Optimal. Leaf size=289 \[ -\frac {\sqrt {3} \text {ArcTan}\left (\frac {1-2 \sqrt [3]{\coth (c+d x)}}{\sqrt {3}}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{2 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\sqrt {3} \text {ArcTan}\left (\frac {1+2 \sqrt [3]{\coth (c+d x)}}{\sqrt {3}}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{2 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\tanh ^{-1}\left (\sqrt [3]{\coth (c+d x)}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{d \coth ^{\frac {4}{3}}(c+d x)}-\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (1-\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (1+\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 289, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 10, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.714, Rules used = {3739, 3554,
3557, 335, 216, 648, 632, 210, 642, 212} \begin {gather*} -\frac {\sqrt {3} \text {ArcTan}\left (\frac {1-2 \sqrt [3]{\coth (c+d x)}}{\sqrt {3}}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{2 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\sqrt {3} \text {ArcTan}\left (\frac {2 \sqrt [3]{\coth (c+d x)}+1}{\sqrt {3}}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{2 d \coth ^{\frac {4}{3}}(c+d x)}-\frac {3 \tanh (c+d x) \left (b \coth ^2(c+d x)\right )^{2/3}}{d}-\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (\coth ^{\frac {2}{3}}(c+d x)-\sqrt [3]{\coth (c+d x)}+1\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (\coth ^{\frac {2}{3}}(c+d x)+\sqrt [3]{\coth (c+d x)}+1\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \tanh ^{-1}\left (\sqrt [3]{\coth (c+d x)}\right )}{d \coth ^{\frac {4}{3}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 212
Rule 216
Rule 335
Rule 632
Rule 642
Rule 648
Rule 3554
Rule 3557
Rule 3739
Rubi steps
\begin {align*} \int \left (b \coth ^2(c+d x)\right )^{2/3} \, dx &=\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \int \coth ^{\frac {4}{3}}(c+d x) \, dx}{\coth ^{\frac {4}{3}}(c+d x)}\\ &=-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \int \frac {1}{\coth ^{\frac {2}{3}}(c+d x)} \, dx}{\coth ^{\frac {4}{3}}(c+d x)}\\ &=-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d}-\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \text {Subst}\left (\int \frac {1}{x^{2/3} \left (-1+x^2\right )} \, dx,x,\coth (c+d x)\right )}{d \coth ^{\frac {4}{3}}(c+d x)}\\ &=-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d}-\frac {\left (3 \left (b \coth ^2(c+d x)\right )^{2/3}\right ) \text {Subst}\left (\int \frac {1}{-1+x^6} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{d \coth ^{\frac {4}{3}}(c+d x)}\\ &=-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \text {Subst}\left (\int \frac {1-\frac {x}{2}}{1-x+x^2} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \text {Subst}\left (\int \frac {1+\frac {x}{2}}{1+x+x^2} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{d \coth ^{\frac {4}{3}}(c+d x)}\\ &=\frac {\tanh ^{-1}\left (\sqrt [3]{\coth (c+d x)}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{d \coth ^{\frac {4}{3}}(c+d x)}-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d}-\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \text {Subst}\left (\int \frac {-1+2 x}{1-x+x^2} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \text {Subst}\left (\int \frac {1+2 x}{1+x+x^2} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (3 \left (b \coth ^2(c+d x)\right )^{2/3}\right ) \text {Subst}\left (\int \frac {1}{1-x+x^2} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (3 \left (b \coth ^2(c+d x)\right )^{2/3}\right ) \text {Subst}\left (\int \frac {1}{1+x+x^2} \, dx,x,\sqrt [3]{\coth (c+d x)}\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}\\ &=\frac {\tanh ^{-1}\left (\sqrt [3]{\coth (c+d x)}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{d \coth ^{\frac {4}{3}}(c+d x)}-\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (1-\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (1+\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d}-\frac {\left (3 \left (b \coth ^2(c+d x)\right )^{2/3}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,-1+2 \sqrt [3]{\coth (c+d x)}\right )}{2 d \coth ^{\frac {4}{3}}(c+d x)}-\frac {\left (3 \left (b \coth ^2(c+d x)\right )^{2/3}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+2 \sqrt [3]{\coth (c+d x)}\right )}{2 d \coth ^{\frac {4}{3}}(c+d x)}\\ &=-\frac {\sqrt {3} \tan ^{-1}\left (\frac {1-2 \sqrt [3]{\coth (c+d x)}}{\sqrt {3}}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{2 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\sqrt {3} \tan ^{-1}\left (\frac {1+2 \sqrt [3]{\coth (c+d x)}}{\sqrt {3}}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{2 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\tanh ^{-1}\left (\sqrt [3]{\coth (c+d x)}\right ) \left (b \coth ^2(c+d x)\right )^{2/3}}{d \coth ^{\frac {4}{3}}(c+d x)}-\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (1-\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}+\frac {\left (b \coth ^2(c+d x)\right )^{2/3} \log \left (1+\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )}{4 d \coth ^{\frac {4}{3}}(c+d x)}-\frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \tanh (c+d x)}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.03, size = 43, normalized size = 0.15 \begin {gather*} \frac {3 \left (b \coth ^2(c+d x)\right )^{2/3} \left (-1+\, _2F_1\left (\frac {1}{6},1;\frac {7}{6};\coth ^2(c+d x)\right )\right ) \tanh (c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.73, size = 0, normalized size = 0.00 \[\int \left (b \left (\coth ^{2}\left (d x +c \right )\right )\right )^{\frac {2}{3}}\, dx\]
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. 2037 vs.
\(2 (239) = 478\).
time = 0.42, size = 2037, normalized size = 7.05 \begin {gather*} \text {Too large to display} \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 ^{2}{\left (c + d x \right )}\right )^{\frac {2}{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (b\,{\mathrm {coth}\left (c+d\,x\right )}^2\right )}^{2/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________