Optimal. Leaf size=94 \[ -\frac{m x^{m-1} \text{Hypergeometric2F1}\left (1,m-1,m,\frac{b x}{b x-\tanh ^{-1}(\tanh (a+b x))}\right )}{2 b^2 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{m x^{m-1}}{2 b^2 \tanh ^{-1}(\tanh (a+b x))}-\frac{x^m}{2 b \tanh ^{-1}(\tanh (a+b x))^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0606245, antiderivative size = 94, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2168, 2164} \[ -\frac{m x^{m-1} \, _2F_1\left (1,m-1;m;\frac{b x}{b x-\tanh ^{-1}(\tanh (a+b x))}\right )}{2 b^2 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}-\frac{m x^{m-1}}{2 b^2 \tanh ^{-1}(\tanh (a+b x))}-\frac{x^m}{2 b \tanh ^{-1}(\tanh (a+b x))^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2168
Rule 2164
Rubi steps
\begin{align*} \int \frac{x^m}{\tanh ^{-1}(\tanh (a+b x))^3} \, dx &=-\frac{x^m}{2 b \tanh ^{-1}(\tanh (a+b x))^2}+\frac{m \int \frac{x^{-1+m}}{\tanh ^{-1}(\tanh (a+b x))^2} \, dx}{2 b}\\ &=-\frac{x^m}{2 b \tanh ^{-1}(\tanh (a+b x))^2}-\frac{m x^{-1+m}}{2 b^2 \tanh ^{-1}(\tanh (a+b x))}-\frac{((1-m) m) \int \frac{x^{-2+m}}{\tanh ^{-1}(\tanh (a+b x))} \, dx}{2 b^2}\\ &=-\frac{x^m}{2 b \tanh ^{-1}(\tanh (a+b x))^2}-\frac{m x^{-1+m}}{2 b^2 \tanh ^{-1}(\tanh (a+b x))}-\frac{m x^{-1+m} \, _2F_1\left (1,-1+m;m;\frac{b x}{b x-\tanh ^{-1}(\tanh (a+b x))}\right )}{2 b^2 \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}\\ \end{align*}
Mathematica [A] time = 0.47992, size = 51, normalized size = 0.54 \[ \frac{x^{m+1} \text{Hypergeometric2F1}\left (3,m+1,m+2,-\frac{b x}{\tanh ^{-1}(\tanh (a+b x))-b x}\right )}{(m+1) \left (\tanh ^{-1}(\tanh (a+b x))-b x\right )^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.675, size = 0, normalized size = 0. \begin{align*} \int{\frac{{x}^{m}}{ \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{3}}}\, dx \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{x^{m}}{\operatorname{artanh}\left (\tanh \left (b x + a\right )\right )^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{x^{m}}{\operatorname{artanh}\left (\tanh \left (b x + a\right )\right )^{3}}, x\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{x^{m}}{\operatorname{atanh}^{3}{\left (\tanh{\left (a + b x \right )} \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{m}}{\operatorname{artanh}\left (\tanh \left (b x + a\right )\right )^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]