Optimal. Leaf size=143 \[ \frac {9 \sinh (2 a+2 b x)}{256 b^4}-\frac {\sinh (6 a+6 b x)}{6912 b^4}-\frac {9 x \cosh (2 a+2 b x)}{128 b^3}+\frac {x \cosh (6 a+6 b x)}{1152 b^3}+\frac {9 x^2 \sinh (2 a+2 b x)}{128 b^2}-\frac {x^2 \sinh (6 a+6 b x)}{384 b^2}-\frac {3 x^3 \cosh (2 a+2 b x)}{64 b}+\frac {x^3 \cosh (6 a+6 b x)}{192 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.20, antiderivative size = 143, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {5448, 3296, 2637} \[ \frac {9 x^2 \sinh (2 a+2 b x)}{128 b^2}-\frac {x^2 \sinh (6 a+6 b x)}{384 b^2}+\frac {9 \sinh (2 a+2 b x)}{256 b^4}-\frac {\sinh (6 a+6 b x)}{6912 b^4}-\frac {9 x \cosh (2 a+2 b x)}{128 b^3}+\frac {x \cosh (6 a+6 b x)}{1152 b^3}-\frac {3 x^3 \cosh (2 a+2 b x)}{64 b}+\frac {x^3 \cosh (6 a+6 b x)}{192 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2637
Rule 3296
Rule 5448
Rubi steps
\begin {align*} \int x^3 \cosh ^3(a+b x) \sinh ^3(a+b x) \, dx &=\int \left (-\frac {3}{32} x^3 \sinh (2 a+2 b x)+\frac {1}{32} x^3 \sinh (6 a+6 b x)\right ) \, dx\\ &=\frac {1}{32} \int x^3 \sinh (6 a+6 b x) \, dx-\frac {3}{32} \int x^3 \sinh (2 a+2 b x) \, dx\\ &=-\frac {3 x^3 \cosh (2 a+2 b x)}{64 b}+\frac {x^3 \cosh (6 a+6 b x)}{192 b}-\frac {\int x^2 \cosh (6 a+6 b x) \, dx}{64 b}+\frac {9 \int x^2 \cosh (2 a+2 b x) \, dx}{64 b}\\ &=-\frac {3 x^3 \cosh (2 a+2 b x)}{64 b}+\frac {x^3 \cosh (6 a+6 b x)}{192 b}+\frac {9 x^2 \sinh (2 a+2 b x)}{128 b^2}-\frac {x^2 \sinh (6 a+6 b x)}{384 b^2}+\frac {\int x \sinh (6 a+6 b x) \, dx}{192 b^2}-\frac {9 \int x \sinh (2 a+2 b x) \, dx}{64 b^2}\\ &=-\frac {9 x \cosh (2 a+2 b x)}{128 b^3}-\frac {3 x^3 \cosh (2 a+2 b x)}{64 b}+\frac {x \cosh (6 a+6 b x)}{1152 b^3}+\frac {x^3 \cosh (6 a+6 b x)}{192 b}+\frac {9 x^2 \sinh (2 a+2 b x)}{128 b^2}-\frac {x^2 \sinh (6 a+6 b x)}{384 b^2}-\frac {\int \cosh (6 a+6 b x) \, dx}{1152 b^3}+\frac {9 \int \cosh (2 a+2 b x) \, dx}{128 b^3}\\ &=-\frac {9 x \cosh (2 a+2 b x)}{128 b^3}-\frac {3 x^3 \cosh (2 a+2 b x)}{64 b}+\frac {x \cosh (6 a+6 b x)}{1152 b^3}+\frac {x^3 \cosh (6 a+6 b x)}{192 b}+\frac {9 \sinh (2 a+2 b x)}{256 b^4}+\frac {9 x^2 \sinh (2 a+2 b x)}{128 b^2}-\frac {\sinh (6 a+6 b x)}{6912 b^4}-\frac {x^2 \sinh (6 a+6 b x)}{384 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.90, size = 90, normalized size = 0.63 \[ -\frac {-3 \left (6 b^3 x^3+b x\right ) \cosh (6 (a+b x))+81 b x \left (2 b^2 x^2+3\right ) \cosh (2 (a+b x))+\sinh (2 (a+b x)) \left (\left (18 b^2 x^2+1\right ) \cosh (4 (a+b x))-234 b^2 x^2-121\right )}{3456 b^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.81, size = 248, normalized size = 1.73 \[ \frac {3 \, {\left (6 \, b^{3} x^{3} + b x\right )} \cosh \left (b x + a\right )^{6} - 10 \, {\left (18 \, b^{2} x^{2} + 1\right )} \cosh \left (b x + a\right )^{3} \sinh \left (b x + a\right )^{3} + 45 \, {\left (6 \, b^{3} x^{3} + b x\right )} \cosh \left (b x + a\right )^{2} \sinh \left (b x + a\right )^{4} - 3 \, {\left (18 \, b^{2} x^{2} + 1\right )} \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{5} + 3 \, {\left (6 \, b^{3} x^{3} + b x\right )} \sinh \left (b x + a\right )^{6} - 81 \, {\left (2 \, b^{3} x^{3} + 3 \, b x\right )} \cosh \left (b x + a\right )^{2} - 9 \, {\left (18 \, b^{3} x^{3} - 5 \, {\left (6 \, b^{3} x^{3} + b x\right )} \cosh \left (b x + a\right )^{4} + 27 \, b x\right )} \sinh \left (b x + a\right )^{2} - 3 \, {\left ({\left (18 \, b^{2} x^{2} + 1\right )} \cosh \left (b x + a\right )^{5} - 81 \, {\left (2 \, b^{2} x^{2} + 1\right )} \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )}{3456 \, b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 145, normalized size = 1.01 \[ \frac {{\left (36 \, b^{3} x^{3} - 18 \, b^{2} x^{2} + 6 \, b x - 1\right )} e^{\left (6 \, b x + 6 \, a\right )}}{13824 \, b^{4}} - \frac {3 \, {\left (4 \, b^{3} x^{3} - 6 \, b^{2} x^{2} + 6 \, b x - 3\right )} e^{\left (2 \, b x + 2 \, a\right )}}{512 \, b^{4}} - \frac {3 \, {\left (4 \, b^{3} x^{3} + 6 \, b^{2} x^{2} + 6 \, b x + 3\right )} e^{\left (-2 \, b x - 2 \, a\right )}}{512 \, b^{4}} + \frac {{\left (36 \, b^{3} x^{3} + 18 \, b^{2} x^{2} + 6 \, b x + 1\right )} e^{\left (-6 \, b x - 6 \, a\right )}}{13824 \, b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.43, size = 499, normalized size = 3.49 \[ \frac {\frac {\left (b x +a \right )^{3} \left (\sinh ^{2}\left (b x +a \right )\right ) \left (\cosh ^{4}\left (b x +a \right )\right )}{6}-\frac {\left (b x +a \right )^{3} \left (\cosh ^{4}\left (b x +a \right )\right )}{12}-\frac {\left (b x +a \right )^{2} \sinh \left (b x +a \right ) \left (\cosh ^{5}\left (b x +a \right )\right )}{12}+\frac {\left (b x +a \right )^{2} \sinh \left (b x +a \right ) \left (\cosh ^{3}\left (b x +a \right )\right )}{12}+\frac {\left (b x +a \right )^{2} \cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{8}+\frac {\left (b x +a \right )^{3}}{24}+\frac {\left (b x +a \right ) \left (\cosh ^{6}\left (b x +a \right )\right )}{36}-\frac {\sinh \left (b x +a \right ) \left (\cosh ^{5}\left (b x +a \right )\right )}{216}+\frac {\left (\cosh ^{3}\left (b x +a \right )\right ) \sinh \left (b x +a \right )}{216}+\frac {5 \cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{72}+\frac {5 b x}{72}+\frac {5 a}{72}-\frac {\left (b x +a \right ) \left (\cosh ^{4}\left (b x +a \right )\right )}{24}-\frac {\left (b x +a \right ) \left (\cosh ^{2}\left (b x +a \right )\right )}{8}-3 a \left (\frac {\left (b x +a \right )^{2} \left (\sinh ^{2}\left (b x +a \right )\right ) \left (\cosh ^{4}\left (b x +a \right )\right )}{6}-\frac {\left (b x +a \right )^{2} \left (\cosh ^{4}\left (b x +a \right )\right )}{12}-\frac {\left (b x +a \right ) \sinh \left (b x +a \right ) \left (\cosh ^{5}\left (b x +a \right )\right )}{18}+\frac {\left (b x +a \right ) \sinh \left (b x +a \right ) \left (\cosh ^{3}\left (b x +a \right )\right )}{18}+\frac {\left (b x +a \right ) \cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{12}+\frac {\left (b x +a \right )^{2}}{24}+\frac {\left (\cosh ^{6}\left (b x +a \right )\right )}{108}-\frac {\left (\cosh ^{4}\left (b x +a \right )\right )}{72}-\frac {\left (\cosh ^{2}\left (b x +a \right )\right )}{24}\right )+3 a^{2} \left (\frac {\left (b x +a \right ) \left (\sinh ^{2}\left (b x +a \right )\right ) \left (\cosh ^{4}\left (b x +a \right )\right )}{6}-\frac {\left (b x +a \right ) \left (\cosh ^{4}\left (b x +a \right )\right )}{12}-\frac {\sinh \left (b x +a \right ) \left (\cosh ^{5}\left (b x +a \right )\right )}{36}+\frac {\left (\cosh ^{3}\left (b x +a \right )\right ) \sinh \left (b x +a \right )}{36}+\frac {\cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{24}+\frac {b x}{24}+\frac {a}{24}\right )-a^{3} \left (\frac {\left (\cosh ^{4}\left (b x +a \right )\right ) \left (\sinh ^{2}\left (b x +a \right )\right )}{6}-\frac {\left (\cosh ^{4}\left (b x +a \right )\right )}{12}\right )}{b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 171, normalized size = 1.20 \[ \frac {{\left (36 \, b^{3} x^{3} e^{\left (6 \, a\right )} - 18 \, b^{2} x^{2} e^{\left (6 \, a\right )} + 6 \, b x e^{\left (6 \, a\right )} - e^{\left (6 \, a\right )}\right )} e^{\left (6 \, b x\right )}}{13824 \, b^{4}} - \frac {3 \, {\left (4 \, b^{3} x^{3} e^{\left (2 \, a\right )} - 6 \, b^{2} x^{2} e^{\left (2 \, a\right )} + 6 \, b x e^{\left (2 \, a\right )} - 3 \, e^{\left (2 \, a\right )}\right )} e^{\left (2 \, b x\right )}}{512 \, b^{4}} - \frac {3 \, {\left (4 \, b^{3} x^{3} + 6 \, b^{2} x^{2} + 6 \, b x + 3\right )} e^{\left (-2 \, b x - 2 \, a\right )}}{512 \, b^{4}} + \frac {{\left (36 \, b^{3} x^{3} + 18 \, b^{2} x^{2} + 6 \, b x + 1\right )} e^{\left (-6 \, b x - 6 \, a\right )}}{13824 \, b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.72, size = 126, normalized size = 0.88 \[ \frac {\frac {9\,x^2\,\mathrm {sinh}\left (2\,a+2\,b\,x\right )}{128}-\frac {x^2\,\mathrm {sinh}\left (6\,a+6\,b\,x\right )}{384}}{b^2}-\frac {\frac {3\,x^3\,\mathrm {cosh}\left (2\,a+2\,b\,x\right )}{64}-\frac {x^3\,\mathrm {cosh}\left (6\,a+6\,b\,x\right )}{192}}{b}-\frac {\frac {9\,x\,\mathrm {cosh}\left (2\,a+2\,b\,x\right )}{128}-\frac {x\,\mathrm {cosh}\left (6\,a+6\,b\,x\right )}{1152}}{b^3}+\frac {9\,\mathrm {sinh}\left (2\,a+2\,b\,x\right )}{256\,b^4}-\frac {\mathrm {sinh}\left (6\,a+6\,b\,x\right )}{6912\,b^4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 14.19, size = 314, normalized size = 2.20 \[ \begin {cases} - \frac {x^{3} \sinh ^{6}{\left (a + b x \right )}}{24 b} + \frac {x^{3} \sinh ^{4}{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{8 b} + \frac {x^{3} \sinh ^{2}{\left (a + b x \right )} \cosh ^{4}{\left (a + b x \right )}}{8 b} - \frac {x^{3} \cosh ^{6}{\left (a + b x \right )}}{24 b} + \frac {x^{2} \sinh ^{5}{\left (a + b x \right )} \cosh {\left (a + b x \right )}}{8 b^{2}} - \frac {x^{2} \sinh ^{3}{\left (a + b x \right )} \cosh ^{3}{\left (a + b x \right )}}{3 b^{2}} + \frac {x^{2} \sinh {\left (a + b x \right )} \cosh ^{5}{\left (a + b x \right )}}{8 b^{2}} - \frac {5 x \sinh ^{6}{\left (a + b x \right )}}{72 b^{3}} + \frac {x \sinh ^{4}{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{12 b^{3}} + \frac {x \sinh ^{2}{\left (a + b x \right )} \cosh ^{4}{\left (a + b x \right )}}{12 b^{3}} - \frac {5 x \cosh ^{6}{\left (a + b x \right )}}{72 b^{3}} + \frac {5 \sinh ^{5}{\left (a + b x \right )} \cosh {\left (a + b x \right )}}{72 b^{4}} - \frac {31 \sinh ^{3}{\left (a + b x \right )} \cosh ^{3}{\left (a + b x \right )}}{216 b^{4}} + \frac {5 \sinh {\left (a + b x \right )} \cosh ^{5}{\left (a + b x \right )}}{72 b^{4}} & \text {for}\: b \neq 0 \\\frac {x^{4} \sinh ^{3}{\relax (a )} \cosh ^{3}{\relax (a )}}{4} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________