Optimal. Leaf size=48 \[ \frac {\tanh ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac {\tan ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {3476, 329, 298, 203, 206} \[ \frac {\tanh ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac {\tan ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 298
Rule 329
Rule 3476
Rubi steps
\begin {align*} \int \frac {\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}}{x} \, dx &=\frac {\operatorname {Subst}\left (\int \sqrt {\coth (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac {\operatorname {Subst}\left (\int \frac {\sqrt {x}}{-1+x^2} \, dx,x,\coth \left (a+b \log \left (c x^n\right )\right )\right )}{b n}\\ &=-\frac {2 \operatorname {Subst}\left (\int \frac {x^2}{-1+x^4} \, dx,x,\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac {\operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}\\ &=-\frac {\tan ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}+\frac {\tanh ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 48, normalized size = 1.00 \[ \frac {\tanh ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac {\tan ^{-1}\left (\sqrt {\coth \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.45, size = 305, normalized size = 6.35 \[ \frac {2 \, \arctan \left (-\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} - 2 \, \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) - \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} + {\left (\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} + 2 \, \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) + \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} - 1\right )} \sqrt {\frac {\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )}{\sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )}}\right ) - \log \left (-\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} - 2 \, \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) - \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} + {\left (\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} + 2 \, \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) + \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} - 1\right )} \sqrt {\frac {\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )}{\sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )}}\right )}{2 \, b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.13, size = 72, normalized size = 1.50 \[ -\frac {\ln \left (\sqrt {\coth }\left (a +b \ln \left (c \,x^{n}\right )\right )-1\right )}{2 b n}+\frac {\ln \left (\sqrt {\coth }\left (a +b \ln \left (c \,x^{n}\right )\right )+1\right )}{2 b n}-\frac {\arctan \left (\sqrt {\coth }\left (a +b \ln \left (c \,x^{n}\right )\right )\right )}{b n} \]
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 {\sqrt {\coth \left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.50, size = 39, normalized size = 0.81 \[ -\frac {\mathrm {atan}\left (\sqrt {\mathrm {coth}\left (a+b\,\ln \left (c\,x^n\right )\right )}\right )-\mathrm {atanh}\left (\sqrt {\mathrm {coth}\left (a+b\,\ln \left (c\,x^n\right )\right )}\right )}{b\,n} \]
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 {\sqrt {\coth {\left (a + b \log {\left (c x^{n} \right )} \right )}}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________