Optimal. Leaf size=218 \[ \frac {\sqrt {3} b^{2/3} \text {ArcTan}\left (\frac {1-\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}}{\sqrt {3}}\right )}{2 d}-\frac {\sqrt {3} b^{2/3} \text {ArcTan}\left (\frac {1+\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}}{\sqrt {3}}\right )}{2 d}+\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}\right )}{d}-\frac {b^{2/3} \log \left (b^{2/3}-\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d}+\frac {b^{2/3} \log \left (b^{2/3}+\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 218, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 8, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {3557, 335,
302, 648, 632, 210, 642, 212} \begin {gather*} \frac {\sqrt {3} b^{2/3} \text {ArcTan}\left (\frac {1-\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}}{\sqrt {3}}\right )}{2 d}-\frac {\sqrt {3} b^{2/3} \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}+1}{\sqrt {3}}\right )}{2 d}-\frac {b^{2/3} \log \left (b^{2/3}-\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d}+\frac {b^{2/3} \log \left (b^{2/3}+\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d}+\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}\right )}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 212
Rule 302
Rule 335
Rule 632
Rule 642
Rule 648
Rule 3557
Rubi steps
\begin {align*} \int (b \coth (c+d x))^{2/3} \, dx &=-\frac {b \text {Subst}\left (\int \frac {x^{2/3}}{-b^2+x^2} \, dx,x,b \coth (c+d x)\right )}{d}\\ &=-\frac {(3 b) \text {Subst}\left (\int \frac {x^4}{-b^2+x^6} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{d}\\ &=\frac {b^{2/3} \text {Subst}\left (\int \frac {-\frac {\sqrt [3]{b}}{2}-\frac {x}{2}}{b^{2/3}-\sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{d}+\frac {b^{2/3} \text {Subst}\left (\int \frac {-\frac {\sqrt [3]{b}}{2}+\frac {x}{2}}{b^{2/3}+\sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{d}+\frac {b \text {Subst}\left (\int \frac {1}{b^{2/3}-x^2} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{d}\\ &=\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}\right )}{d}-\frac {b^{2/3} \text {Subst}\left (\int \frac {-\sqrt [3]{b}+2 x}{b^{2/3}-\sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{4 d}+\frac {b^{2/3} \text {Subst}\left (\int \frac {\sqrt [3]{b}+2 x}{b^{2/3}+\sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{4 d}-\frac {(3 b) \text {Subst}\left (\int \frac {1}{b^{2/3}-\sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{4 d}-\frac {(3 b) \text {Subst}\left (\int \frac {1}{b^{2/3}+\sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{4 d}\\ &=\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}\right )}{d}-\frac {b^{2/3} \log \left (b^{2/3}-\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d}+\frac {b^{2/3} \log \left (b^{2/3}+\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d}-\frac {\left (3 b^{2/3}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}\right )}{2 d}+\frac {\left (3 b^{2/3}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}\right )}{2 d}\\ &=\frac {\sqrt {3} b^{2/3} \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}}{\sqrt {3}}\right )}{2 d}-\frac {\sqrt {3} b^{2/3} \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}}{\sqrt {3}}\right )}{2 d}+\frac {b^{2/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b \coth (c+d x)}}{\sqrt [3]{b}}\right )}{d}-\frac {b^{2/3} \log \left (b^{2/3}-\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d}+\frac {b^{2/3} \log \left (b^{2/3}+\sqrt [3]{b} \sqrt [3]{b \coth (c+d x)}+(b \coth (c+d x))^{2/3}\right )}{4 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 149, normalized size = 0.68 \begin {gather*} \frac {(b \coth (c+d x))^{2/3} \left (2 \sqrt {3} \text {ArcTan}\left (\frac {1-2 \sqrt [3]{\coth (c+d x)}}{\sqrt {3}}\right )-2 \sqrt {3} \text {ArcTan}\left (\frac {1+2 \sqrt [3]{\coth (c+d x)}}{\sqrt {3}}\right )+4 \tanh ^{-1}\left (\sqrt [3]{\coth (c+d x)}\right )-\log \left (1-\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )+\log \left (1+\sqrt [3]{\coth (c+d x)}+\coth ^{\frac {2}{3}}(c+d x)\right )\right )}{4 d \coth ^{\frac {2}{3}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.55, size = 181, normalized size = 0.83
method | result | size |
derivativedivides | \(-\frac {3 b \left (\frac {\ln \left (\left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}-b^{\frac {1}{3}}\right )}{6 b^{\frac {1}{3}}}-\frac {\ln \left (b^{\frac {2}{3}}+b^{\frac {1}{3}} \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}+\left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}\right )}{12 b^{\frac {1}{3}}}+\frac {\sqrt {3}\, \arctan \left (\frac {\left (1+\frac {2 \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}}{b^{\frac {1}{3}}}\right ) \sqrt {3}}{3}\right )}{6 b^{\frac {1}{3}}}-\frac {\ln \left (\left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}+b^{\frac {1}{3}}\right )}{6 b^{\frac {1}{3}}}+\frac {\ln \left (b^{\frac {2}{3}}-b^{\frac {1}{3}} \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}+\left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}\right )}{12 b^{\frac {1}{3}}}+\frac {\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}}{b^{\frac {1}{3}}}-1\right )}{3}\right )}{6 b^{\frac {1}{3}}}\right )}{d}\) | \(181\) |
default | \(-\frac {3 b \left (\frac {\ln \left (\left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}-b^{\frac {1}{3}}\right )}{6 b^{\frac {1}{3}}}-\frac {\ln \left (b^{\frac {2}{3}}+b^{\frac {1}{3}} \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}+\left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}\right )}{12 b^{\frac {1}{3}}}+\frac {\sqrt {3}\, \arctan \left (\frac {\left (1+\frac {2 \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}}{b^{\frac {1}{3}}}\right ) \sqrt {3}}{3}\right )}{6 b^{\frac {1}{3}}}-\frac {\ln \left (\left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}+b^{\frac {1}{3}}\right )}{6 b^{\frac {1}{3}}}+\frac {\ln \left (b^{\frac {2}{3}}-b^{\frac {1}{3}} \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}+\left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}\right )}{12 b^{\frac {1}{3}}}+\frac {\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 \left (b \coth \left (d x +c \right )\right )^{\frac {1}{3}}}{b^{\frac {1}{3}}}-1\right )}{3}\right )}{6 b^{\frac {1}{3}}}\right )}{d}\) | \(181\) |
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 [A]
time = 0.49, size = 310, normalized size = 1.42 \begin {gather*} -\frac {2 \, \sqrt {3} \left (-b^{2}\right )^{\frac {1}{3}} \arctan \left (-\frac {\sqrt {3} b - 2 \, \sqrt {3} \left (-b^{2}\right )^{\frac {1}{3}} \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {1}{3}}}{3 \, b}\right ) + 2 \, \sqrt {3} {\left (b^{2}\right )}^{\frac {1}{3}} \arctan \left (-\frac {\sqrt {3} b - 2 \, \sqrt {3} {\left (b^{2}\right )}^{\frac {1}{3}} \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {1}{3}}}{3 \, b}\right ) + \left (-b^{2}\right )^{\frac {1}{3}} \log \left (b \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {2}{3}} - \left (-b^{2}\right )^{\frac {1}{3}} b + \left (-b^{2}\right )^{\frac {2}{3}} \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {1}{3}}\right ) + {\left (b^{2}\right )}^{\frac {1}{3}} \log \left (b \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {2}{3}} + {\left (b^{2}\right )}^{\frac {1}{3}} b - {\left (b^{2}\right )}^{\frac {2}{3}} \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {1}{3}}\right ) - 2 \, \left (-b^{2}\right )^{\frac {1}{3}} \log \left (b \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {1}{3}} - \left (-b^{2}\right )^{\frac {2}{3}}\right ) - 2 \, {\left (b^{2}\right )}^{\frac {1}{3}} \log \left (b \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {1}{3}} + {\left (b^{2}\right )}^{\frac {2}{3}}\right )}{4 \, d} \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 {\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(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.50, size = 233, normalized size = 1.07 \begin {gather*} -\frac {b^{2/3}\,\mathrm {atan}\left (\frac {{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{1/3}\,1{}\mathrm {i}}{b^{1/3}}\right )\,1{}\mathrm {i}}{d}-\frac {b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}-\frac {972\,b^{26/3}\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,d}-\frac {b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}-\frac {972\,b^{26/3}\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,d}+\frac {b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}+\frac {1944\,b^{26/3}\,\left (-\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (-\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )}{d}+\frac {b^{2/3}\,\ln \left (\frac {972\,b^9}{d^3}+\frac {1944\,b^{26/3}\,\left (\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{1/3}}{d^3}\right )\,\left (\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________