Optimal. Leaf size=301 \[ \frac {2 \sqrt {2} a b \cosh (2 c+2 d x) \sqrt {2 a+b \sinh (2 c+2 d x)}}{15 d}+\frac {b \cosh (2 c+2 d x) (2 a+b \sinh (2 c+2 d x))^{3/2}}{20 \sqrt {2} d}-\frac {i \left (92 a^2-9 b^2\right ) E\left (\frac {1}{2} \left (2 i c-\frac {\pi }{2}+2 i d x\right )|\frac {2 b}{2 i a+b}\right ) \sqrt {2 a+b \sinh (2 c+2 d x)}}{60 \sqrt {2} d \sqrt {\frac {2 a+b \sinh (2 c+2 d x)}{2 a-i b}}}+\frac {2 i \sqrt {2} a \left (4 a^2+b^2\right ) F\left (\frac {1}{2} \left (2 i c-\frac {\pi }{2}+2 i d x\right )|\frac {2 b}{2 i a+b}\right ) \sqrt {\frac {2 a+b \sinh (2 c+2 d x)}{2 a-i b}}}{15 d \sqrt {2 a+b \sinh (2 c+2 d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 301, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 8, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {2745, 2735,
2832, 2831, 2742, 2740, 2734, 2732} \begin {gather*} \frac {2 i \sqrt {2} a \left (4 a^2+b^2\right ) \sqrt {\frac {2 a+b \sinh (2 c+2 d x)}{2 a-i b}} F\left (\frac {1}{2} \left (2 i c+2 i d x-\frac {\pi }{2}\right )|\frac {2 b}{2 i a+b}\right )}{15 d \sqrt {2 a+b \sinh (2 c+2 d x)}}-\frac {i \left (92 a^2-9 b^2\right ) \sqrt {2 a+b \sinh (2 c+2 d x)} E\left (\frac {1}{2} \left (2 i c+2 i d x-\frac {\pi }{2}\right )|\frac {2 b}{2 i a+b}\right )}{60 \sqrt {2} d \sqrt {\frac {2 a+b \sinh (2 c+2 d x)}{2 a-i b}}}+\frac {b \cosh (2 c+2 d x) (2 a+b \sinh (2 c+2 d x))^{3/2}}{20 \sqrt {2} d}+\frac {2 \sqrt {2} a b \cosh (2 c+2 d x) \sqrt {2 a+b \sinh (2 c+2 d x)}}{15 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2732
Rule 2734
Rule 2735
Rule 2740
Rule 2742
Rule 2745
Rule 2831
Rule 2832
Rubi steps
\begin {align*} \int (a+b \cosh (c+d x) \sinh (c+d x))^{5/2} \, dx &=\int \left (a+\frac {1}{2} b \sinh (2 c+2 d x)\right )^{5/2} \, dx\\ &=\frac {b \cosh (2 c+2 d x) (2 a+b \sinh (2 c+2 d x))^{3/2}}{20 \sqrt {2} d}+\frac {2}{5} \int \sqrt {a+\frac {1}{2} b \sinh (2 c+2 d x)} \left (\frac {1}{8} \left (20 a^2-3 b^2\right )+2 a b \sinh (2 c+2 d x)\right ) \, dx\\ &=\frac {2 \sqrt {2} a b \cosh (2 c+2 d x) \sqrt {2 a+b \sinh (2 c+2 d x)}}{15 d}+\frac {b \cosh (2 c+2 d x) (2 a+b \sinh (2 c+2 d x))^{3/2}}{20 \sqrt {2} d}+\frac {4}{15} \int \frac {\frac {1}{16} a \left (60 a^2-17 b^2\right )+\frac {1}{32} b \left (92 a^2-9 b^2\right ) \sinh (2 c+2 d x)}{\sqrt {a+\frac {1}{2} b \sinh (2 c+2 d x)}} \, dx\\ &=\frac {2 \sqrt {2} a b \cosh (2 c+2 d x) \sqrt {2 a+b \sinh (2 c+2 d x)}}{15 d}+\frac {b \cosh (2 c+2 d x) (2 a+b \sinh (2 c+2 d x))^{3/2}}{20 \sqrt {2} d}+\frac {1}{60} \left (92 a^2-9 b^2\right ) \int \sqrt {a+\frac {1}{2} b \sinh (2 c+2 d x)} \, dx-\frac {1}{15} \left (2 a \left (4 a^2+b^2\right )\right ) \int \frac {1}{\sqrt {a+\frac {1}{2} b \sinh (2 c+2 d x)}} \, dx\\ &=\frac {2 \sqrt {2} a b \cosh (2 c+2 d x) \sqrt {2 a+b \sinh (2 c+2 d x)}}{15 d}+\frac {b \cosh (2 c+2 d x) (2 a+b \sinh (2 c+2 d x))^{3/2}}{20 \sqrt {2} d}+\frac {\left (\left (92 a^2-9 b^2\right ) \sqrt {a+\frac {1}{2} b \sinh (2 c+2 d x)}\right ) \int \sqrt {\frac {a}{a-\frac {i b}{2}}+\frac {b \sinh (2 c+2 d x)}{2 \left (a-\frac {i b}{2}\right )}} \, dx}{60 \sqrt {\frac {a+\frac {1}{2} b \sinh (2 c+2 d x)}{a-\frac {i b}{2}}}}-\frac {\left (2 a \left (4 a^2+b^2\right ) \sqrt {\frac {a+\frac {1}{2} b \sinh (2 c+2 d x)}{a-\frac {i b}{2}}}\right ) \int \frac {1}{\sqrt {\frac {a}{a-\frac {i b}{2}}+\frac {b \sinh (2 c+2 d x)}{2 \left (a-\frac {i b}{2}\right )}}} \, dx}{15 \sqrt {a+\frac {1}{2} b \sinh (2 c+2 d x)}}\\ &=\frac {2 \sqrt {2} a b \cosh (2 c+2 d x) \sqrt {2 a+b \sinh (2 c+2 d x)}}{15 d}+\frac {b \cosh (2 c+2 d x) (2 a+b \sinh (2 c+2 d x))^{3/2}}{20 \sqrt {2} d}-\frac {i \left (92 a^2-9 b^2\right ) E\left (\frac {1}{2} \left (2 i c-\frac {\pi }{2}+2 i d x\right )|\frac {2 b}{2 i a+b}\right ) \sqrt {2 a+b \sinh (2 c+2 d x)}}{60 \sqrt {2} d \sqrt {\frac {2 a+b \sinh (2 c+2 d x)}{2 a-i b}}}+\frac {2 i \sqrt {2} a \left (4 a^2+b^2\right ) F\left (\frac {1}{2} \left (2 i c-\frac {\pi }{2}+2 i d x\right )|\frac {2 b}{2 i a+b}\right ) \sqrt {\frac {2 a+b \sinh (2 c+2 d x)}{2 a-i b}}}{15 d \sqrt {2 a+b \sinh (2 c+2 d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.96, size = 239, normalized size = 0.79 \begin {gather*} \frac {2 \left (184 i a^3+92 a^2 b-18 i a b^2-9 b^3\right ) E\left (\frac {1}{4} (-4 i c+\pi -4 i d x)|-\frac {2 i b}{2 a-i b}\right ) \sqrt {\frac {2 a+b \sinh (2 (c+d x))}{2 a-i b}}-32 i a \left (4 a^2+b^2\right ) F\left (\frac {1}{4} (-4 i c+\pi -4 i d x)|-\frac {2 i b}{2 a-i b}\right ) \sqrt {\frac {2 a+b \sinh (2 (c+d x))}{2 a-i b}}+b \left (88 a^2 \cosh (2 (c+d x))+b (28 a+3 b \sinh (2 (c+d x))) \sinh (4 (c+d x))\right )}{120 d \sqrt {4 a+2 b \sinh (2 (c+d 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. 1259 vs. \(2 (331 ) = 662\).
time = 3.89, size = 1260, normalized size = 4.19
method | result | size |
default | \(\frac {64 i \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticF \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) a^{3} b +16 i \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticF \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) a \,b^{3}+240 \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticF \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) a^{4}+24 \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticF \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) a^{2} b^{2}-9 \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticF \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) b^{4}-368 \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticE \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) a^{4}-56 \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticE \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) a^{2} b^{2}+9 \sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}\, \sqrt {\frac {\left (-\sinh \left (2 d x +2 c \right )+i\right ) b}{i b +2 a}}\, \sqrt {\frac {\left (\sinh \left (2 d x +2 c \right )+i\right ) b}{i b -2 a}}\, \EllipticE \left (\sqrt {-\frac {2 a +b \sinh \left (2 d x +2 c \right )}{i b -2 a}}, \sqrt {-\frac {i b -2 a}{i b +2 a}}\right ) b^{4}+3 b^{4} \left (\sinh ^{4}\left (2 d x +2 c \right )\right )+28 a \,b^{3} \left (\sinh ^{3}\left (2 d x +2 c \right )\right )+44 a^{2} b^{2} \left (\sinh ^{2}\left (2 d x +2 c \right )\right )+3 b^{4} \left (\sinh ^{2}\left (2 d x +2 c \right )\right )+28 a \,b^{3} \sinh \left (2 d x +2 c \right )+44 a^{2} b^{2}}{60 b \cosh \left (2 d x +2 c \right ) \sqrt {4 a +2 b \sinh \left (2 d x +2 c \right )}\, d}\) | \(1260\) |
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 [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]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (a+b\,\mathrm {cosh}\left (c+d\,x\right )\,\mathrm {sinh}\left (c+d\,x\right )\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________