Optimal. Leaf size=92 \[ \frac{3 b^2 \tan ^{-1}\left (\frac{\sqrt{\tanh ^{-1}(\tanh (a+b x))}}{\sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{4 \sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}-\frac{\tanh ^{-1}(\tanh (a+b x))^{3/2}}{2 x^2}-\frac{3 b \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{4 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0490936, antiderivative size = 92, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {2168, 2161} \[ \frac{3 b^2 \tan ^{-1}\left (\frac{\sqrt{\tanh ^{-1}(\tanh (a+b x))}}{\sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{4 \sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}-\frac{\tanh ^{-1}(\tanh (a+b x))^{3/2}}{2 x^2}-\frac{3 b \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{4 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2168
Rule 2161
Rubi steps
\begin{align*} \int \frac{\tanh ^{-1}(\tanh (a+b x))^{3/2}}{x^3} \, dx &=-\frac{\tanh ^{-1}(\tanh (a+b x))^{3/2}}{2 x^2}+\frac{1}{4} (3 b) \int \frac{\sqrt{\tanh ^{-1}(\tanh (a+b x))}}{x^2} \, dx\\ &=-\frac{3 b \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{4 x}-\frac{\tanh ^{-1}(\tanh (a+b x))^{3/2}}{2 x^2}+\frac{1}{8} \left (3 b^2\right ) \int \frac{1}{x \sqrt{\tanh ^{-1}(\tanh (a+b x))}} \, dx\\ &=\frac{3 b^2 \tan ^{-1}\left (\frac{\sqrt{\tanh ^{-1}(\tanh (a+b x))}}{\sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{4 \sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}-\frac{3 b \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{4 x}-\frac{\tanh ^{-1}(\tanh (a+b x))^{3/2}}{2 x^2}\\ \end{align*}
Mathematica [A] time = 0.0594817, size = 88, normalized size = 0.96 \[ \frac{1}{4} \left (-\frac{3 b^2 \tanh ^{-1}\left (\frac{\sqrt{\tanh ^{-1}(\tanh (a+b x))}}{\sqrt{\tanh ^{-1}(\tanh (a+b x))-b x}}\right )}{\sqrt{\tanh ^{-1}(\tanh (a+b x))-b x}}-\frac{2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{x^2}-\frac{3 b \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.115, size = 91, normalized size = 1. \begin{align*} 2\,{b}^{2} \left ({\frac{-5/8\, \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{3/2}+ \left ( 3/8\,{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -3/8\,bx \right ) \sqrt{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) }}{{b}^{2}{x}^{2}}}-3/8\,{\frac{1}{\sqrt{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx}}{\it Artanh} \left ({\frac{\sqrt{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) }}{\sqrt{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx}}} \right ) } \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{artanh}\left (\tanh \left (b x + a\right )\right )^{\frac{3}{2}}}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.14147, size = 296, normalized size = 3.22 \begin{align*} \left [\frac{3 \, \sqrt{a} b^{2} x^{2} \log \left (\frac{b x - 2 \, \sqrt{b x + a} \sqrt{a} + 2 \, a}{x}\right ) - 2 \,{\left (5 \, a b x + 2 \, a^{2}\right )} \sqrt{b x + a}}{8 \, a x^{2}}, \frac{3 \, \sqrt{-a} b^{2} x^{2} \arctan \left (\frac{\sqrt{b x + a} \sqrt{-a}}{a}\right ) -{\left (5 \, a b x + 2 \, a^{2}\right )} \sqrt{b x + a}}{4 \, a x^{2}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{atanh}^{\frac{3}{2}}{\left (\tanh{\left (a + b x \right )} \right )}}{x^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17312, size = 99, normalized size = 1.08 \begin{align*} \frac{\sqrt{2}{\left (\frac{3 \, \sqrt{2} b^{3} \arctan \left (\frac{\sqrt{b x + a}}{\sqrt{-a}}\right )}{\sqrt{-a}} - \frac{\sqrt{2}{\left (5 \,{\left (b x + a\right )}^{\frac{3}{2}} b^{3} - 3 \, \sqrt{b x + a} a b^{3}\right )}}{b^{2} x^{2}}\right )}}{8 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]