Optimal. Leaf size=71 \[ -\frac {\coth ^{-1}(\tanh (a+b x))^n}{x}+\frac {b \coth ^{-1}(\tanh (a+b x))^n \, _2F_1\left (1,n;1+n;-\frac {\coth ^{-1}(\tanh (a+b x))}{b x-\coth ^{-1}(\tanh (a+b x))}\right )}{b x-\coth ^{-1}(\tanh (a+b x))} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2199, 2195}
\begin {gather*} \frac {b \coth ^{-1}(\tanh (a+b x))^n \, _2F_1\left (1,n;n+1;-\frac {\coth ^{-1}(\tanh (a+b x))}{b x-\coth ^{-1}(\tanh (a+b x))}\right )}{b x-\coth ^{-1}(\tanh (a+b x))}-\frac {\coth ^{-1}(\tanh (a+b x))^n}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2195
Rule 2199
Rubi steps
\begin {align*} \int \frac {\coth ^{-1}(\tanh (a+b x))^n}{x^2} \, dx &=-\frac {\coth ^{-1}(\tanh (a+b x))^n}{x}+(b n) \int \frac {\coth ^{-1}(\tanh (a+b x))^{-1+n}}{x} \, dx\\ &=-\frac {\coth ^{-1}(\tanh (a+b x))^n}{x}+\frac {b \coth ^{-1}(\tanh (a+b x))^n \, _2F_1\left (1,n;1+n;-\frac {\coth ^{-1}(\tanh (a+b x))}{b x-\coth ^{-1}(\tanh (a+b x))}\right )}{b x-\coth ^{-1}(\tanh (a+b x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 67, normalized size = 0.94 \begin {gather*} \frac {\coth ^{-1}(\tanh (a+b x))^n \left (\frac {\coth ^{-1}(\tanh (a+b x))}{b x}\right )^{-n} \, _2F_1\left (1-n,-n;2-n;1-\frac {\coth ^{-1}(\tanh (a+b x))}{b x}\right )}{(-1+n) x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\mathrm {arccoth}\left (\tanh \left (b x +a \right )\right )^{n}}{x^{2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {acoth}^{n}{\left (\tanh {\left (a + b x \right )} \right )}}{x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {acoth}\left (\mathrm {tanh}\left (a+b\,x\right )\right )}^n}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________