Optimal. Leaf size=71 \[ \frac{\tanh ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac{2}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}-\frac{\tan ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0517119, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316, Rules used = {3474, 3476, 329, 298, 203, 206} \[ \frac{\tanh ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac{2}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}-\frac{\tan ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3474
Rule 3476
Rule 329
Rule 298
Rule 203
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{x \tanh ^{\frac{3}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\tanh ^{\frac{3}{2}}(a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac{2}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}+\frac{\operatorname{Subst}\left (\int \sqrt{\tanh (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac{2}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}-\frac{\operatorname{Subst}\left (\int \frac{\sqrt{x}}{-1+x^2} \, dx,x,\tanh \left (a+b \log \left (c x^n\right )\right )\right )}{b n}\\ &=-\frac{2}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}-\frac{2 \operatorname{Subst}\left (\int \frac{x^2}{-1+x^4} \, dx,x,\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}\\ &=-\frac{2}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}+\frac{\operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\sqrt{\tanh \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{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}\\ &=-\frac{\tan ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}+\frac{\tanh ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac{2}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}\\ \end{align*}
Mathematica [C] time = 0.15784, size = 44, normalized size = 0.62 \[ -\frac{2 \, _2F_1\left (-\frac{1}{4},1;\frac{3}{4};\tanh ^2\left (a+b \log \left (c x^n\right )\right )\right )}{b n \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 93, normalized size = 1.3 \begin{align*}{\frac{1}{2\,bn}\ln \left ( \sqrt{\tanh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) }+1 \right ) }-2\,{\frac{1}{bn\sqrt{\tanh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) }}}-{\frac{1}{2\,bn}\ln \left ( \sqrt{\tanh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) }-1 \right ) }-{\frac{1}{bn}\arctan \left ( \sqrt{\tanh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) } \right ) } \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{1}{x \tanh \left (b \log \left (c x^{n}\right ) + a\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.10027, size = 2088, normalized size = 29.41 \begin{align*} \text{result too large to display} \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{1}{x \tanh ^{\frac{3}{2}}{\left (a + b \log{\left (c x^{n} \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{1}{x \tanh \left (b \log \left (c x^{n}\right ) + a\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]