Optimal. Leaf size=177 \[ \frac{2 i \sqrt{\frac{a+b \cosh (x)}{a+b}} \text{EllipticF}\left (\frac{i x}{2},\frac{2 b}{a+b}\right )}{3 \left (a^2-b^2\right ) \sqrt{a+b \cosh (x)}}-\frac{8 a b \sinh (x)}{3 \left (a^2-b^2\right )^2 \sqrt{a+b \cosh (x)}}-\frac{2 b \sinh (x)}{3 \left (a^2-b^2\right ) (a+b \cosh (x))^{3/2}}-\frac{8 i a \sqrt{a+b \cosh (x)} E\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \left (a^2-b^2\right )^2 \sqrt{\frac{a+b \cosh (x)}{a+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.206961, antiderivative size = 177, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.7, Rules used = {2664, 2754, 2752, 2663, 2661, 2655, 2653} \[ -\frac{8 a b \sinh (x)}{3 \left (a^2-b^2\right )^2 \sqrt{a+b \cosh (x)}}-\frac{2 b \sinh (x)}{3 \left (a^2-b^2\right ) (a+b \cosh (x))^{3/2}}+\frac{2 i \sqrt{\frac{a+b \cosh (x)}{a+b}} F\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \left (a^2-b^2\right ) \sqrt{a+b \cosh (x)}}-\frac{8 i a \sqrt{a+b \cosh (x)} E\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \left (a^2-b^2\right )^2 \sqrt{\frac{a+b \cosh (x)}{a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2664
Rule 2754
Rule 2752
Rule 2663
Rule 2661
Rule 2655
Rule 2653
Rubi steps
\begin{align*} \int \frac{1}{(a+b \cosh (x))^{5/2}} \, dx &=-\frac{2 b \sinh (x)}{3 \left (a^2-b^2\right ) (a+b \cosh (x))^{3/2}}-\frac{2 \int \frac{-\frac{3 a}{2}+\frac{1}{2} b \cosh (x)}{(a+b \cosh (x))^{3/2}} \, dx}{3 \left (a^2-b^2\right )}\\ &=-\frac{2 b \sinh (x)}{3 \left (a^2-b^2\right ) (a+b \cosh (x))^{3/2}}-\frac{8 a b \sinh (x)}{3 \left (a^2-b^2\right )^2 \sqrt{a+b \cosh (x)}}+\frac{4 \int \frac{\frac{1}{4} \left (3 a^2+b^2\right )+a b \cosh (x)}{\sqrt{a+b \cosh (x)}} \, dx}{3 \left (a^2-b^2\right )^2}\\ &=-\frac{2 b \sinh (x)}{3 \left (a^2-b^2\right ) (a+b \cosh (x))^{3/2}}-\frac{8 a b \sinh (x)}{3 \left (a^2-b^2\right )^2 \sqrt{a+b \cosh (x)}}+\frac{(4 a) \int \sqrt{a+b \cosh (x)} \, dx}{3 \left (a^2-b^2\right )^2}-\frac{\int \frac{1}{\sqrt{a+b \cosh (x)}} \, dx}{3 \left (a^2-b^2\right )}\\ &=-\frac{2 b \sinh (x)}{3 \left (a^2-b^2\right ) (a+b \cosh (x))^{3/2}}-\frac{8 a b \sinh (x)}{3 \left (a^2-b^2\right )^2 \sqrt{a+b \cosh (x)}}+\frac{\left (4 a \sqrt{a+b \cosh (x)}\right ) \int \sqrt{\frac{a}{a+b}+\frac{b \cosh (x)}{a+b}} \, dx}{3 \left (a^2-b^2\right )^2 \sqrt{\frac{a+b \cosh (x)}{a+b}}}-\frac{\sqrt{\frac{a+b \cosh (x)}{a+b}} \int \frac{1}{\sqrt{\frac{a}{a+b}+\frac{b \cosh (x)}{a+b}}} \, dx}{3 \left (a^2-b^2\right ) \sqrt{a+b \cosh (x)}}\\ &=-\frac{8 i a \sqrt{a+b \cosh (x)} E\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \left (a^2-b^2\right )^2 \sqrt{\frac{a+b \cosh (x)}{a+b}}}+\frac{2 i \sqrt{\frac{a+b \cosh (x)}{a+b}} F\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \left (a^2-b^2\right ) \sqrt{a+b \cosh (x)}}-\frac{2 b \sinh (x)}{3 \left (a^2-b^2\right ) (a+b \cosh (x))^{3/2}}-\frac{8 a b \sinh (x)}{3 \left (a^2-b^2\right )^2 \sqrt{a+b \cosh (x)}}\\ \end{align*}
Mathematica [A] time = 0.526546, size = 135, normalized size = 0.76 \[ \frac{2 i (a-b) (a+b)^2 \left (\frac{a+b \cosh (x)}{a+b}\right )^{3/2} \text{EllipticF}\left (\frac{i x}{2},\frac{2 b}{a+b}\right )+2 b \sinh (x) \left (-5 a^2-4 a b \cosh (x)+b^2\right )-8 i a (a+b)^2 \left (\frac{a+b \cosh (x)}{a+b}\right )^{3/2} E\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 (a-b)^2 (a+b)^2 (a+b \cosh (x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.147, size = 459, normalized size = 2.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b \cosh \left (x\right ) + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{b \cosh \left (x\right ) + a}}{b^{3} \cosh \left (x\right )^{3} + 3 \, a b^{2} \cosh \left (x\right )^{2} + 3 \, a^{2} b \cosh \left (x\right ) + a^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b \cosh \left (x\right ) + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]