Optimal. Leaf size=94 \[ -\frac {2 b \cosh (x)}{\left (a^2+b^2\right ) \sqrt {a+b \sinh (x)}}+\frac {2 i E\left (\frac {\pi }{4}-\frac {i x}{2}|\frac {2 b}{i a+b}\right ) \sqrt {a+b \sinh (x)}}{\left (a^2+b^2\right ) \sqrt {\frac {a+b \sinh (x)}{a-i b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 94, 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 = {2743, 21, 2734,
2732} \begin {gather*} -\frac {2 b \cosh (x)}{\left (a^2+b^2\right ) \sqrt {a+b \sinh (x)}}+\frac {2 i \sqrt {a+b \sinh (x)} E\left (\frac {\pi }{4}-\frac {i x}{2}|\frac {2 b}{i a+b}\right )}{\left (a^2+b^2\right ) \sqrt {\frac {a+b \sinh (x)}{a-i b}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2732
Rule 2734
Rule 2743
Rubi steps
\begin {align*} \int \frac {1}{(a+b \sinh (x))^{3/2}} \, dx &=-\frac {2 b \cosh (x)}{\left (a^2+b^2\right ) \sqrt {a+b \sinh (x)}}-\frac {2 \int \frac {-\frac {a}{2}-\frac {1}{2} b \sinh (x)}{\sqrt {a+b \sinh (x)}} \, dx}{a^2+b^2}\\ &=-\frac {2 b \cosh (x)}{\left (a^2+b^2\right ) \sqrt {a+b \sinh (x)}}+\frac {\int \sqrt {a+b \sinh (x)} \, dx}{a^2+b^2}\\ &=-\frac {2 b \cosh (x)}{\left (a^2+b^2\right ) \sqrt {a+b \sinh (x)}}+\frac {\sqrt {a+b \sinh (x)} \int \sqrt {\frac {a}{a-i b}+\frac {b \sinh (x)}{a-i b}} \, dx}{\left (a^2+b^2\right ) \sqrt {\frac {a+b \sinh (x)}{a-i b}}}\\ &=-\frac {2 b \cosh (x)}{\left (a^2+b^2\right ) \sqrt {a+b \sinh (x)}}+\frac {2 i E\left (\frac {\pi }{4}-\frac {i x}{2}|\frac {2 b}{i a+b}\right ) \sqrt {a+b \sinh (x)}}{\left (a^2+b^2\right ) \sqrt {\frac {a+b \sinh (x)}{a-i b}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 81, normalized size = 0.86 \begin {gather*} \frac {-2 b \cosh (x)+2 (i a+b) E\left (\frac {1}{4} (\pi -2 i x)|-\frac {2 i b}{a-i b}\right ) \sqrt {\frac {a+b \sinh (x)}{a-i b}}}{\left (a^2+b^2\right ) \sqrt {a+b \sinh (x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 455 vs. \(2 (110 ) = 220\).
time = 0.98, size = 456, normalized size = 4.85
method | result | size |
default | \(\frac {2 \sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}\, \sqrt {\frac {\left (i-\sinh \left (x \right )\right ) b}{i b +a}}\, \sqrt {\frac {\left (i+\sinh \left (x \right )\right ) b}{i b -a}}\, \EllipticF \left (\sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}, \sqrt {-\frac {i b -a}{i b +a}}\right ) a^{2}+2 \sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}\, \sqrt {\frac {\left (i-\sinh \left (x \right )\right ) b}{i b +a}}\, \sqrt {\frac {\left (i+\sinh \left (x \right )\right ) b}{i b -a}}\, \EllipticF \left (\sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}, \sqrt {-\frac {i b -a}{i b +a}}\right ) b^{2}-2 \sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}\, \sqrt {\frac {\left (i-\sinh \left (x \right )\right ) b}{i b +a}}\, \sqrt {\frac {\left (i+\sinh \left (x \right )\right ) b}{i b -a}}\, \EllipticE \left (\sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}, \sqrt {-\frac {i b -a}{i b +a}}\right ) a^{2}-2 \sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}\, \sqrt {\frac {\left (i-\sinh \left (x \right )\right ) b}{i b +a}}\, \sqrt {\frac {\left (i+\sinh \left (x \right )\right ) b}{i b -a}}\, \EllipticE \left (\sqrt {-\frac {a +b \sinh \left (x \right )}{i b -a}}, \sqrt {-\frac {i b -a}{i b +a}}\right ) b^{2}-2 b^{2} \left (\sinh ^{2}\left (x \right )\right )-2 b^{2}}{\left (a^{2}+b^{2}\right ) b \cosh \left (x \right ) \sqrt {a +b \sinh \left (x \right )}}\) | \(456\) |
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.14, size = 407, normalized size = 4.33 \begin {gather*} -\frac {2 \, {\left ({\left (\sqrt {2} a b \cosh \left (x\right )^{2} + \sqrt {2} a b \sinh \left (x\right )^{2} + 2 \, \sqrt {2} a^{2} \cosh \left (x\right ) - \sqrt {2} a b + 2 \, {\left (\sqrt {2} a b \cosh \left (x\right ) + \sqrt {2} a^{2}\right )} \sinh \left (x\right )\right )} \sqrt {b} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (4 \, a^{2} + 3 \, b^{2}\right )}}{3 \, b^{2}}, -\frac {8 \, {\left (8 \, a^{3} + 9 \, a b^{2}\right )}}{27 \, b^{3}}, \frac {3 \, b \cosh \left (x\right ) + 3 \, b \sinh \left (x\right ) + 2 \, a}{3 \, b}\right ) - 3 \, {\left (\sqrt {2} b^{2} \cosh \left (x\right )^{2} + \sqrt {2} b^{2} \sinh \left (x\right )^{2} + 2 \, \sqrt {2} a b \cosh \left (x\right ) - \sqrt {2} b^{2} + 2 \, {\left (\sqrt {2} b^{2} \cosh \left (x\right ) + \sqrt {2} a b\right )} \sinh \left (x\right )\right )} \sqrt {b} {\rm weierstrassZeta}\left (\frac {4 \, {\left (4 \, a^{2} + 3 \, b^{2}\right )}}{3 \, b^{2}}, -\frac {8 \, {\left (8 \, a^{3} + 9 \, a b^{2}\right )}}{27 \, b^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (4 \, a^{2} + 3 \, b^{2}\right )}}{3 \, b^{2}}, -\frac {8 \, {\left (8 \, a^{3} + 9 \, a b^{2}\right )}}{27 \, b^{3}}, \frac {3 \, b \cosh \left (x\right ) + 3 \, b \sinh \left (x\right ) + 2 \, a}{3 \, b}\right )\right ) - 6 \, {\left (b^{2} \cosh \left (x\right )^{2} + b^{2} \sinh \left (x\right )^{2} + a b \cosh \left (x\right ) + {\left (2 \, b^{2} \cosh \left (x\right ) + a b\right )} \sinh \left (x\right )\right )} \sqrt {b \sinh \left (x\right ) + a}\right )}}{3 \, {\left (a^{2} b^{2} + b^{4} - {\left (a^{2} b^{2} + b^{4}\right )} \cosh \left (x\right )^{2} - {\left (a^{2} b^{2} + b^{4}\right )} \sinh \left (x\right )^{2} - 2 \, {\left (a^{3} b + a b^{3}\right )} \cosh \left (x\right ) - 2 \, {\left (a^{3} b + a b^{3} + {\left (a^{2} b^{2} + b^{4}\right )} \cosh \left (x\right )\right )} \sinh \left (x\right )\right )}} \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 + b \sinh {\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.01 \begin {gather*} \int \frac {1}{{\left (a+b\,\mathrm {sinh}\left (x\right )\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________