Optimal. Leaf size=103 \[ \frac {1}{2} x \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}+\frac {e^{-a} x \left (c x^n\right )^{-2/n} \csc ^{-1}\left (e^a \left (c x^n\right )^{2/n}\right ) \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}}{2 \sqrt {1-e^{-2 a} \left (c x^n\right )^{-4/n}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5636, 5644,
352, 248, 283, 222} \begin {gather*} \frac {1}{2} x \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}+\frac {e^{-a} x \left (c x^n\right )^{-2/n} \csc ^{-1}\left (e^a \left (c x^n\right )^{2/n}\right ) \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}}{2 \sqrt {1-e^{-2 a} \left (c x^n\right )^{-4/n}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 248
Rule 283
Rule 352
Rule 5636
Rule 5644
Rubi steps
\begin {align*} \int \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )} \, dx &=\frac {\left (x \left (c x^n\right )^{-1/n}\right ) \text {Subst}\left (\int x^{-1+\frac {1}{n}} \sqrt {\sinh \left (a+\frac {2 \log (x)}{n}\right )} \, dx,x,c x^n\right )}{n}\\ &=\frac {\left (x \left (c x^n\right )^{-2/n} \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}\right ) \text {Subst}\left (\int x^{-1+\frac {2}{n}} \sqrt {1-e^{-2 a} x^{-4/n}} \, dx,x,c x^n\right )}{n \sqrt {1-e^{-2 a} \left (c x^n\right )^{-4/n}}}\\ &=\frac {\left (x \left (c x^n\right )^{-2/n} \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}\right ) \text {Subst}\left (\int \sqrt {1-\frac {e^{-2 a}}{x^2}} \, dx,x,\left (c x^n\right )^{2/n}\right )}{2 \sqrt {1-e^{-2 a} \left (c x^n\right )^{-4/n}}}\\ &=-\frac {\left (x \left (c x^n\right )^{-2/n} \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}\right ) \text {Subst}\left (\int \frac {\sqrt {1-e^{-2 a} x^2}}{x^2} \, dx,x,\left (c x^n\right )^{-2/n}\right )}{2 \sqrt {1-e^{-2 a} \left (c x^n\right )^{-4/n}}}\\ &=\frac {1}{2} x \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}+\frac {\left (e^{-2 a} x \left (c x^n\right )^{-2/n} \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-e^{-2 a} x^2}} \, dx,x,\left (c x^n\right )^{-2/n}\right )}{2 \sqrt {1-e^{-2 a} \left (c x^n\right )^{-4/n}}}\\ &=\frac {1}{2} x \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}+\frac {e^{-a} x \left (c x^n\right )^{-2/n} \sin ^{-1}\left (e^{-a} \left (c x^n\right )^{-2/n}\right ) \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )}}{2 \sqrt {1-e^{-2 a} \left (c x^n\right )^{-4/n}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 74, normalized size = 0.72 \begin {gather*} \frac {1}{2} x \left (1-\frac {\text {ArcTan}\left (\sqrt {-1+e^{2 a} \left (c x^n\right )^{4/n}}\right )}{\sqrt {-1+e^{2 a} \left (c x^n\right )^{4/n}}}\right ) \sqrt {\sinh \left (a+\frac {2 \log \left (c x^n\right )}{n}\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 2.30, size = 0, normalized size = 0.00 \[\int \sqrt {\sinh }\left (a +\frac {2 \ln \left (c \,x^{n}\right )}{n}\right )\, dx\]
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 [A]
time = 0.51, size = 117, normalized size = 1.14 \begin {gather*} \frac {1}{4} \, {\left (2 \, \sqrt {\frac {1}{2}} x \sqrt {\frac {x^{4} e^{\left (\frac {2 \, {\left (a n + 2 \, \log \left (c\right )\right )}}{n}\right )} - 1}{x^{2}}} e^{\left (\frac {a n + 2 \, \log \left (c\right )}{2 \, n}\right )} - \sqrt {2} \arctan \left (\sqrt {2} \sqrt {\frac {1}{2}} x \sqrt {\frac {x^{4} e^{\left (\frac {2 \, {\left (a n + 2 \, \log \left (c\right )\right )}}{n}\right )} - 1}{x^{2}}}\right ) e^{\left (\frac {a n + 2 \, \log \left (c\right )}{2 \, n}\right )}\right )} e^{\left (-\frac {a n + 2 \, \log \left (c\right )}{n}\right )} \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 \sqrt {\sinh {\left (a + \frac {2 \log {\left (c x^{n} \right )}}{n} \right )}}\, 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 \sqrt {\mathrm {sinh}\left (a+\frac {2\,\ln \left (c\,x^n\right )}{n}\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________