Optimal. Leaf size=72 \[ -\frac {2 i E\left (\left .\frac {1}{2} \left (i a-\frac {\pi }{2}+i b \log \left (c x^n\right )\right )\right |2\right ) \sqrt {\sinh \left (a+b \log \left (c x^n\right )\right )}}{b n \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 72, normalized size of antiderivative = 1.00, 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 = {2721, 2719}
\begin {gather*} -\frac {2 i \sqrt {\sinh \left (a+b \log \left (c x^n\right )\right )} E\left (\left .\frac {1}{2} \left (i a+i b \log \left (c x^n\right )-\frac {\pi }{2}\right )\right |2\right )}{b n \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2719
Rule 2721
Rubi steps
\begin {align*} \int \frac {\sqrt {\sinh \left (a+b \log \left (c x^n\right )\right )}}{x} \, dx &=\frac {\text {Subst}\left (\int \sqrt {\sinh (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac {\sqrt {\sinh \left (a+b \log \left (c x^n\right )\right )} \text {Subst}\left (\int \sqrt {i \sinh (a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}}\\ &=-\frac {2 i E\left (\left .\frac {1}{2} \left (i a-\frac {\pi }{2}+i b \log \left (c x^n\right )\right )\right |2\right ) \sqrt {\sinh \left (a+b \log \left (c x^n\right )\right )}}{b n \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 68, normalized size = 0.94 \begin {gather*} \frac {2 E\left (\left .\frac {1}{2} \left (\frac {\pi }{2}-i \left (a+b \log \left (c x^n\right )\right )\right )\right |2\right ) \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}}{b n \sqrt {\sinh \left (a+b \log \left (c x^n\right )\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 6.96, size = 146, normalized size = 2.03
method | result | size |
derivativedivides | \(\frac {\sqrt {-i \left (\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {2}\, \sqrt {-i \left (-\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, \left (2 \EllipticE \left (\sqrt {1-i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}, \frac {\sqrt {2}}{2}\right )-\EllipticF \left (\sqrt {1-i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}, \frac {\sqrt {2}}{2}\right )\right )}{n \cosh \left (a +b \ln \left (c \,x^{n}\right )\right ) \sqrt {\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, b}\) | \(146\) |
default | \(\frac {\sqrt {-i \left (\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {2}\, \sqrt {-i \left (-\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, \left (2 \EllipticE \left (\sqrt {1-i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}, \frac {\sqrt {2}}{2}\right )-\EllipticF \left (\sqrt {1-i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}, \frac {\sqrt {2}}{2}\right )\right )}{n \cosh \left (a +b \ln \left (c \,x^{n}\right )\right ) \sqrt {\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, b}\) | \(146\) |
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.13, size = 58, normalized size = 0.81 \begin {gather*} -\frac {2 \, {\left (\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 ) + \sqrt {\sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\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 {\sqrt {\sinh {\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]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 {\sqrt {\mathrm {sinh}\left (a+b\,\ln \left (c\,x^n\right )\right )}}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________