Optimal. Leaf size=70 \[ \frac{\tanh ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac{2 \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}{b n}+\frac{\tan ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0523155, antiderivative size = 70, 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 = {3473, 3476, 329, 212, 206, 203} \[ \frac{\tanh ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}-\frac{2 \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}{b n}+\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 3473
Rule 3476
Rule 329
Rule 212
Rule 206
Rule 203
Rubi steps
\begin{align*} \int \frac{\tanh ^{\frac{3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \tanh ^{\frac{3}{2}}(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac{2 \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}{b n}+\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{\tanh (a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac{2 \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}{b n}-\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{x} \left (-1+x^2\right )} \, dx,x,\tanh \left (a+b \log \left (c x^n\right )\right )\right )}{b n}\\ &=-\frac{2 \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}{b n}-\frac{2 \operatorname{Subst}\left (\int \frac{1}{-1+x^4} \, dx,x,\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}\\ &=-\frac{2 \sqrt{\tanh \left (a+b \log \left (c x^n\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{\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 \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}}{b n}\\ \end{align*}
Mathematica [A] time = 0.133162, size = 57, normalized size = 0.81 \[ \frac{\tanh ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )-2 \sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}+\tan ^{-1}\left (\sqrt{\tanh \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 92, normalized size = 1.3 \begin{align*} -2\,{\frac{\sqrt{\tanh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) }}{bn}}-{\frac{1}{2\,bn}\ln \left ( \sqrt{\tanh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) }-1 \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{\tanh \left (b \log \left (c x^{n}\right ) + a\right )^{\frac{3}{2}}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.12309, size = 1100, normalized size = 15.71 \begin{align*} -\frac{4 \, \sqrt{\frac{\sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}} - 2 \, \arctan \left (-\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} - 2 \, \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) - \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} +{\left (\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} + 2 \, \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} + 1\right )} \sqrt{\frac{\sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}}\right ) + \log \left (-\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} - 2 \, \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) - \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} +{\left (\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} + 2 \, \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} + 1\right )} \sqrt{\frac{\sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}}\right )}{2 \, b n} \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 [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]