Optimal. Leaf size=75 \[ \frac {b^{3/2} \text {ArcTan}\left (\frac {\sqrt {b \tanh (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b \tanh (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b \sqrt {b \tanh (c+d x)}}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3554, 3557,
335, 218, 212, 209} \begin {gather*} \frac {b^{3/2} \text {ArcTan}\left (\frac {\sqrt {b \tanh (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b \tanh (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b \sqrt {b \tanh (c+d x)}}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 335
Rule 3554
Rule 3557
Rubi steps
\begin {align*} \int (b \tanh (c+d x))^{3/2} \, dx &=-\frac {2 b \sqrt {b \tanh (c+d x)}}{d}+b^2 \int \frac {1}{\sqrt {b \tanh (c+d x)}} \, dx\\ &=-\frac {2 b \sqrt {b \tanh (c+d x)}}{d}-\frac {b^3 \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (-b^2+x^2\right )} \, dx,x,b \tanh (c+d x)\right )}{d}\\ &=-\frac {2 b \sqrt {b \tanh (c+d x)}}{d}-\frac {\left (2 b^3\right ) \text {Subst}\left (\int \frac {1}{-b^2+x^4} \, dx,x,\sqrt {b \tanh (c+d x)}\right )}{d}\\ &=-\frac {2 b \sqrt {b \tanh (c+d x)}}{d}+\frac {b^2 \text {Subst}\left (\int \frac {1}{b-x^2} \, dx,x,\sqrt {b \tanh (c+d x)}\right )}{d}+\frac {b^2 \text {Subst}\left (\int \frac {1}{b+x^2} \, dx,x,\sqrt {b \tanh (c+d x)}\right )}{d}\\ &=\frac {b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b \tanh (c+d x)}}{\sqrt {b}}\right )}{d}+\frac {b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b \tanh (c+d x)}}{\sqrt {b}}\right )}{d}-\frac {2 b \sqrt {b \tanh (c+d x)}}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 61, normalized size = 0.81 \begin {gather*} \frac {\left (\text {ArcTan}\left (\sqrt {\tanh (c+d x)}\right )+\tanh ^{-1}\left (\sqrt {\tanh (c+d x)}\right )-2 \sqrt {\tanh (c+d x)}\right ) (b \tanh (c+d x))^{3/2}}{d \tanh ^{\frac {3}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.74, size = 58, normalized size = 0.77
method | result | size |
derivativedivides | \(-\frac {2 b \left (\sqrt {b \tanh \left (d x +c \right )}-\frac {\sqrt {b}\, \arctanh \left (\frac {\sqrt {b \tanh \left (d x +c \right )}}{\sqrt {b}}\right )}{2}-\frac {\sqrt {b}\, \arctan \left (\frac {\sqrt {b \tanh \left (d x +c \right )}}{\sqrt {b}}\right )}{2}\right )}{d}\) | \(58\) |
default | \(-\frac {2 b \left (\sqrt {b \tanh \left (d x +c \right )}-\frac {\sqrt {b}\, \arctanh \left (\frac {\sqrt {b \tanh \left (d x +c \right )}}{\sqrt {b}}\right )}{2}-\frac {\sqrt {b}\, \arctan \left (\frac {\sqrt {b \tanh \left (d x +c \right )}}{\sqrt {b}}\right )}{2}\right )}{d}\) | \(58\) |
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 (61) = 122\).
time = 0.51, size = 638, normalized size = 8.51 \begin {gather*} \left [-\frac {2 \, \sqrt {-b} b \arctan \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}\right )} \sqrt {-b} \sqrt {\frac {b \sinh \left (d x + c\right )}{\cosh \left (d x + c\right )}}}{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 ) - \sqrt {-b} b \log \left (-\frac {b \cosh \left (d x + c\right )^{4} + 4 \, b \cosh \left (d x + c\right )^{3} \sinh \left (d x + c\right ) + 6 \, b \cosh \left (d x + c\right )^{2} \sinh \left (d x + c\right )^{2} + 4 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + b \sinh \left (d x + c\right )^{4} + 2 \, {\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 )} \sqrt {-b} \sqrt {\frac {b \sinh \left (d x + c\right )}{\cosh \left (d x + c\right )}} - 2 \, b}{\cosh \left (d x + c\right )^{4} + 4 \, \cosh \left (d x + c\right )^{3} \sinh \left (d x + c\right ) + 6 \, \cosh \left (d x + c\right )^{2} \sinh \left (d x + c\right )^{2} + 4 \, \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + \sinh \left (d x + c\right )^{4}}\right ) + 8 \, b \sqrt {\frac {b \sinh \left (d x + c\right )}{\cosh \left (d x + c\right )}}}{4 \, d}, -\frac {2 \, b^{\frac {3}{2}} \arctan \left (\frac {\sqrt {b} \sqrt {\frac {b \sinh \left (d x + c\right )}{\cosh \left (d x + c\right )}}}{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 ) - b^{\frac {3}{2}} \log \left (2 \, b \cosh \left (d x + c\right )^{4} + 8 \, b \cosh \left (d x + c\right )^{3} \sinh \left (d x + c\right ) + 12 \, b \cosh \left (d x + c\right )^{2} \sinh \left (d x + c\right )^{2} + 8 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + 2 \, b \sinh \left (d x + c\right )^{4} + 2 \, {\left (\cosh \left (d x + c\right )^{4} + 4 \, \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3} + \sinh \left (d x + c\right )^{4} + {\left (6 \, \cosh \left (d x + c\right )^{2} + 1\right )} \sinh \left (d x + c\right )^{2} + \cosh \left (d x + c\right )^{2} + 2 \, {\left (2 \, \cosh \left (d x + c\right )^{3} + \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right )\right )} \sqrt {b} \sqrt {\frac {b \sinh \left (d x + c\right )}{\cosh \left (d x + c\right )}} - b\right ) + 8 \, b \sqrt {\frac {b \sinh \left (d x + c\right )}{\cosh \left (d x + c\right )}}}{4 \, d}\right ] \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 \tanh {\left (c + d x \right )}\right )^{\frac {3}{2}}\, 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. 131 vs.
\(2 (61) = 122\).
time = 0.45, size = 131, normalized size = 1.75 \begin {gather*} \frac {{\left (2 \, \sqrt {b} \arctan \left (-\frac {\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b}}{\sqrt {b}}\right ) - \sqrt {b} \log \left ({\left | -\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} + \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b} \right |}\right ) - \frac {8 \, b}{\sqrt {b} e^{\left (2 \, d x + 2 \, c\right )} - \sqrt {b e^{\left (4 \, d x + 4 \, c\right )} - b} + \sqrt {b}}\right )} b}{2 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.16, size = 61, normalized size = 0.81 \begin {gather*} \frac {b^{3/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,\mathrm {tanh}\left (c+d\,x\right )}}{\sqrt {b}}\right )}{d}-\frac {2\,b\,\sqrt {b\,\mathrm {tanh}\left (c+d\,x\right )}}{d}+\frac {b^{3/2}\,\mathrm {atanh}\left (\frac {\sqrt {b\,\mathrm {tanh}\left (c+d\,x\right )}}{\sqrt {b}}\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________