3.197 \(\int \frac{\text{sech}^{\frac{3}{2}}(a+b \log (c x^n))}{x} \, dx\)

Optimal. Leaf size=93 \[ \frac{2 \sinh \left (a+b \log \left (c x^n\right )\right ) \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )}}{b n}+\frac{2 i \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )} \sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )} E\left (\left .\frac{1}{2} i \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{b n} \]

[Out]

((2*I)*Sqrt[Cosh[a + b*Log[c*x^n]]]*EllipticE[(I/2)*(a + b*Log[c*x^n]), 2]*Sqrt[Sech[a + b*Log[c*x^n]]])/(b*n)
 + (2*Sqrt[Sech[a + b*Log[c*x^n]]]*Sinh[a + b*Log[c*x^n]])/(b*n)

________________________________________________________________________________________

Rubi [A]  time = 0.0721233, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {3768, 3771, 2639} \[ \frac{2 \sinh \left (a+b \log \left (c x^n\right )\right ) \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )}}{b n}+\frac{2 i \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )} \sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )} 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]

Int[Sech[a + b*Log[c*x^n]]^(3/2)/x,x]

[Out]

((2*I)*Sqrt[Cosh[a + b*Log[c*x^n]]]*EllipticE[(I/2)*(a + b*Log[c*x^n]), 2]*Sqrt[Sech[a + b*Log[c*x^n]]])/(b*n)
 + (2*Sqrt[Sech[a + b*Log[c*x^n]]]*Sinh[a + b*Log[c*x^n]])/(b*n)

Rule 3768

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> -Simp[(b*Cos[c + d*x]*(b*Csc[c + d*x])^(n - 1))/(d*(n -
 1)), x] + Dist[(b^2*(n - 2))/(n - 1), Int[(b*Csc[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1
] && IntegerQ[2*n]

Rule 3771

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[(b*Csc[c + d*x])^n*Sin[c + d*x]^n, Int[1/Sin[c + d
*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rubi steps

\begin{align*} \int \frac{\text{sech}^{\frac{3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \text{sech}^{\frac{3}{2}}(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{2 \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )} \sinh \left (a+b \log \left (c x^n\right )\right )}{b n}-\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{\text{sech}(a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{2 \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )} \sinh \left (a+b \log \left (c x^n\right )\right )}{b n}-\frac{\left (\sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )} \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )}\right ) \operatorname{Subst}\left (\int \sqrt{\cosh (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{2 i \sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )} E\left (\left .\frac{1}{2} i \left (a+b \log \left (c x^n\right )\right )\right |2\right ) \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )}}{b n}+\frac{2 \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )} \sinh \left (a+b \log \left (c x^n\right )\right )}{b n}\\ \end{align*}

Mathematica [A]  time = 0.08843, size = 72, normalized size = 0.77 \[ \frac{2 \sqrt{\text{sech}\left (a+b \log \left (c x^n\right )\right )} \left (\sinh \left (a+b \log \left (c x^n\right )\right )+i \sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )} E\left (\left .\frac{1}{2} i \left (a+b \log \left (c x^n\right )\right )\right |2\right )\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Integrate[Sech[a + b*Log[c*x^n]]^(3/2)/x,x]

[Out]

(2*Sqrt[Sech[a + b*Log[c*x^n]]]*(I*Sqrt[Cosh[a + b*Log[c*x^n]]]*EllipticE[(I/2)*(a + b*Log[c*x^n]), 2] + Sinh[
a + b*Log[c*x^n]]))/(b*n)

________________________________________________________________________________________

Maple [A]  time = 0.414, size = 141, normalized size = 1.5 \begin{align*} 2\,{\frac{{\it EllipticE} \left ( \cosh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) ,\sqrt{2} \right ) \sqrt{- \left ( \sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}}\sqrt{-2\, \left ( \sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}-1}+2\,\cosh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \left ( \sinh \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}}{n\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]

int(sech(a+b*ln(c*x^n))^(3/2)/x,x)

[Out]

2/n*(EllipticE(cosh(1/2*a+1/2*b*ln(c*x^n)),2^(1/2))*(-sinh(1/2*a+1/2*b*ln(c*x^n))^2)^(1/2)*(-2*sinh(1/2*a+1/2*
b*ln(c*x^n))^2-1)^(1/2)+2*cosh(1/2*a+1/2*b*ln(c*x^n))*sinh(1/2*a+1/2*b*ln(c*x^n))^2)/sinh(1/2*a+1/2*b*ln(c*x^n
))/(2*cosh(1/2*a+1/2*b*ln(c*x^n))^2-1)^(1/2)/b

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{sech}\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]

integrate(sech(a+b*log(c*x^n))^(3/2)/x,x, algorithm="maxima")

[Out]

integrate(sech(b*log(c*x^n) + a)^(3/2)/x, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\operatorname{sech}\left (b \log \left (c x^{n}\right ) + a\right )^{\frac{3}{2}}}{x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(a+b*log(c*x^n))^(3/2)/x,x, algorithm="fricas")

[Out]

integral(sech(b*log(c*x^n) + a)^(3/2)/x, x)

________________________________________________________________________________________

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]

integrate(sech(a+b*ln(c*x**n))**(3/2)/x,x)

[Out]

Timed 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]

integrate(sech(a+b*log(c*x^n))^(3/2)/x,x, algorithm="giac")

[Out]

Timed out