3.256 \(\int \frac{1}{x \cosh ^{\frac{3}{2}}(a+b \log (c x^n))} \, dx\)

Optimal. Leaf size=63 \[ \frac{2 \sinh \left (a+b \log \left (c x^n\right )\right )}{b n \sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )}}+\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]

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

________________________________________________________________________________________

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

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

[Out]

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

Rule 2636

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

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{1}{x \cosh ^{\frac{3}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\cosh ^{\frac{3}{2}}(a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{2 \sinh \left (a+b \log \left (c x^n\right )\right )}{b n \sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )}}-\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}+\frac{2 \sinh \left (a+b \log \left (c x^n\right )\right )}{b n \sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )}}\\ \end{align*}

Mathematica [A]  time = 0.0567587, size = 58, normalized size = 0.92 \[ \frac{2 \left (\frac{\sinh \left (a+b \log \left (c x^n\right )\right )}{\sqrt{\cosh \left (a+b \log \left (c x^n\right )\right )}}+i 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[1/(x*Cosh[a + b*Log[c*x^n]]^(3/2)),x]

[Out]

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

________________________________________________________________________________________

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

[Out]

2/n*((-2*sinh(1/2*a+1/2*b*ln(c*x^n))^2-1)^(1/2)*(-sinh(1/2*a+1/2*b*ln(c*x^n))^2)^(1/2)*EllipticE(cosh(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*cosh(1/2*a+1/2*b*ln(c*x^n)))/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{1}{x \cosh \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]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(1/(x*cosh(b*log(c*x^n) + a)^(3/2)), 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(1/x/cosh(a+b*ln(c*x**n))**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{x \cosh \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]

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

[Out]

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