Optimal. Leaf size=84 \[ -\frac {2 b \sinh (x)}{\left (a^2-b^2\right ) \sqrt {a+b \cosh (x)}}-\frac {2 i \sqrt {a+b \cosh (x)} E\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )}{\left (a^2-b^2\right ) \sqrt {\frac {a+b \cosh (x)}{a+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 84, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {2664, 21, 2655, 2653} \[ -\frac {2 b \sinh (x)}{\left (a^2-b^2\right ) \sqrt {a+b \cosh (x)}}-\frac {2 i \sqrt {a+b \cosh (x)} E\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )}{\left (a^2-b^2\right ) \sqrt {\frac {a+b \cosh (x)}{a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2653
Rule 2655
Rule 2664
Rubi steps
\begin {align*} \int \frac {1}{(a+b \cosh (x))^{3/2}} \, dx &=-\frac {2 b \sinh (x)}{\left (a^2-b^2\right ) \sqrt {a+b \cosh (x)}}-\frac {2 \int \frac {-\frac {a}{2}-\frac {1}{2} b \cosh (x)}{\sqrt {a+b \cosh (x)}} \, dx}{a^2-b^2}\\ &=-\frac {2 b \sinh (x)}{\left (a^2-b^2\right ) \sqrt {a+b \cosh (x)}}+\frac {\int \sqrt {a+b \cosh (x)} \, dx}{a^2-b^2}\\ &=-\frac {2 b \sinh (x)}{\left (a^2-b^2\right ) \sqrt {a+b \cosh (x)}}+\frac {\sqrt {a+b \cosh (x)} \int \sqrt {\frac {a}{a+b}+\frac {b \cosh (x)}{a+b}} \, dx}{\left (a^2-b^2\right ) \sqrt {\frac {a+b \cosh (x)}{a+b}}}\\ &=-\frac {2 i \sqrt {a+b \cosh (x)} E\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )}{\left (a^2-b^2\right ) \sqrt {\frac {a+b \cosh (x)}{a+b}}}-\frac {2 b \sinh (x)}{\left (a^2-b^2\right ) \sqrt {a+b \cosh (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 68, normalized size = 0.81 \[ -\frac {2 \left (b \sinh (x)+i (a+b) \sqrt {\frac {a+b \cosh (x)}{a+b}} E\left (\frac {i x}{2}|\frac {2 b}{a+b}\right )\right )}{(a-b) (a+b) \sqrt {a+b \cosh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.88, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {b \cosh \relax (x) + a}}{b^{2} \cosh \relax (x)^{2} + 2 \, a b \cosh \relax (x) + a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (b \cosh \relax (x) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.50, size = 296, normalized size = 3.52 \[ \frac {-4 \sqrt {-\frac {2 b}{a -b}}\, b \cosh \left (\frac {x}{2}\right ) \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )+2 \EllipticF \left (\cosh \left (\frac {x}{2}\right ) \sqrt {-\frac {2 b}{a -b}}, \frac {\sqrt {-\frac {2 \left (a -b \right )}{b}}}{2}\right ) \sqrt {\frac {2 b \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}{a -b}+\frac {a +b}{a -b}}\, \sqrt {-\left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, a +2 \EllipticF \left (\cosh \left (\frac {x}{2}\right ) \sqrt {-\frac {2 b}{a -b}}, \frac {\sqrt {-\frac {2 \left (a -b \right )}{b}}}{2}\right ) \sqrt {\frac {2 b \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}{a -b}+\frac {a +b}{a -b}}\, \sqrt {-\left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, b -4 \EllipticE \left (\cosh \left (\frac {x}{2}\right ) \sqrt {-\frac {2 b}{a -b}}, \frac {\sqrt {-\frac {2 \left (a -b \right )}{b}}}{2}\right ) \sqrt {\frac {2 b \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}{a -b}+\frac {a +b}{a -b}}\, \sqrt {-\left (\sinh ^{2}\left (\frac {x}{2}\right )\right )}\, b}{\sqrt {-\frac {2 b}{a -b}}\, \left (a -b \right ) \left (a +b \right ) \sinh \left (\frac {x}{2}\right ) \sqrt {2 b \left (\sinh ^{2}\left (\frac {x}{2}\right )\right )+a +b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (b \cosh \relax (x) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\left (a+b\,\mathrm {cosh}\relax (x)\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (a + b \cosh {\relax (x )}\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________