Optimal. Leaf size=167 \[ \frac {5 b^4}{64 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \sqrt {\tanh ^{-1}(\tanh (a+b x))}}+\frac {5 b^4 \tan ^{-1}\left (\frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{64 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^{3/2}}-\frac {5 b^3}{64 x \sqrt {\tanh ^{-1}(\tanh (a+b x))}}-\frac {5 b^2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{32 x^2}-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4}-\frac {5 b \tanh ^{-1}(\tanh (a+b x))^{3/2}}{24 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 167, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2168, 2163, 2161} \[ -\frac {5 b^2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{32 x^2}+\frac {5 b^4}{64 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \sqrt {\tanh ^{-1}(\tanh (a+b x))}}-\frac {5 b^3}{64 x \sqrt {\tanh ^{-1}(\tanh (a+b x))}}+\frac {5 b^4 \tan ^{-1}\left (\frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{64 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^{3/2}}-\frac {5 b \tanh ^{-1}(\tanh (a+b x))^{3/2}}{24 x^3}-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2161
Rule 2163
Rule 2168
Rubi steps
\begin {align*} \int \frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{x^5} \, dx &=-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4}+\frac {1}{8} (5 b) \int \frac {\tanh ^{-1}(\tanh (a+b x))^{3/2}}{x^4} \, dx\\ &=-\frac {5 b \tanh ^{-1}(\tanh (a+b x))^{3/2}}{24 x^3}-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4}+\frac {1}{16} \left (5 b^2\right ) \int \frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))}}{x^3} \, dx\\ &=-\frac {5 b^2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{32 x^2}-\frac {5 b \tanh ^{-1}(\tanh (a+b x))^{3/2}}{24 x^3}-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4}+\frac {1}{64} \left (5 b^3\right ) \int \frac {1}{x^2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}} \, dx\\ &=-\frac {5 b^3}{64 x \sqrt {\tanh ^{-1}(\tanh (a+b x))}}-\frac {5 b^2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{32 x^2}-\frac {5 b \tanh ^{-1}(\tanh (a+b x))^{3/2}}{24 x^3}-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4}-\frac {1}{128} \left (5 b^4\right ) \int \frac {1}{x \tanh ^{-1}(\tanh (a+b x))^{3/2}} \, dx\\ &=-\frac {5 b^3}{64 x \sqrt {\tanh ^{-1}(\tanh (a+b x))}}+\frac {5 b^4}{64 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \sqrt {\tanh ^{-1}(\tanh (a+b x))}}-\frac {5 b^2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{32 x^2}-\frac {5 b \tanh ^{-1}(\tanh (a+b x))^{3/2}}{24 x^3}-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4}-\frac {\left (5 b^4\right ) \int \frac {1}{x \sqrt {\tanh ^{-1}(\tanh (a+b x))}} \, dx}{128 \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )}\\ &=\frac {5 b^4 \tan ^{-1}\left (\frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{64 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^{3/2}}-\frac {5 b^3}{64 x \sqrt {\tanh ^{-1}(\tanh (a+b x))}}+\frac {5 b^4}{64 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \sqrt {\tanh ^{-1}(\tanh (a+b x))}}-\frac {5 b^2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{32 x^2}-\frac {5 b \tanh ^{-1}(\tanh (a+b x))^{3/2}}{24 x^3}-\frac {\tanh ^{-1}(\tanh (a+b x))^{5/2}}{4 x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.12, size = 134, normalized size = 0.80 \[ \frac {5 b^4 \tanh ^{-1}\left (\frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))-b x}}\right )}{64 \left (\tanh ^{-1}(\tanh (a+b x))-b x\right )^{3/2}}-\frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))} \left (10 b^2 x^2 \tanh ^{-1}(\tanh (a+b x))+8 b x \tanh ^{-1}(\tanh (a+b x))^2-48 \tanh ^{-1}(\tanh (a+b x))^3+15 b^3 x^3\right )}{192 x^4 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 167, normalized size = 1.00 \[ \left [\frac {15 \, \sqrt {a} b^{4} x^{4} \log \left (\frac {b x + 2 \, \sqrt {b x + a} \sqrt {a} + 2 \, a}{x}\right ) - 2 \, {\left (15 \, a b^{3} x^{3} + 118 \, a^{2} b^{2} x^{2} + 136 \, a^{3} b x + 48 \, a^{4}\right )} \sqrt {b x + a}}{384 \, a^{2} x^{4}}, -\frac {15 \, \sqrt {-a} b^{4} x^{4} \arctan \left (\frac {\sqrt {b x + a} \sqrt {-a}}{a}\right ) + {\left (15 \, a b^{3} x^{3} + 118 \, a^{2} b^{2} x^{2} + 136 \, a^{3} b x + 48 \, a^{4}\right )} \sqrt {b x + a}}{192 \, a^{2} x^{4}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.39, size = 108, normalized size = 0.65 \[ -\frac {\sqrt {2} {\left (\frac {15 \, \sqrt {2} b^{5} \arctan \left (\frac {\sqrt {b x + a}}{\sqrt {-a}}\right )}{\sqrt {-a} a} + \frac {\sqrt {2} {\left (15 \, {\left (b x + a\right )}^{\frac {7}{2}} b^{5} + 73 \, {\left (b x + a\right )}^{\frac {5}{2}} a b^{5} - 55 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} b^{5} + 15 \, \sqrt {b x + a} a^{3} b^{5}\right )}}{a b^{4} x^{4}}\right )}}{384 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.15, size = 169, normalized size = 1.01 \[ 2 b^{4} \left (\frac {-\frac {5 \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {7}{2}}}{128 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )}-\frac {73 \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {5}{2}}}{384}+\left (\frac {55 \arctanh \left (\tanh \left (b x +a \right )\right )}{384}-\frac {55 b x}{384}\right ) \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {3}{2}}+\left (-\frac {5 a^{2}}{128}-\frac {5 a \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )}{64}-\frac {5 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )^{2}}{128}\right ) \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{b^{4} x^{4}}+\frac {5 \arctanh \left (\frac {\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )-b x}}\right )}{128 \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right )^{\frac {3}{2}}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {artanh}\left (\tanh \left (b x + a\right )\right )^{\frac {5}{2}}}{x^{5}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.85, size = 1069, normalized size = 6.40 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {atanh}^{\frac {5}{2}}{\left (\tanh {\left (a + b x \right )} \right )}}{x^{5}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________