Optimal. Leaf size=132 \[ -\frac {\sqrt {3} \sqrt [3]{b} \text {ArcTan}\left (\frac {b^{2/3}+2 (b \coth (c+d x))^{2/3}}{\sqrt {3} b^{2/3}}\right )}{2 d}-\frac {\sqrt [3]{b} \log \left (b^{2/3}-(b \coth (c+d x))^{2/3}\right )}{2 d}+\frac {\sqrt [3]{b} \log \left (b^{4/3}+b^{2/3} (b \coth (c+d x))^{2/3}+(b \coth (c+d x))^{4/3}\right )}{4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 132, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 9, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {3557, 335, 281,
298, 31, 648, 631, 210, 642} \begin {gather*} -\frac {\sqrt {3} \sqrt [3]{b} \text {ArcTan}\left (\frac {b^{2/3}+2 (b \coth (c+d x))^{2/3}}{\sqrt {3} b^{2/3}}\right )}{2 d}-\frac {\sqrt [3]{b} \log \left (b^{2/3}-(b \coth (c+d x))^{2/3}\right )}{2 d}+\frac {\sqrt [3]{b} \log \left (b^{2/3} (b \coth (c+d x))^{2/3}+b^{4/3}+(b \coth (c+d x))^{4/3}\right )}{4 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 210
Rule 281
Rule 298
Rule 335
Rule 631
Rule 642
Rule 648
Rule 3557
Rubi steps
\begin {align*} \int \sqrt [3]{b \coth (c+d x)} \, dx &=-\frac {b \text {Subst}\left (\int \frac {\sqrt [3]{x}}{-b^2+x^2} \, dx,x,b \coth (c+d x)\right )}{d}\\ &=-\frac {(3 b) \text {Subst}\left (\int \frac {x^3}{-b^2+x^6} \, dx,x,\sqrt [3]{b \coth (c+d x)}\right )}{d}\\ &=-\frac {(3 b) \text {Subst}\left (\int \frac {x}{-b^2+x^3} \, dx,x,(b \coth (c+d x))^{2/3}\right )}{2 d}\\ &=-\frac {\sqrt [3]{b} \text {Subst}\left (\int \frac {1}{-b^{2/3}+x} \, dx,x,(b \coth (c+d x))^{2/3}\right )}{2 d}+\frac {\sqrt [3]{b} \text {Subst}\left (\int \frac {-b^{2/3}+x}{b^{4/3}+b^{2/3} x+x^2} \, dx,x,(b \coth (c+d x))^{2/3}\right )}{2 d}\\ &=-\frac {\sqrt [3]{b} \log \left (b^{2/3}-(b \coth (c+d x))^{2/3}\right )}{2 d}+\frac {\sqrt [3]{b} \text {Subst}\left (\int \frac {b^{2/3}+2 x}{b^{4/3}+b^{2/3} x+x^2} \, dx,x,(b \coth (c+d x))^{2/3}\right )}{4 d}-\frac {(3 b) \text {Subst}\left (\int \frac {1}{b^{4/3}+b^{2/3} x+x^2} \, dx,x,(b \coth (c+d x))^{2/3}\right )}{4 d}\\ &=-\frac {\sqrt [3]{b} \log \left (b^{2/3}-(b \coth (c+d x))^{2/3}\right )}{2 d}+\frac {\sqrt [3]{b} \log \left (b^{4/3}+b^{2/3} (b \coth (c+d x))^{2/3}+(b \coth (c+d x))^{4/3}\right )}{4 d}+\frac {\left (3 \sqrt [3]{b}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 (b \coth (c+d x))^{2/3}}{b^{2/3}}\right )}{2 d}\\ &=-\frac {\sqrt {3} \sqrt [3]{b} \tan ^{-1}\left (\frac {1+\frac {2 (b \coth (c+d x))^{2/3}}{b^{2/3}}}{\sqrt {3}}\right )}{2 d}-\frac {\sqrt [3]{b} \log \left (b^{2/3}-(b \coth (c+d x))^{2/3}\right )}{2 d}+\frac {\sqrt [3]{b} \log \left (b^{4/3}+b^{2/3} (b \coth (c+d x))^{2/3}+(b \coth (c+d x))^{4/3}\right )}{4 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.03, size = 38, normalized size = 0.29 \begin {gather*} \frac {3 (b \coth (c+d x))^{4/3} \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\coth ^2(c+d x)\right )}{4 b d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.39, size = 109, 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 {2}{3}}-\left (b^{2}\right )^{\frac {1}{3}}\right )}{6 \left (b^{2}\right )^{\frac {1}{3}}}-\frac {\ln \left (\left (b \coth \left (d x +c \right )\right )^{\frac {4}{3}}+\left (b^{2}\right )^{\frac {1}{3}} \left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}+\left (b^{2}\right )^{\frac {2}{3}}\right )}{12 \left (b^{2}\right )^{\frac {1}{3}}}+\frac {\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 \left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}}{\left (b^{2}\right )^{\frac {1}{3}}}+1\right )}{3}\right )}{6 \left (b^{2}\right )^{\frac {1}{3}}}\right )}{d}\) | \(109\) |
default | \(-\frac {3 b \left (\frac {\ln \left (\left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}-\left (b^{2}\right )^{\frac {1}{3}}\right )}{6 \left (b^{2}\right )^{\frac {1}{3}}}-\frac {\ln \left (\left (b \coth \left (d x +c \right )\right )^{\frac {4}{3}}+\left (b^{2}\right )^{\frac {1}{3}} \left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}+\left (b^{2}\right )^{\frac {2}{3}}\right )}{12 \left (b^{2}\right )^{\frac {1}{3}}}+\frac {\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\frac {2 \left (b \coth \left (d x +c \right )\right )^{\frac {2}{3}}}{\left (b^{2}\right )^{\frac {1}{3}}}+1\right )}{3}\right )}{6 \left (b^{2}\right )^{\frac {1}{3}}}\right )}{d}\) | \(109\) |
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. 291 vs.
\(2 (99) = 198\).
time = 0.38, size = 291, normalized size = 2.20 \begin {gather*} -\frac {2 \, \sqrt {3} \left (-b\right )^{\frac {1}{3}} \arctan \left (-\frac {\sqrt {3} b - 2 \, \sqrt {3} \left (-b\right )^{\frac {1}{3}} \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {2}{3}}}{3 \, b}\right ) - 2 \, \left (-b\right )^{\frac {1}{3}} \log \left (-\left (-b\right )^{\frac {2}{3}} + \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {2}{3}}\right ) + \left (-b\right )^{\frac {1}{3}} \log \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} - 1\right )} \left (-b\right )^{\frac {2}{3}} \left (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {2}{3}} - {\left (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 (-b\right )^{\frac {1}{3}} + {\left (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 (\frac {b \cosh \left (d x + c\right )}{\sinh \left (d x + c\right )}\right )^{\frac {1}{3}}}{\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 )}{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 \sqrt [3]{b \coth {\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. 217 vs.
\(2 (99) = 198\).
time = 0.56, size = 217, normalized size = 1.64 \begin {gather*} -\frac {b {\left (\frac {2 \, \sqrt {3} {\left | b \right |}^{\frac {4}{3}} \arctan \left (\frac {\sqrt {3} {\left (2 \, \left (\frac {b e^{\left (2 \, d x + 2 \, c\right )} + b}{e^{\left (2 \, d x + 2 \, c\right )} - 1}\right )^{\frac {2}{3}} + {\left | b \right |}^{\frac {2}{3}}\right )}}{3 \, {\left | b \right |}^{\frac {2}{3}}}\right )}{b^{2}} - \frac {{\left | b \right |}^{\frac {4}{3}} \log \left (\left (\frac {b e^{\left (2 \, d x + 2 \, c\right )} + b}{e^{\left (2 \, d x + 2 \, c\right )} - 1}\right )^{\frac {2}{3}} {\left | b \right |}^{\frac {2}{3}} + {\left | b \right |}^{\frac {4}{3}} + \frac {{\left (b e^{\left (2 \, d x + 2 \, c\right )} + b\right )} \left (\frac {b e^{\left (2 \, d x + 2 \, c\right )} + b}{e^{\left (2 \, d x + 2 \, c\right )} - 1}\right )^{\frac {1}{3}}}{e^{\left (2 \, d x + 2 \, c\right )} - 1}\right )}{b^{2}} + \frac {2 \, {\left | b \right |}^{\frac {4}{3}} \log \left ({\left | \left (\frac {b e^{\left (2 \, d x + 2 \, c\right )} + b}{e^{\left (2 \, d x + 2 \, c\right )} - 1}\right )^{\frac {2}{3}} - {\left | b \right |}^{\frac {2}{3}} \right |}\right )}{b^{2}}\right )}}{4 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.52, size = 146, normalized size = 1.11 \begin {gather*} \frac {{\left (-b\right )}^{1/3}\,\ln \left (81\,{\left (-b\right )}^{16/3}\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{2/3}-81\,b^6\right )}{2\,d}-\frac {{\left (-b\right )}^{1/3}\,\ln \left (-\frac {81\,b^6}{d^4}-\frac {81\,{\left (-b\right )}^{16/3}\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{2/3}}{d^4}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{2\,d}+\frac {{\left (-b\right )}^{1/3}\,\ln \left (-\frac {81\,b^6}{d^4}+\frac {162\,{\left (-b\right )}^{16/3}\,\left (-\frac {1}{4}+\frac {\sqrt {3}\,1{}\mathrm {i}}{4}\right )\,{\left (b\,\mathrm {coth}\left (c+d\,x\right )\right )}^{2/3}}{d^4}\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]
________________________________________________________________________________________