Optimal. Leaf size=195 \[ -\frac {b e^{c+d x} \sinh (a+b x)}{8 \left (b^2-d^2\right )}+\frac {3 b e^{c+d x} \sinh (3 a+3 b x)}{16 \left (9 b^2-d^2\right )}+\frac {5 b e^{c+d x} \sinh (5 a+5 b x)}{16 \left (25 b^2-d^2\right )}+\frac {d e^{c+d x} \cosh (a+b x)}{8 \left (b^2-d^2\right )}-\frac {d e^{c+d x} \cosh (3 a+3 b x)}{16 \left (9 b^2-d^2\right )}-\frac {d e^{c+d x} \cosh (5 a+5 b x)}{16 \left (25 b^2-d^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 195, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {5509, 5475} \[ -\frac {b e^{c+d x} \sinh (a+b x)}{8 \left (b^2-d^2\right )}+\frac {3 b e^{c+d x} \sinh (3 a+3 b x)}{16 \left (9 b^2-d^2\right )}+\frac {5 b e^{c+d x} \sinh (5 a+5 b x)}{16 \left (25 b^2-d^2\right )}+\frac {d e^{c+d x} \cosh (a+b x)}{8 \left (b^2-d^2\right )}-\frac {d e^{c+d x} \cosh (3 a+3 b x)}{16 \left (9 b^2-d^2\right )}-\frac {d e^{c+d x} \cosh (5 a+5 b x)}{16 \left (25 b^2-d^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5475
Rule 5509
Rubi steps
\begin {align*} \int e^{c+d x} \cosh ^3(a+b x) \sinh ^2(a+b x) \, dx &=\int \left (-\frac {1}{8} e^{c+d x} \cosh (a+b x)+\frac {1}{16} e^{c+d x} \cosh (3 a+3 b x)+\frac {1}{16} e^{c+d x} \cosh (5 a+5 b x)\right ) \, dx\\ &=\frac {1}{16} \int e^{c+d x} \cosh (3 a+3 b x) \, dx+\frac {1}{16} \int e^{c+d x} \cosh (5 a+5 b x) \, dx-\frac {1}{8} \int e^{c+d x} \cosh (a+b x) \, dx\\ &=\frac {d e^{c+d x} \cosh (a+b x)}{8 \left (b^2-d^2\right )}-\frac {d e^{c+d x} \cosh (3 a+3 b x)}{16 \left (9 b^2-d^2\right )}-\frac {d e^{c+d x} \cosh (5 a+5 b x)}{16 \left (25 b^2-d^2\right )}-\frac {b e^{c+d x} \sinh (a+b x)}{8 \left (b^2-d^2\right )}+\frac {3 b e^{c+d x} \sinh (3 a+3 b x)}{16 \left (9 b^2-d^2\right )}+\frac {5 b e^{c+d x} \sinh (5 a+5 b x)}{16 \left (25 b^2-d^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.29, size = 118, normalized size = 0.61 \[ \frac {1}{16} e^{c+d x} \left (\frac {3 b \sinh (3 (a+b x))-d \cosh (3 (a+b x))}{9 b^2-d^2}+\frac {5 b \sinh (5 (a+b x))-d \cosh (5 (a+b x))}{25 b^2-d^2}+\frac {2 d \cosh (a+b x)-2 b \sinh (a+b x)}{(b-d) (b+d)}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.53, size = 917, normalized size = 4.70 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 132, normalized size = 0.68 \[ \frac {e^{\left (5 \, b x + d x + 5 \, a + c\right )}}{32 \, {\left (5 \, b + d\right )}} + \frac {e^{\left (3 \, b x + d x + 3 \, a + c\right )}}{32 \, {\left (3 \, b + d\right )}} - \frac {e^{\left (b x + d x + a + c\right )}}{16 \, {\left (b + d\right )}} + \frac {e^{\left (-b x + d x - a + c\right )}}{16 \, {\left (b - d\right )}} - \frac {e^{\left (-3 \, b x + d x - 3 \, a + c\right )}}{32 \, {\left (3 \, b - d\right )}} - \frac {e^{\left (-5 \, b x + d x - 5 \, a + c\right )}}{32 \, {\left (5 \, b - d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.54, size = 278, normalized size = 1.43 \[ -\frac {\sinh \left (a -c +\left (b -d \right ) x \right )}{16 \left (b -d \right )}-\frac {\sinh \left (a +c +\left (b +d \right ) x \right )}{16 \left (b +d \right )}+\frac {\sinh \left (3 a -c +\left (3 b -d \right ) x \right )}{96 b -32 d}+\frac {\sinh \left (3 a +c +\left (3 b +d \right ) x \right )}{96 b +32 d}+\frac {\sinh \left (\left (5 b -d \right ) x +5 a -c \right )}{160 b -32 d}+\frac {\sinh \left (\left (5 b +d \right ) x +5 a +c \right )}{160 b +32 d}+\frac {\cosh \left (a -c +\left (b -d \right ) x \right )}{16 b -16 d}-\frac {\cosh \left (a +c +\left (b +d \right ) x \right )}{16 \left (b +d \right )}-\frac {\cosh \left (3 a -c +\left (3 b -d \right ) x \right )}{32 \left (3 b -d \right )}+\frac {\cosh \left (3 a +c +\left (3 b +d \right ) x \right )}{96 b +32 d}-\frac {\cosh \left (\left (5 b -d \right ) x +5 a -c \right )}{32 \left (5 b -d \right )}+\frac {\cosh \left (\left (5 b +d \right ) x +5 a +c \right )}{160 b +32 d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.42, size = 393, normalized size = 2.02 \[ \frac {{\mathrm {cosh}\left (a+b\,x\right )}^5\,{\mathrm {e}}^{c+d\,x}\,\left (26\,b^4\,d-2\,b^2\,d^3\right )}{225\,b^6-259\,b^4\,d^2+35\,b^2\,d^4-d^6}+\frac {3\,{\mathrm {cosh}\left (a+b\,x\right )}^2\,{\mathrm {e}}^{c+d\,x}\,{\mathrm {sinh}\left (a+b\,x\right )}^3\,\left (25\,b^5-10\,b^3\,d^2+b\,d^4\right )}{225\,b^6-259\,b^4\,d^2+35\,b^2\,d^4-d^6}+\frac {2\,{\mathrm {cosh}\left (a+b\,x\right )}^4\,{\mathrm {e}}^{c+d\,x}\,\mathrm {sinh}\left (a+b\,x\right )\,\left (b\,d^4-13\,b^3\,d^2\right )}{225\,b^6-259\,b^4\,d^2+35\,b^2\,d^4-d^6}-\frac {{\mathrm {cosh}\left (a+b\,x\right )}^3\,{\mathrm {e}}^{c+d\,x}\,{\mathrm {sinh}\left (a+b\,x\right )}^2\,\left (65\,b^4\,d-18\,b^2\,d^3+d^5\right )}{225\,b^6-259\,b^4\,d^2+35\,b^2\,d^4-d^6}-\frac {6\,b^3\,{\mathrm {e}}^{c+d\,x}\,{\mathrm {sinh}\left (a+b\,x\right )}^5\,\left (5\,b^2-d^2\right )}{225\,b^6-259\,b^4\,d^2+35\,b^2\,d^4-d^6}+\frac {6\,b^2\,d\,\mathrm {cosh}\left (a+b\,x\right )\,{\mathrm {e}}^{c+d\,x}\,{\mathrm {sinh}\left (a+b\,x\right )}^4\,\left (5\,b^2-d^2\right )}{225\,b^6-259\,b^4\,d^2+35\,b^2\,d^4-d^6} \]
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]
________________________________________________________________________________________