Optimal. Leaf size=28 \[ -\frac{2 i E\left (\left .\frac{1}{2} i \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0275534, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {2639} \[ -\frac{2 i E\left (\left .\frac{1}{2} i \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2639
Rubi steps
\begin{align*} \int \frac{\sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )}}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \sqrt{\cosh (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=-\frac{2 i E\left (\left .\frac{1}{2} i \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n}\\ \end{align*}
Mathematica [A] time = 0.0207976, size = 28, normalized size = 1. \[ -\frac{2 i E\left (\left .\frac{1}{2} i \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.07, size = 183, normalized size = 6.5 \begin{align*} -2\,{\frac{\sqrt{ \left ( 2\, \left ( \cosh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}-1 \right ) \left ( \sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}}\sqrt{- \left ( \sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}}\sqrt{-2\, \left ( \cosh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}+1}{\it EllipticE} \left ( \cosh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) ,\sqrt{2} \right ) }{n\sqrt{2\, \left ( \sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{4}+ \left ( \sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}}\sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \sqrt{2\, \left ( \cosh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}-1}b}} \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{\sqrt{\cosh \left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{\cosh \left (b \log \left (c x^{n}\right ) + a\right )}}{x}, x\right ) \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{\sqrt{\cosh{\left (a + b \log{\left (c x^{n} \right )} \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{\sqrt{\cosh \left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]