Optimal. Leaf size=60 \[ \frac{\text{PolyLog}\left (2,-e^{2 \cosh ^{-1}\left (a x^n\right )}\right )}{2 n}-\frac{\cosh ^{-1}\left (a x^n\right )^2}{2 n}+\frac{\cosh ^{-1}\left (a x^n\right ) \log \left (e^{2 \cosh ^{-1}\left (a x^n\right )}+1\right )}{n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0654295, antiderivative size = 60, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {5891, 3718, 2190, 2279, 2391} \[ \frac{\text{PolyLog}\left (2,-e^{2 \cosh ^{-1}\left (a x^n\right )}\right )}{2 n}-\frac{\cosh ^{-1}\left (a x^n\right )^2}{2 n}+\frac{\cosh ^{-1}\left (a x^n\right ) \log \left (e^{2 \cosh ^{-1}\left (a x^n\right )}+1\right )}{n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5891
Rule 3718
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{\cosh ^{-1}\left (a x^n\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int x \tanh (x) \, dx,x,\cosh ^{-1}\left (a x^n\right )\right )}{n}\\ &=-\frac{\cosh ^{-1}\left (a x^n\right )^2}{2 n}+\frac{2 \operatorname{Subst}\left (\int \frac{e^{2 x} x}{1+e^{2 x}} \, dx,x,\cosh ^{-1}\left (a x^n\right )\right )}{n}\\ &=-\frac{\cosh ^{-1}\left (a x^n\right )^2}{2 n}+\frac{\cosh ^{-1}\left (a x^n\right ) \log \left (1+e^{2 \cosh ^{-1}\left (a x^n\right )}\right )}{n}-\frac{\operatorname{Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}\left (a x^n\right )\right )}{n}\\ &=-\frac{\cosh ^{-1}\left (a x^n\right )^2}{2 n}+\frac{\cosh ^{-1}\left (a x^n\right ) \log \left (1+e^{2 \cosh ^{-1}\left (a x^n\right )}\right )}{n}-\frac{\operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}\left (a x^n\right )}\right )}{2 n}\\ &=-\frac{\cosh ^{-1}\left (a x^n\right )^2}{2 n}+\frac{\cosh ^{-1}\left (a x^n\right ) \log \left (1+e^{2 \cosh ^{-1}\left (a x^n\right )}\right )}{n}+\frac{\text{Li}_2\left (-e^{2 \cosh ^{-1}\left (a x^n\right )}\right )}{2 n}\\ \end{align*}
Mathematica [B] time = 0.468645, size = 179, normalized size = 2.98 \[ \frac{a \sqrt{1-a^2 x^{2 n}} \left (-\text{PolyLog}\left (2,e^{-2 \sinh ^{-1}\left (\sqrt{-a^2} x^n\right )}\right )-2 n \log (x) \log \left (\sqrt{-a^2} x^n+\sqrt{1-a^2 x^{2 n}}\right )+\sinh ^{-1}\left (\sqrt{-a^2} x^n\right )^2+2 \sinh ^{-1}\left (\sqrt{-a^2} x^n\right ) \log \left (1-e^{-2 \sinh ^{-1}\left (\sqrt{-a^2} x^n\right )}\right )\right )}{2 \sqrt{-a^2} n \sqrt{a x^n-1} \sqrt{a x^n+1}}+\log (x) \cosh ^{-1}\left (a x^n\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.049, size = 91, normalized size = 1.5 \begin{align*} -{\frac{ \left ({\rm arccosh} \left (a{x}^{n}\right ) \right ) ^{2}}{2\,n}}+{\frac{{\rm arccosh} \left (a{x}^{n}\right )}{n}\ln \left ( 1+ \left ( a{x}^{n}+\sqrt{a{x}^{n}-1}\sqrt{a{x}^{n}+1} \right ) ^{2} \right ) }+{\frac{1}{2\,n}{\it polylog} \left ( 2,- \left ( a{x}^{n}+\sqrt{a{x}^{n}-1}\sqrt{a{x}^{n}+1} \right ) ^{2} \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*} a n \int \frac{x^{n} \log \left (x\right )}{a^{3} x x^{3 \, n} - a x x^{n} +{\left (a^{2} x x^{2 \, n} - x\right )} \sqrt{a x^{n} + 1} \sqrt{a x^{n} - 1}}\,{d x} - \frac{1}{2} \, n \log \left (x\right )^{2} + n \int \frac{\log \left (x\right )}{2 \,{\left (a x x^{n} + x\right )}}\,{d x} - n \int \frac{\log \left (x\right )}{2 \,{\left (a x x^{n} - x\right )}}\,{d x} + \log \left (a x^{n} + \sqrt{a x^{n} + 1} \sqrt{a x^{n} - 1}\right ) \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \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{\operatorname{acosh}{\left (a x^{n} \right )}}{x}\, 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{\operatorname{arcosh}\left (a x^{n}\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]