Optimal. Leaf size=103 \[ \frac {2}{5} (a \sinh (x)+b \cosh (x)) (a \cosh (x)+b \sinh (x))^{3/2}-\frac {6 i \left (a^2-b^2\right ) \sqrt {a \cosh (x)+b \sinh (x)} E\left (\left .\frac {1}{2} \left (i x-\tan ^{-1}(a,-i b)\right )\right |2\right )}{5 \sqrt {\frac {a \cosh (x)+b \sinh (x)}{\sqrt {a^2-b^2}}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {3073, 3078, 2639} \[ \frac {2}{5} (a \sinh (x)+b \cosh (x)) (a \cosh (x)+b \sinh (x))^{3/2}-\frac {6 i \left (a^2-b^2\right ) \sqrt {a \cosh (x)+b \sinh (x)} E\left (\left .\frac {1}{2} \left (i x-\tan ^{-1}(a,-i b)\right )\right |2\right )}{5 \sqrt {\frac {a \cosh (x)+b \sinh (x)}{\sqrt {a^2-b^2}}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2639
Rule 3073
Rule 3078
Rubi steps
\begin {align*} \int (a \cosh (x)+b \sinh (x))^{5/2} \, dx &=\frac {2}{5} (b \cosh (x)+a \sinh (x)) (a \cosh (x)+b \sinh (x))^{3/2}+\frac {1}{5} \left (3 \left (a^2-b^2\right )\right ) \int \sqrt {a \cosh (x)+b \sinh (x)} \, dx\\ &=\frac {2}{5} (b \cosh (x)+a \sinh (x)) (a \cosh (x)+b \sinh (x))^{3/2}+\frac {\left (3 \left (a^2-b^2\right ) \sqrt {a \cosh (x)+b \sinh (x)}\right ) \int \sqrt {\cosh \left (x+i \tan ^{-1}(a,-i b)\right )} \, dx}{5 \sqrt {\frac {a \cosh (x)+b \sinh (x)}{\sqrt {a^2-b^2}}}}\\ &=\frac {2}{5} (b \cosh (x)+a \sinh (x)) (a \cosh (x)+b \sinh (x))^{3/2}-\frac {6 i \left (a^2-b^2\right ) E\left (\left .\frac {1}{2} \left (i x-\tan ^{-1}(a,-i b)\right )\right |2\right ) \sqrt {a \cosh (x)+b \sinh (x)}}{5 \sqrt {\frac {a \cosh (x)+b \sinh (x)}{\sqrt {a^2-b^2}}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.86, size = 193, normalized size = 1.87 \[ \frac {(a \cosh (x)+b \sinh (x)) \left (b \left (a^2+b^2\right ) \sinh (2 x)+6 a \left (a^2-b^2\right )+2 a b^2 \cosh (2 x)\right )-\frac {3 (a-b)^2 (a+b)^2 \left (b \sinh \left (\tanh ^{-1}\left (\frac {b}{a}\right )+x\right ) \, _2F_1\left (-\frac {1}{2},-\frac {1}{4};\frac {3}{4};\cosh ^2\left (x+\tanh ^{-1}\left (\frac {b}{a}\right )\right )\right )+\sqrt {-\sinh ^2\left (\tanh ^{-1}\left (\frac {b}{a}\right )+x\right )} \left (2 a \cosh \left (\tanh ^{-1}\left (\frac {b}{a}\right )+x\right )-b \sinh \left (\tanh ^{-1}\left (\frac {b}{a}\right )+x\right )\right )\right )}{a \sqrt {1-\frac {b^2}{a^2}} \sqrt {-\sinh ^2\left (\tanh ^{-1}\left (\frac {b}{a}\right )+x\right )}}}{5 b \sqrt {a \cosh (x)+b \sinh (x)}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.43, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (a^{2} \cosh \relax (x)^{2} + 2 \, a b \cosh \relax (x) \sinh \relax (x) + b^{2} \sinh \relax (x)^{2}\right )} \sqrt {a \cosh \relax (x) + b \sinh \relax (x)}, 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 {\left (a \cosh \relax (x) + b \sinh \relax (x)\right )}^{\frac {5}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.41, size = 51, normalized size = 0.50 \[ \frac {-\frac {\left (a^{2}-b^{2}\right )^{\frac {3}{2}} \left (\cosh ^{3}\relax (x )\right )}{3}+\left (a^{2}-b^{2}\right )^{\frac {3}{2}} \cosh \relax (x )}{\sqrt {-\sinh \relax (x ) \sqrt {a^{2}-b^{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a \cosh \relax (x) + b \sinh \relax (x)\right )}^{\frac {5}{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 {\left (a\,\mathrm {cosh}\relax (x)+b\,\mathrm {sinh}\relax (x)\right )}^{5/2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________