Optimal. Leaf size=50 \[ -\frac {\left (b \coth ^3(c+d x)\right )^{2/3} \tanh (c+d x)}{d}+x \left (b \coth ^3(c+d x)\right )^{2/3} \tanh ^2(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*} x \tanh ^2(c+d x) \left (b \coth ^3(c+d x)\right )^{2/3}-\frac {\tanh (c+d x) \left (b \coth ^3(c+d x)\right )^{2/3}}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3554
Rule 3739
Rubi steps
\begin {align*} \int \left (b \coth ^3(c+d x)\right )^{2/3} \, dx &=\left (\left (b \coth ^3(c+d x)\right )^{2/3} \tanh ^2(c+d x)\right ) \int \coth ^2(c+d x) \, dx\\ &=-\frac {\left (b \coth ^3(c+d x)\right )^{2/3} \tanh (c+d x)}{d}+\left (\left (b \coth ^3(c+d x)\right )^{2/3} \tanh ^2(c+d x)\right ) \int 1 \, dx\\ &=-\frac {\left (b \coth ^3(c+d x)\right )^{2/3} \tanh (c+d x)}{d}+x \left (b \coth ^3(c+d x)\right )^{2/3} \tanh ^2(c+d x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.02, size = 41, normalized size = 0.82 \begin {gather*} -\frac {\left (b \coth ^3(c+d x)\right )^{2/3} \, _2F_1\left (-\frac {1}{2},1;\frac {1}{2};\tanh ^2(c+d x)\right ) \tanh (c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(118\) vs.
\(2(46)=92\).
time = 2.55, size = 119, normalized size = 2.38
method | result | size |
risch | \(\frac {\left (\frac {b \left (1+{\mathrm e}^{2 d x +2 c}\right )^{3}}{\left ({\mathrm e}^{2 d x +2 c}-1\right )^{3}}\right )^{\frac {2}{3}} \left ({\mathrm e}^{2 d x +2 c}-1\right )^{2} x}{\left (1+{\mathrm e}^{2 d x +2 c}\right )^{2}}-\frac {2 \left (\frac {b \left (1+{\mathrm e}^{2 d x +2 c}\right )^{3}}{\left ({\mathrm e}^{2 d x +2 c}-1\right )^{3}}\right )^{\frac {2}{3}} \left ({\mathrm e}^{2 d x +2 c}-1\right )}{\left (1+{\mathrm e}^{2 d x +2 c}\right )^{2} d}\) | \(119\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 34, normalized size = 0.68 \begin {gather*} \frac {{\left (d x + c\right )} b^{\frac {2}{3}}}{d} + \frac {2 \, b^{\frac {2}{3}}}{d {\left (e^{\left (-2 \, d x - 2 \, c\right )} - 1\right )}} \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. 392 vs.
\(2 (46) = 92\).
time = 0.36, size = 392, normalized size = 7.84 \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 )} \left (\frac {b e^{\left (6 \, d x + 6 \, c\right )} + 3 \, b e^{\left (4 \, d x + 4 \, c\right )} + 3 \, b e^{\left (2 \, d x + 2 \, c\right )} + b}{e^{\left (6 \, d x + 6 \, c\right )} - 3 \, e^{\left (4 \, d x + 4 \, c\right )} + 3 \, e^{\left (2 \, d x + 2 \, c\right )} - 1}\right )^{\frac {2}{3}}}{d \cosh \left (d x + c\right )^{2} + {\left (d e^{\left (4 \, d x + 4 \, c\right )} + 2 \, d e^{\left (2 \, d x + 2 \, c\right )} + d\right )} \sinh \left (d x + c\right )^{2} + {\left (d \cosh \left (d x + c\right )^{2} - d\right )} e^{\left (4 \, d x + 4 \, c\right )} + 2 \, {\left (d \cosh \left (d x + c\right )^{2} - d\right )} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, {\left (d \cosh \left (d x + c\right ) e^{\left (4 \, d x + 4 \, c\right )} + 2 \, d \cosh \left (d x + c\right ) e^{\left (2 \, d x + 2 \, c\right )} + d \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) - d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 136 vs.
\(2 (44) = 88\).
time = 9.64, size = 136, normalized size = 2.72 \begin {gather*} \begin {cases} x \left (b \coth ^{3}{\left (c \right )}\right )^{\frac {2}{3}} & \text {for}\: d = 0 \\- \frac {\left (b \coth ^{3}{\left (d x + \log {\left (- e^{- d x} \right )} \right )}\right )^{\frac {2}{3}} \log {\left (- e^{- d x} \right )}}{d} & \text {for}\: c = \log {\left (- e^{- d x} \right )} \\- \frac {\left (b \coth ^{3}{\left (d x + \log {\left (e^{- d x} \right )} \right )}\right )^{\frac {2}{3}} \log {\left (e^{- d x} \right )}}{d} & \text {for}\: c = \log {\left (e^{- d x} \right )} \\x \left (\frac {b}{\tanh ^{3}{\left (c + d x \right )}}\right )^{\frac {2}{3}} \tanh ^{2}{\left (c + d x \right )} - \frac {\left (\frac {b}{\tanh ^{3}{\left (c + d x \right )}}\right )^{\frac {2}{3}} \tanh {\left (c + d x \right )}}{d} & \text {otherwise} \end {cases} \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.02 \begin {gather*} \int {\left (b\,{\mathrm {coth}\left (c+d\,x\right )}^3\right )}^{2/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________