Optimal. Leaf size=124 \[ \frac{2 i \left (a^2-b^2\right ) \sqrt{\frac{a+b \cosh (x)}{a+b}} \text{EllipticF}\left (\frac{i x}{2},\frac{2 b}{a+b}\right )}{3 \sqrt{a+b \cosh (x)}}+\frac{2}{3} b \sinh (x) \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 \sqrt{\frac{a+b \cosh (x)}{a+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.156512, antiderivative size = 124, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.6, Rules used = {2656, 2752, 2663, 2661, 2655, 2653} \[ \frac{2 i \left (a^2-b^2\right ) \sqrt{\frac{a+b \cosh (x)}{a+b}} F\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \sqrt{a+b \cosh (x)}}+\frac{2}{3} b \sinh (x) \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 \sqrt{\frac{a+b \cosh (x)}{a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2656
Rule 2752
Rule 2663
Rule 2661
Rule 2655
Rule 2653
Rubi steps
\begin{align*} \int (a+b \cosh (x))^{3/2} \, dx &=\frac{2}{3} b \sqrt{a+b \cosh (x)} \sinh (x)+\frac{2}{3} \int \frac{\frac{1}{2} \left (3 a^2+b^2\right )+2 a b \cosh (x)}{\sqrt{a+b \cosh (x)}} \, dx\\ &=\frac{2}{3} b \sqrt{a+b \cosh (x)} \sinh (x)+\frac{1}{3} (4 a) \int \sqrt{a+b \cosh (x)} \, dx+\frac{1}{3} \left (-a^2+b^2\right ) \int \frac{1}{\sqrt{a+b \cosh (x)}} \, dx\\ &=\frac{2}{3} b \sqrt{a+b \cosh (x)} \sinh (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 \sqrt{\frac{a+b \cosh (x)}{a+b}}}+\frac{\left (\left (-a^2+b^2\right ) \sqrt{\frac{a+b \cosh (x)}{a+b}}\right ) \int \frac{1}{\sqrt{\frac{a}{a+b}+\frac{b \cosh (x)}{a+b}}} \, dx}{3 \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 \sqrt{\frac{a+b \cosh (x)}{a+b}}}+\frac{2 i \left (a^2-b^2\right ) \sqrt{\frac{a+b \cosh (x)}{a+b}} F\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \sqrt{a+b \cosh (x)}}+\frac{2}{3} b \sqrt{a+b \cosh (x)} \sinh (x)\\ \end{align*}
Mathematica [A] time = 0.227168, size = 111, normalized size = 0.9 \[ \frac{2 i \left (a^2-b^2\right ) \sqrt{\frac{a+b \cosh (x)}{a+b}} \text{EllipticF}\left (\frac{i x}{2},\frac{2 b}{a+b}\right )+2 b \sinh (x) (a+b \cosh (x))-8 i a (a+b) \sqrt{\frac{a+b \cosh (x)}{a+b}} E\left (\frac{i x}{2}|\frac{2 b}{a+b}\right )}{3 \sqrt{a+b \cosh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.063, size = 458, normalized size = 3.7 \begin{align*}{\frac{2}{3} \left ( 4\,\sqrt{-2\,{\frac{b}{a-b}}}{b}^{2}\cosh \left ( x/2 \right ) \left ( \sinh \left ( x/2 \right ) \right ) ^{4}+ \left ( 2\,\sqrt{-2\,{\frac{b}{a-b}}}ab+2\,\sqrt{-2\,{\frac{b}{a-b}}}{b}^{2} \right ) \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{2}\cosh \left ({\frac{x}{2}} \right ) +3\,{a}^{2}\sqrt{2\,{\frac{ \left ( \sinh \left ( x/2 \right ) \right ) ^{2}b}{a-b}}+{\frac{a+b}{a-b}}}\sqrt{- \left ( \sinh \left ( x/2 \right ) \right ) ^{2}}{\it EllipticF} \left ( \cosh \left ( x/2 \right ) \sqrt{-2\,{\frac{b}{a-b}}},1/2\,\sqrt{-2\,{\frac{a-b}{b}}} \right ) +4\,ab\sqrt{2\,{\frac{ \left ( \sinh \left ( x/2 \right ) \right ) ^{2}b}{a-b}}+{\frac{a+b}{a-b}}}\sqrt{- \left ( \sinh \left ( x/2 \right ) \right ) ^{2}}{\it EllipticF} \left ( \cosh \left ( x/2 \right ) \sqrt{-2\,{\frac{b}{a-b}}},1/2\,\sqrt{-2\,{\frac{a-b}{b}}} \right ) +{b}^{2}\sqrt{2\,{\frac{ \left ( \sinh \left ( x/2 \right ) \right ) ^{2}b}{a-b}}+{\frac{a+b}{a-b}}}\sqrt{- \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{2}}{\it EllipticF} \left ( \cosh \left ({\frac{x}{2}} \right ) \sqrt{-2\,{\frac{b}{a-b}}},{\frac{1}{2}\sqrt{-2\,{\frac{a-b}{b}}}} \right ) -8\,\sqrt{2\,{\frac{ \left ( \sinh \left ( x/2 \right ) \right ) ^{2}b}{a-b}}+{\frac{a+b}{a-b}}}\sqrt{- \left ( \sinh \left ( x/2 \right ) \right ) ^{2}}{\it EllipticE} \left ( \cosh \left ( x/2 \right ) \sqrt{-2\,{\frac{b}{a-b}}},1/2\,\sqrt{-2\,{\frac{a-b}{b}}} \right ) ab \right ) \sqrt{ \left ( 2\, \left ( \cosh \left ( x/2 \right ) \right ) ^{2}b+a-b \right ) \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{2}}{\frac{1}{\sqrt{-2\,{\frac{b}{a-b}}}}}{\frac{1}{\sqrt{2\,b \left ( \sinh \left ( x/2 \right ) \right ) ^{4}+ \left ( a+b \right ) \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{2}}}} \left ( \sinh \left ({\frac{x}{2}} \right ) \right ) ^{-1}{\frac{1}{\sqrt{2\, \left ( \sinh \left ( x/2 \right ) \right ) ^{2}b+a+b}}}} \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{\left (b \cosh \left (x\right ) + a\right )}^{\frac{3}{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 ({\left (b \cosh \left (x\right ) + a\right )}^{\frac{3}{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \cosh{\left (x \right )}\right )^{\frac{3}{2}}\, dx \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{\left (b \cosh \left (x\right ) + a\right )}^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]