Optimal. Leaf size=33 \[ \frac {\sinh ^4(x)}{4}-\frac {1}{3} i \sinh ^3(x)+\frac {\sinh ^2(x)}{2}-i \sinh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2667, 43} \[ \frac {\sinh ^4(x)}{4}-\frac {1}{3} i \sinh ^3(x)+\frac {\sinh ^2(x)}{2}-i \sinh (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2667
Rubi steps
\begin {align*} \int \frac {\cosh ^5(x)}{i+\sinh (x)} \, dx &=\operatorname {Subst}\left (\int (i-x)^2 (i+x) \, dx,x,\sinh (x)\right )\\ &=\operatorname {Subst}\left (\int \left (-i+x-i x^2+x^3\right ) \, dx,x,\sinh (x)\right )\\ &=-i \sinh (x)+\frac {\sinh ^2(x)}{2}-\frac {1}{3} i \sinh ^3(x)+\frac {\sinh ^4(x)}{4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 28, normalized size = 0.85 \[ \frac {1}{12} \sinh (x) \left (3 \sinh ^3(x)-4 i \sinh ^2(x)+6 \sinh (x)-12 i\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.52, size = 48, normalized size = 1.45 \[ \frac {1}{192} \, {\left (3 \, e^{\left (8 \, x\right )} - 8 i \, e^{\left (7 \, x\right )} + 12 \, e^{\left (6 \, x\right )} - 72 i \, e^{\left (5 \, x\right )} + 72 i \, e^{\left (3 \, x\right )} + 12 \, e^{\left (2 \, x\right )} + 8 i \, e^{x} + 3\right )} e^{\left (-4 \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.36, size = 47, normalized size = 1.42 \[ -\frac {1}{192} \, {\left (-72 i \, e^{\left (3 \, x\right )} - 12 \, e^{\left (2 \, x\right )} - 8 i \, e^{x} - 3\right )} e^{\left (-4 \, x\right )} + \frac {1}{64} \, e^{\left (4 \, x\right )} - \frac {1}{24} i \, e^{\left (3 \, x\right )} + \frac {1}{16} \, e^{\left (2 \, x\right )} - \frac {3}{8} i \, e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 94, normalized size = 2.85 \[ \frac {\frac {5}{8}+\frac {i}{2}}{\left (\tanh \left (\frac {x}{2}\right )-1\right )^{2}}+\frac {\frac {1}{2}+\frac {i}{3}}{\left (\tanh \left (\frac {x}{2}\right )-1\right )^{3}}+\frac {\frac {3}{8}+i}{\tanh \left (\frac {x}{2}\right )-1}+\frac {1}{4 \left (\tanh \left (\frac {x}{2}\right )-1\right )^{4}}+\frac {\frac {5}{8}-\frac {i}{2}}{\left (\tanh \left (\frac {x}{2}\right )+1\right )^{2}}+\frac {-\frac {1}{2}+\frac {i}{3}}{\left (\tanh \left (\frac {x}{2}\right )+1\right )^{3}}+\frac {-\frac {3}{8}+i}{\tanh \left (\frac {x}{2}\right )+1}+\frac {1}{4 \left (\tanh \left (\frac {x}{2}\right )+1\right )^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.31, size = 51, normalized size = 1.55 \[ -\frac {1}{192} \, {\left (8 i \, e^{\left (-x\right )} - 12 \, e^{\left (-2 \, x\right )} + 72 i \, e^{\left (-3 \, x\right )} - 3\right )} e^{\left (4 \, x\right )} + \frac {3}{8} i \, e^{\left (-x\right )} + \frac {1}{16} \, e^{\left (-2 \, x\right )} + \frac {1}{24} i \, e^{\left (-3 \, x\right )} + \frac {1}{64} \, e^{\left (-4 \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.56, size = 51, normalized size = 1.55 \[ \frac {{\mathrm {e}}^{-x}\,3{}\mathrm {i}}{8}+\frac {{\mathrm {e}}^{-2\,x}}{16}+\frac {{\mathrm {e}}^{2\,x}}{16}+\frac {{\mathrm {e}}^{-3\,x}\,1{}\mathrm {i}}{24}-\frac {{\mathrm {e}}^{3\,x}\,1{}\mathrm {i}}{24}+\frac {{\mathrm {e}}^{-4\,x}}{64}+\frac {{\mathrm {e}}^{4\,x}}{64}-\frac {{\mathrm {e}}^x\,3{}\mathrm {i}}{8} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.20, size = 63, normalized size = 1.91 \[ \frac {e^{4 x}}{64} - \frac {i e^{3 x}}{24} + \frac {e^{2 x}}{16} - \frac {3 i e^{x}}{8} + \frac {3 i e^{- x}}{8} + \frac {e^{- 2 x}}{16} + \frac {i e^{- 3 x}}{24} + \frac {e^{- 4 x}}{64} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________