Optimal. Leaf size=228 \[ \frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}-\frac{63 b^{5/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{4 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^{11/2}}+\frac{63 b^2}{4 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5}+\frac{21 b}{4 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4}+\frac{63}{20 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3}+\frac{9}{4 b x^{7/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.20206, antiderivative size = 228, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2168, 2163, 2162} \[ \frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}-\frac{63 b^{5/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{4 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^{11/2}}+\frac{63 b^2}{4 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5}+\frac{21 b}{4 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4}+\frac{63}{20 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3}+\frac{9}{4 b x^{7/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2168
Rule 2163
Rule 2162
Rubi steps
\begin{align*} \int \frac{1}{x^{7/2} \tanh ^{-1}(\tanh (a+b x))^3} \, dx &=-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}-\frac{7 \int \frac{1}{x^{9/2} \tanh ^{-1}(\tanh (a+b x))^2} \, dx}{4 b}\\ &=-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}+\frac{63 \int \frac{1}{x^{11/2} \tanh ^{-1}(\tanh (a+b x))} \, dx}{8 b^2}\\ &=\frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}-\frac{63 \int \frac{1}{x^{9/2} \tanh ^{-1}(\tanh (a+b x))} \, dx}{8 b \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )}\\ &=\frac{9}{4 b x^{7/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}+\frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}+\frac{63 \int \frac{1}{x^{7/2} \tanh ^{-1}(\tanh (a+b x))} \, dx}{8 \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )^2}\\ &=\frac{63}{20 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3}+\frac{9}{4 b x^{7/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}+\frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}-\frac{(63 b) \int \frac{1}{x^{5/2} \tanh ^{-1}(\tanh (a+b x))} \, dx}{8 \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )^3}\\ &=\frac{21 b}{4 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4}+\frac{63}{20 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3}+\frac{9}{4 b x^{7/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}+\frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}+\frac{\left (63 b^2\right ) \int \frac{1}{x^{3/2} \tanh ^{-1}(\tanh (a+b x))} \, dx}{8 \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )^4}\\ &=\frac{63 b^2}{4 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5}+\frac{21 b}{4 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4}+\frac{63}{20 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3}+\frac{9}{4 b x^{7/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}+\frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}+\frac{\left (63 b^3\right ) \int \frac{1}{\sqrt{x} \tanh ^{-1}(\tanh (a+b x))} \, dx}{8 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right ) \left (-b x+\tanh ^{-1}(\tanh (a+b x))\right )^4}\\ &=-\frac{63 b^{5/2} \tanh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{b x-\tanh ^{-1}(\tanh (a+b x))}}\right )}{4 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^{11/2}}+\frac{63 b^2}{4 \sqrt{x} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5}+\frac{21 b}{4 x^{3/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^4}+\frac{63}{20 x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^3}+\frac{9}{4 b x^{7/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^2}+\frac{7}{4 b^2 x^{9/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{1}{2 b x^{7/2} \tanh ^{-1}(\tanh (a+b x))^2}+\frac{7}{4 b^2 x^{9/2} \tanh ^{-1}(\tanh (a+b x))}\\ \end{align*}
Mathematica [A] time = 0.327386, size = 174, normalized size = 0.76 \[ \frac{1}{20} \left (\frac{8 \left (-7 b x \tanh ^{-1}(\tanh (a+b x))+\tanh ^{-1}(\tanh (a+b x))^2+36 b^2 x^2\right )}{x^{5/2} \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5}+\frac{75 b^3 \sqrt{x}}{\left (b x-\tanh ^{-1}(\tanh (a+b x))\right )^5 \tanh ^{-1}(\tanh (a+b x))}-\frac{10 b^3 \sqrt{x}}{\tanh ^{-1}(\tanh (a+b x))^2 \left (\tanh ^{-1}(\tanh (a+b x))-b x\right )^4}-\frac{315 b^{5/2} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{\tanh ^{-1}(\tanh (a+b x))-b x}}\right )}{\left (\tanh ^{-1}(\tanh (a+b x))-b x\right )^{11/2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.145, size = 229, normalized size = 1. \begin{align*} -{\frac{2}{5\, \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{3}}{x}^{-{\frac{5}{2}}}}-12\,{\frac{{b}^{2}}{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{5}\sqrt{x}}}+2\,{\frac{b}{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{4}{x}^{3/2}}}-{\frac{15\,{b}^{4}}{4\, \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{5} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{2}}{x}^{{\frac{3}{2}}}}-{\frac{17\,a{b}^{3}}{4\, \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{5} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{2}}\sqrt{x}}-{\frac{17\,{b}^{3} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx-a \right ) }{4\, \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{5} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{2}}\sqrt{x}}-{\frac{63\,{b}^{3}}{4\, \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) ^{5}}\arctan \left ({b\sqrt{x}{\frac{1}{\sqrt{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) b}}}} \right ){\frac{1}{\sqrt{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) -bx \right ) b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.16307, size = 598, normalized size = 2.62 \begin{align*} \left [\frac{315 \,{\left (b^{4} x^{5} + 2 \, a b^{3} x^{4} + a^{2} b^{2} x^{3}\right )} \sqrt{-\frac{b}{a}} \log \left (\frac{b x - 2 \, a \sqrt{x} \sqrt{-\frac{b}{a}} - a}{b x + a}\right ) - 2 \,{\left (315 \, b^{4} x^{4} + 525 \, a b^{3} x^{3} + 168 \, a^{2} b^{2} x^{2} - 24 \, a^{3} b x + 8 \, a^{4}\right )} \sqrt{x}}{40 \,{\left (a^{5} b^{2} x^{5} + 2 \, a^{6} b x^{4} + a^{7} x^{3}\right )}}, \frac{315 \,{\left (b^{4} x^{5} + 2 \, a b^{3} x^{4} + a^{2} b^{2} x^{3}\right )} \sqrt{\frac{b}{a}} \arctan \left (\frac{a \sqrt{\frac{b}{a}}}{b \sqrt{x}}\right ) -{\left (315 \, b^{4} x^{4} + 525 \, a b^{3} x^{3} + 168 \, a^{2} b^{2} x^{2} - 24 \, a^{3} b x + 8 \, a^{4}\right )} \sqrt{x}}{20 \,{\left (a^{5} b^{2} x^{5} + 2 \, a^{6} b x^{4} + a^{7} x^{3}\right )}}\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.14484, size = 108, normalized size = 0.47 \begin{align*} -\frac{63 \, b^{3} \arctan \left (\frac{b \sqrt{x}}{\sqrt{a b}}\right )}{4 \, \sqrt{a b} a^{5}} - \frac{15 \, b^{4} x^{\frac{3}{2}} + 17 \, a b^{3} \sqrt{x}}{4 \,{\left (b x + a\right )}^{2} a^{5}} - \frac{2 \,{\left (30 \, b^{2} x^{2} - 5 \, a b x + a^{2}\right )}}{5 \, a^{5} x^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]