Optimal. Leaf size=46 \[ \frac {2 i \sqrt {a \cosh (x)} E\left (\left .\frac {i x}{2}\right |2\right )}{a^2 \sqrt {\cosh (x)}}+\frac {2 \sinh (x)}{a \sqrt {a \cosh (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {2716, 2721,
2719} \begin {gather*} \frac {2 \sinh (x)}{a \sqrt {a \cosh (x)}}+\frac {2 i E\left (\left .\frac {i x}{2}\right |2\right ) \sqrt {a \cosh (x)}}{a^2 \sqrt {\cosh (x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2716
Rule 2719
Rule 2721
Rubi steps
\begin {align*} \int \frac {1}{(a \cosh (x))^{3/2}} \, dx &=\frac {2 \sinh (x)}{a \sqrt {a \cosh (x)}}-\frac {\int \sqrt {a \cosh (x)} \, dx}{a^2}\\ &=\frac {2 \sinh (x)}{a \sqrt {a \cosh (x)}}-\frac {\sqrt {a \cosh (x)} \int \sqrt {\cosh (x)} \, dx}{a^2 \sqrt {\cosh (x)}}\\ &=\frac {2 i \sqrt {a \cosh (x)} E\left (\left .\frac {i x}{2}\right |2\right )}{a^2 \sqrt {\cosh (x)}}+\frac {2 \sinh (x)}{a \sqrt {a \cosh (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 34, normalized size = 0.74 \begin {gather*} \frac {2 \cosh (x) \left (i \sqrt {\cosh (x)} E\left (\left .\frac {i x}{2}\right |2\right )+\sinh (x)\right )}{(a \cosh (x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(158\) vs.
\(2(55)=110\).
time = 1.26, size = 159, normalized size = 3.46
method | result | size |
default | \(\frac {\sqrt {2 \left (\sinh ^{4}\left (\frac {x}{2}\right )\right ) a +\left (\sinh ^{2}\left (\frac {x}{2}\right )\right ) a}\, \left (-\sqrt {2}\, \sqrt {-2 \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )-1}\, \sqrt {-\left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \EllipticF \left (\sqrt {2}\, \cosh \left (\frac {x}{2}\right ), \frac {\sqrt {2}}{2}\right )+2 \sqrt {2}\, \sqrt {-2 \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )-1}\, \sqrt {-\left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \EllipticE \left (\sqrt {2}\, \cosh \left (\frac {x}{2}\right ), \frac {\sqrt {2}}{2}\right )+4 \left (\sinh ^{2}\left (\frac {x}{2}\right )\right ) \cosh \left (\frac {x}{2}\right )\right )}{a \sqrt {a \left (2 \left (\sinh ^{4}\left (\frac {x}{2}\right )\right )+\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, \sinh \left (\frac {x}{2}\right ) \sqrt {a \left (2 \left (\cosh ^{2}\left (\frac {x}{2}\right )\right )-1\right )}}\) | \(159\) |
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.08, size = 101, normalized size = 2.20 \begin {gather*} \frac {2 \, {\left ({\left (\sqrt {2} \cosh \left (x\right )^{2} + 2 \, \sqrt {2} \cosh \left (x\right ) \sinh \left (x\right ) + \sqrt {2} \sinh \left (x\right )^{2} + \sqrt {2}\right )} \sqrt {a} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cosh \left (x\right ) + \sinh \left (x\right )\right )\right ) + 2 \, \sqrt {a \cosh \left (x\right )} {\left (\cosh \left (x\right )^{2} + 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2}\right )}\right )}}{a^{2} \cosh \left (x\right )^{2} + 2 \, a^{2} \cosh \left (x\right ) \sinh \left (x\right ) + a^{2} \sinh \left (x\right )^{2} + a^{2}} \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 {1}{\left (a \cosh {\left (x \right )}\right )^{\frac {3}{2}}}\, 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.02 \begin {gather*} \int \frac {1}{{\left (a\,\mathrm {cosh}\left (x\right )\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________