Optimal. Leaf size=186 \[ \frac{256 b^3 \sqrt{x}}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5 \sqrt{\tanh ^{-1}(\tanh (a+b x))}}-\frac{128 b^3 \sqrt{x}}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{32 b^2}{5 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{16 b}{15 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{2}{5 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \tanh ^{-1}(\tanh (a+b x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.104424, antiderivative size = 186, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {2171, 2167} \[ \frac{256 b^3 \sqrt{x}}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5 \sqrt{\tanh ^{-1}(\tanh (a+b x))}}-\frac{128 b^3 \sqrt{x}}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{32 b^2}{5 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{16 b}{15 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{2}{5 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \tanh ^{-1}(\tanh (a+b x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2171
Rule 2167
Rubi steps
\begin{align*} \int \frac{1}{x^{7/2} \tanh ^{-1}(\tanh (a+b x))^{5/2}} \, dx &=\frac{2}{5 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{(8 b) \int \frac{1}{x^{5/2} \tanh ^{-1}(\tanh (a+b x))^{5/2}} \, dx}{5 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}\\ &=\frac{16 b}{15 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{2}{5 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{\left (16 b^2\right ) \int \frac{1}{x^{3/2} \tanh ^{-1}(\tanh (a+b x))^{5/2}} \, dx}{5 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}\\ &=\frac{32 b^2}{5 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{16 b}{15 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{2}{5 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \tanh ^{-1}(\tanh (a+b x))^{3/2}}-\frac{\left (64 b^3\right ) \int \frac{1}{\sqrt{x} \tanh ^{-1}(\tanh (a+b x))^{5/2}} \, dx}{5 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )}\\ &=-\frac{128 b^3 \sqrt{x}}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{32 b^2}{5 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{16 b}{15 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{2}{5 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \tanh ^{-1}(\tanh (a+b x))^{3/2}}-\frac{\left (128 b^3\right ) \int \frac{1}{\sqrt{x} \tanh ^{-1}(\tanh (a+b x))^{3/2}} \, dx}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )^2}\\ &=-\frac{128 b^3 \sqrt{x}}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{32 b^2}{5 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{16 b}{15 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{2}{5 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \tanh ^{-1}(\tanh (a+b x))^{3/2}}+\frac{256 b^3 \sqrt{x}}{15 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5 \sqrt{\tanh ^{-1}(\tanh (a+b x))}}\\ \end{align*}
Mathematica [A] time = 0.0647976, size = 100, normalized size = 0.54 \[ \frac{2 \left (60 b^3 x^3 \tanh ^{-1}(\tanh (a+b x))+90 b^2 x^2 \tanh ^{-1}(\tanh (a+b x))^2-20 b x \tanh ^{-1}(\tanh (a+b x))^3+3 \tanh ^{-1}(\tanh (a+b x))^4-5 b^4 x^4\right )}{15 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5 \tanh ^{-1}(\tanh (a+b x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.12, size = 196, normalized size = 1.1 \begin{align*} -{\frac{2}{5\,{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -5\,bx}{x}^{-{\frac{5}{2}}} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{-{\frac{3}{2}}}}-{\frac{16\,b}{5\,{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -5\,bx} \left ( -{\frac{1}{3\,{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -3\,bx}{x}^{-{\frac{3}{2}}} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{-{\frac{3}{2}}}}-2\,{\frac{b}{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx} \left ( -{\frac{1}{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) \sqrt{x} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{3/2}}}-4\,{\frac{b}{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx} \left ( 1/3\,{\frac{\sqrt{x}}{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{3/2}}}+2/3\,{\frac{\sqrt{x}}{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{2}\sqrt{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) }}} \right ) } \right ) } \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.51348, size = 90, normalized size = 0.48 \begin{align*} -\frac{2 \,{\left (128 \, b^{5} x^{5} + 320 \, a b^{4} x^{4} + 240 \, a^{2} b^{3} x^{3} + 40 \, a^{3} b^{2} x^{2} - 5 \, a^{4} b x + 3 \, a^{5}\right )}}{15 \,{\left (b x + a\right )}^{\frac{5}{2}} a^{5} x^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.07344, size = 181, normalized size = 0.97 \begin{align*} -\frac{2 \,{\left (128 \, b^{4} x^{4} + 192 \, a b^{3} x^{3} + 48 \, a^{2} b^{2} x^{2} - 8 \, a^{3} b x + 3 \, a^{4}\right )} \sqrt{b x + a} \sqrt{x}}{15 \,{\left (a^{5} b^{2} x^{5} + 2 \, a^{6} b x^{4} + a^{7} x^{3}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.44234, size = 234, normalized size = 1.26 \begin{align*} -\frac{2 \, \sqrt{x}{\left (\frac{11 \, b^{4} x}{a^{5}} + \frac{12 \, b^{3}}{a^{4}}\right )}}{3 \,{\left (b x + a\right )}^{\frac{3}{2}}} + \frac{4 \,{\left (45 \, b^{\frac{5}{2}}{\left (\sqrt{b} \sqrt{x} - \sqrt{b x + a}\right )}^{8} - 240 \, a b^{\frac{5}{2}}{\left (\sqrt{b} \sqrt{x} - \sqrt{b x + a}\right )}^{6} + 490 \, a^{2} b^{\frac{5}{2}}{\left (\sqrt{b} \sqrt{x} - \sqrt{b x + a}\right )}^{4} - 320 \, a^{3} b^{\frac{5}{2}}{\left (\sqrt{b} \sqrt{x} - \sqrt{b x + a}\right )}^{2} + 73 \, a^{4} b^{\frac{5}{2}}\right )}}{15 \,{\left ({\left (\sqrt{b} \sqrt{x} - \sqrt{b x + a}\right )}^{2} - a\right )}^{5} a^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]