Integrand size = 19, antiderivative size = 67 \[ \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=-\frac {2 i \operatorname {EllipticF}\left (\frac {1}{2} i \left (a+b \log \left (c x^n\right )\right ),2\right )}{3 b n}+\frac {2 \sqrt {\cosh \left (a+b \log \left (c x^n\right )\right )} \sinh \left (a+b \log \left (c x^n\right )\right )}{3 b n} \]
-2/3*I*(cosh(1/2*a+1/2*b*ln(c*x^n))^2)^(1/2)/cosh(1/2*a+1/2*b*ln(c*x^n))*E llipticF(I*sinh(1/2*a+1/2*b*ln(c*x^n)),2^(1/2))/b/n+2/3*sinh(a+b*ln(c*x^n) )*cosh(a+b*ln(c*x^n))^(1/2)/b/n
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 0.10 (sec) , antiderivative size = 114, normalized size of antiderivative = 1.70 \[ \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\frac {\sinh \left (2 \left (a+b \log \left (c x^n\right )\right )\right )+2 \operatorname {Hypergeometric2F1}\left (\frac {1}{4},\frac {1}{2},\frac {5}{4},-\cosh \left (2 \left (a+b \log \left (c x^n\right )\right )\right )-\sinh \left (2 \left (a+b \log \left (c x^n\right )\right )\right )\right ) \sqrt {1+\cosh \left (2 \left (a+b \log \left (c x^n\right )\right )\right )+\sinh \left (2 \left (a+b \log \left (c x^n\right )\right )\right )}}{3 b n \sqrt {\cosh \left (a+b \log \left (c x^n\right )\right )}} \]
(Sinh[2*(a + b*Log[c*x^n])] + 2*Hypergeometric2F1[1/4, 1/2, 5/4, -Cosh[2*( a + b*Log[c*x^n])] - Sinh[2*(a + b*Log[c*x^n])]]*Sqrt[1 + Cosh[2*(a + b*Lo g[c*x^n])] + Sinh[2*(a + b*Log[c*x^n])]])/(3*b*n*Sqrt[Cosh[a + b*Log[c*x^n ]]])
Time = 0.30 (sec) , antiderivative size = 65, normalized size of antiderivative = 0.97, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {3039, 3042, 3115, 3042, 3120}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx\) |
\(\Big \downarrow \) 3039 |
\(\displaystyle \frac {\int \cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )d\log \left (c x^n\right )}{n}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \sin \left (i a+i b \log \left (c x^n\right )+\frac {\pi }{2}\right )^{3/2}d\log \left (c x^n\right )}{n}\) |
\(\Big \downarrow \) 3115 |
\(\displaystyle \frac {\frac {1}{3} \int \frac {1}{\sqrt {\cosh \left (a+b \log \left (c x^n\right )\right )}}d\log \left (c x^n\right )+\frac {2 \sinh \left (a+b \log \left (c x^n\right )\right ) \sqrt {\cosh \left (a+b \log \left (c x^n\right )\right )}}{3 b}}{n}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {2 \sinh \left (a+b \log \left (c x^n\right )\right ) \sqrt {\cosh \left (a+b \log \left (c x^n\right )\right )}}{3 b}+\frac {1}{3} \int \frac {1}{\sqrt {\sin \left (i a+i b \log \left (c x^n\right )+\frac {\pi }{2}\right )}}d\log \left (c x^n\right )}{n}\) |
\(\Big \downarrow \) 3120 |
\(\displaystyle \frac {\frac {2 \sinh \left (a+b \log \left (c x^n\right )\right ) \sqrt {\cosh \left (a+b \log \left (c x^n\right )\right )}}{3 b}-\frac {2 i \operatorname {EllipticF}\left (\frac {1}{2} i \left (a+b \log \left (c x^n\right )\right ),2\right )}{3 b}}{n}\) |
((((-2*I)/3)*EllipticF[(I/2)*(a + b*Log[c*x^n]), 2])/b + (2*Sqrt[Cosh[a + b*Log[c*x^n]]]*Sinh[a + b*Log[c*x^n]])/(3*b))/n
3.3.53.3.1 Defintions of rubi rules used
Int[u_, x_Symbol] :> With[{lst = FunctionOfLog[Cancel[x*u], x]}, Simp[1/lst [[3]] Subst[Int[lst[[1]], x], x, Log[lst[[2]]]], x] /; !FalseQ[lst]] /; NonsumQ[u]
Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d* x]*((b*Sin[c + d*x])^(n - 1)/(d*n)), x] + Simp[b^2*((n - 1)/n) Int[(b*Sin [c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && IntegerQ[ 2*n]
Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticF[(1/2 )*(c - Pi/2 + d*x), 2], x] /; FreeQ[{c, d}, x]
Leaf count of result is larger than twice the leaf count of optimal. \(236\) vs. \(2(97)=194\).
Time = 0.22 (sec) , antiderivative size = 237, normalized size of antiderivative = 3.54
method | result | size |
derivativedivides | \(\frac {2 \sqrt {\left (-1+2 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}\right ) {\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \left (4 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{5}-6 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{3}+\sqrt {-{\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \sqrt {-2 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}+1}\, \operatorname {EllipticF}\left (\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )+2 \cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )}{3 n \sqrt {2 {\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{4}+{\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) \sqrt {-1+2 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, b}\) | \(237\) |
default | \(\frac {2 \sqrt {\left (-1+2 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}\right ) {\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \left (4 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{5}-6 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{3}+\sqrt {-{\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \sqrt {-2 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}+1}\, \operatorname {EllipticF}\left (\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )+2 \cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )}{3 n \sqrt {2 {\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{4}+{\sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, \sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) \sqrt {-1+2 {\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )}^{2}}\, b}\) | \(237\) |
2/3/n*((-1+2*cosh(1/2*a+1/2*b*ln(c*x^n))^2)*sinh(1/2*a+1/2*b*ln(c*x^n))^2) ^(1/2)*(4*cosh(1/2*a+1/2*b*ln(c*x^n))^5-6*cosh(1/2*a+1/2*b*ln(c*x^n))^3+(- sinh(1/2*a+1/2*b*ln(c*x^n))^2)^(1/2)*(-2*cosh(1/2*a+1/2*b*ln(c*x^n))^2+1)^ (1/2)*EllipticF(cosh(1/2*a+1/2*b*ln(c*x^n)),2^(1/2))+2*cosh(1/2*a+1/2*b*ln (c*x^n)))/(2*sinh(1/2*a+1/2*b*ln(c*x^n))^4+sinh(1/2*a+1/2*b*ln(c*x^n))^2)^ (1/2)/sinh(1/2*a+1/2*b*ln(c*x^n))/(-1+2*cosh(1/2*a+1/2*b*ln(c*x^n))^2)^(1/ 2)/b
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.08 (sec) , antiderivative size = 170, normalized size of antiderivative = 2.54 \[ \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\frac {2 \, {\left (\sqrt {2} \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + \sqrt {2} \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )\right )} {\rm weierstrassPInverse}\left (-4, 0, \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 )\right ) + {\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 {\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}}{3 \, {\left (b n \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + b n \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )\right )}} \]
1/3*(2*(sqrt(2)*cosh(b*n*log(x) + b*log(c) + a) + sqrt(2)*sinh(b*n*log(x) + b*log(c) + a))*weierstrassPInverse(-4, 0, cosh(b*n*log(x) + b*log(c) + a ) + sinh(b*n*log(x) + b*log(c) + a)) + (cosh(b*n*log(x) + b*log(c) + a)^2 + 2*cosh(b*n*log(x) + b*log(c) + a)*sinh(b*n*log(x) + b*log(c) + a) + sinh (b*n*log(x) + b*log(c) + a)^2 - 1)*sqrt(cosh(b*n*log(x) + b*log(c) + a)))/ (b*n*cosh(b*n*log(x) + b*log(c) + a) + b*n*sinh(b*n*log(x) + b*log(c) + a) )
\[ \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\int \frac {\cosh ^{\frac {3}{2}}{\left (a + b \log {\left (c x^{n} \right )} \right )}}{x}\, dx \]
\[ \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\int { \frac {\cosh \left (b \log \left (c x^{n}\right ) + a\right )^{\frac {3}{2}}}{x} \,d x } \]
\[ \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\int { \frac {\cosh \left (b \log \left (c x^{n}\right ) + a\right )^{\frac {3}{2}}}{x} \,d x } \]
Timed out. \[ \int \frac {\cosh ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx=\int \frac {{\mathrm {cosh}\left (a+b\,\ln \left (c\,x^n\right )\right )}^{3/2}}{x} \,d x \]