Optimal. Leaf size=93 \[ \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} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 93, normalized size of antiderivative = 1.00, 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 = {3853, 3856,
2719} \begin {gather*} \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} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2719
Rule 3853
Rule 3856
Rubi steps
\begin {align*} \int \frac {\text {sech}^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac {\text {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 {\text {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 ) \text {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.07, size = 72, normalized size = 0.77 \begin {gather*} \frac {2 \sqrt {\text {sech}\left (a+b \log \left (c x^n\right )\right )} \left (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 )+\sinh \left (a+b \log \left (c x^n\right )\right )\right )}{b n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 4.99, size = 141, normalized size = 1.52
method | result | size |
derivativedivides | \(\frac {4 \cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) \left (\sinh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )+2 \sqrt {-\left (\sinh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )}\, \sqrt {-2 \left (\sinh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )-1}\, \EllipticE \left (\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )}{n \sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) \sqrt {2 \left (\cosh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )-1}\, b}\) | \(141\) |
default | \(\frac {4 \cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) \left (\sinh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )+2 \sqrt {-\left (\sinh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )}\, \sqrt {-2 \left (\sinh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )-1}\, \EllipticE \left (\cosh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ), \sqrt {2}\right )}{n \sinh \left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right ) \sqrt {2 \left (\cosh ^{2}\left (\frac {a}{2}+\frac {b \ln \left (c \,x^{n}\right )}{2}\right )\right )-1}\, b}\) | \(141\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.14, size = 159, normalized size = 1.71 \begin {gather*} \frac {2 \, {\left (\sqrt {2} \sqrt {\frac {\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 )}{\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}} {\left (\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 )} + \sqrt {2} {\rm weierstrassZeta}\left (-4, 0, {\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 )\right )\right )}}{b n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {sech}^{\frac {3}{2}}{\left (a + b \log {\left (c x^{n} \right )} \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (\frac {1}{\mathrm {cosh}\left (a+b\,\ln \left (c\,x^n\right )\right )}\right )}^{3/2}}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________