Optimal. Leaf size=40 \[ \frac {2 i \sqrt {2} E\left (\left .\frac {\pi }{4}-\frac {i x}{2}\right |2\right ) \sqrt {\sinh (x)}}{\sqrt {i \sinh (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.454, Rules used = {4483, 4485,
4306, 4394, 2719} \begin {gather*} \frac {2 i E\left (\left .\frac {\pi }{4}-\frac {i x}{2}\right |2\right ) \sqrt {\sinh (2 x) \text {sech}(x)}}{\sqrt {i \sinh (x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2719
Rule 4306
Rule 4394
Rule 4483
Rule 4485
Rubi steps
\begin {align*} \int \sqrt {\text {sech}(x) \sinh (2 x)} \, dx &=\frac {\sqrt {\text {sech}(x) \sinh (2 x)} \int \sqrt {i \text {sech}(x) \sinh (2 x)} \, dx}{\sqrt {i \text {sech}(x) \sinh (2 x)}}\\ &=\frac {\sqrt {\text {sech}(x) \sinh (2 x)} \int \sqrt {\text {sech}(x)} \sqrt {i \sinh (2 x)} \, dx}{\sqrt {\text {sech}(x)} \sqrt {i \sinh (2 x)}}\\ &=\frac {\left (\sqrt {\cosh (x)} \sqrt {\text {sech}(x) \sinh (2 x)}\right ) \int \frac {\sqrt {i \sinh (2 x)}}{\sqrt {\cosh (x)}} \, dx}{\sqrt {i \sinh (2 x)}}\\ &=\frac {\sqrt {\text {sech}(x) \sinh (2 x)} \int \sqrt {i \sinh (x)} \, dx}{\sqrt {i \sinh (x)}}\\ &=\frac {2 i E\left (\left .\frac {\pi }{4}-\frac {i x}{2}\right |2\right ) \sqrt {\text {sech}(x) \sinh (2 x)}}{\sqrt {i \sinh (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 32.14, size = 54, normalized size = 1.35 \begin {gather*} -\frac {2}{3} \left (-3+\, _2F_1\left (\frac {1}{2},\frac {3}{4};\frac {7}{4};\tanh ^2\left (\frac {x}{2}\right )\right ) \sqrt {\text {sech}^2\left (\frac {x}{2}\right )}\right ) \sqrt {\text {sech}(x) \sinh (2 x)} \tanh \left (\frac {x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {cought exception: maximum recursion depth exceeded} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 75, normalized size = 1.88
method | result | size |
default | \(\frac {2 \sqrt {-i \left (\sinh \left (x \right )+i\right )}\, \sqrt {-i \left (-\sinh \left (x \right )+i\right )}\, \sqrt {i \sinh \left (x \right )}\, \left (2 \EllipticE \left (\sqrt {1-i \sinh \left (x \right )}, \frac {\sqrt {2}}{2}\right )-\EllipticF \left (\sqrt {1-i \sinh \left (x \right )}, \frac {\sqrt {2}}{2}\right )\right )}{\cosh \left (x \right ) \sqrt {\sinh \left (x \right )}}\) | \(75\) |
risch | \(2 \sqrt {{\mathrm e}^{-x} \left ({\mathrm e}^{2 x}-1\right )}+\frac {\left (-\frac {4 \left ({\mathrm e}^{2 x}-1\right )}{\sqrt {{\mathrm e}^{x} \left ({\mathrm e}^{2 x}-1\right )}}+\frac {2 \sqrt {1+{\mathrm e}^{x}}\, \sqrt {2-2 \,{\mathrm e}^{x}}\, \sqrt {-{\mathrm e}^{x}}\, \left (-2 \EllipticE \left (\sqrt {1+{\mathrm e}^{x}}, \frac {\sqrt {2}}{2}\right )+\EllipticF \left (\sqrt {1+{\mathrm e}^{x}}, \frac {\sqrt {2}}{2}\right )\right )}{\sqrt {{\mathrm e}^{3 x}-{\mathrm e}^{x}}}\right ) \sqrt {{\mathrm e}^{-x} \left ({\mathrm e}^{2 x}-1\right )}\, \sqrt {{\mathrm e}^{x} \left ({\mathrm e}^{2 x}-1\right )}}{{\mathrm e}^{2 x}-1}\) | \(130\) |
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 [F]
time = 0.37, 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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {\frac {\sinh {\left (2 x \right )}}{\cosh {\left (x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] N/A
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.02 \begin {gather*} \int \sqrt {\frac {\mathrm {sinh}\left (2\,x\right )}{\mathrm {cosh}\left (x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________