Optimal. Leaf size=70 \[ 2 b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right )-\frac {2 b \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}}-\frac {2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 x^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2199, 2196}
\begin {gather*} 2 b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right )-\frac {2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 x^{3/2}}-\frac {2 b \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2196
Rule 2199
Rubi steps
\begin {align*} \int \frac {\tanh ^{-1}(\tanh (a+b x))^{3/2}}{x^{5/2}} \, dx &=-\frac {2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 x^{3/2}}+b \int \frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))}}{x^{3/2}} \, dx\\ &=-\frac {2 b \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}}-\frac {2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 x^{3/2}}+b^2 \int \frac {1}{\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}} \, dx\\ &=2 b^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right )-\frac {2 b \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}}-\frac {2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 x^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 74, normalized size = 1.06 \begin {gather*} -\frac {2 \left (3 b x \sqrt {\tanh ^{-1}(\tanh (a+b x))}+\tanh ^{-1}(\tanh (a+b x))^{3/2}-3 b^{3/2} x^{3/2} \log \left (b \sqrt {x}+\sqrt {b} \sqrt {\tanh ^{-1}(\tanh (a+b x))}\right )\right )}{3 x^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(314\) vs.
\(2(52)=104\).
time = 0.12, size = 315, normalized size = 4.50
method | result | size |
derivativedivides | \(-\frac {2 \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {5}{2}}}{3 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right ) x^{\frac {3}{2}}}-\frac {4 b \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {5}{2}}}{3 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2} \sqrt {x}}+\frac {4 b^{2} \sqrt {x}\, \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {3}{2}}}{3 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{2} a \sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{\frac {3}{2}} \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) a^{2}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {4 b^{\frac {3}{2}} a \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{2} \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right ) \sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{\frac {3}{2}} \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )^{2}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}\) | \(315\) |
default | \(-\frac {2 \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {5}{2}}}{3 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right ) x^{\frac {3}{2}}}-\frac {4 b \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {5}{2}}}{3 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2} \sqrt {x}}+\frac {4 b^{2} \sqrt {x}\, \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {3}{2}}}{3 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{2} a \sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{\frac {3}{2}} \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) a^{2}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {4 b^{\frac {3}{2}} a \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{2} \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right ) \sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}+\frac {2 b^{\frac {3}{2}} \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )^{2}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{2}}\) | \(315\) |
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.34, size = 109, normalized size = 1.56 \begin {gather*} \left [\frac {3 \, b^{\frac {3}{2}} x^{2} \log \left (2 \, b x + 2 \, \sqrt {b x + a} \sqrt {b} \sqrt {x} + a\right ) - 2 \, {\left (4 \, b x + a\right )} \sqrt {b x + a} \sqrt {x}}{3 \, x^{2}}, -\frac {2 \, {\left (3 \, \sqrt {-b} b x^{2} \arctan \left (\frac {\sqrt {b x + a} \sqrt {-b}}{b \sqrt {x}}\right ) + {\left (4 \, b x + a\right )} \sqrt {b x + a} \sqrt {x}\right )}}{3 \, x^{2}}\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 \frac {\operatorname {atanh}^{\frac {3}{2}}{\left (\tanh {\left (a + b x \right )} \right )}}{x^{\frac {5}{2}}}\, 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: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {atanh}\left (\mathrm {tanh}\left (a+b\,x\right )\right )}^{3/2}}{x^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________