Optimal. Leaf size=65 \[ -\frac {\sinh (a+b x) \cosh ^3(a+b x)}{16 b^2}-\frac {3 \sinh (a+b x) \cosh (a+b x)}{32 b^2}+\frac {x \cosh ^4(a+b x)}{4 b}-\frac {3 x}{32 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {5373, 2635, 8} \[ -\frac {\sinh (a+b x) \cosh ^3(a+b x)}{16 b^2}-\frac {3 \sinh (a+b x) \cosh (a+b x)}{32 b^2}+\frac {x \cosh ^4(a+b x)}{4 b}-\frac {3 x}{32 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2635
Rule 5373
Rubi steps
\begin {align*} \int x \cosh ^3(a+b x) \sinh (a+b x) \, dx &=\frac {x \cosh ^4(a+b x)}{4 b}-\frac {\int \cosh ^4(a+b x) \, dx}{4 b}\\ &=\frac {x \cosh ^4(a+b x)}{4 b}-\frac {\cosh ^3(a+b x) \sinh (a+b x)}{16 b^2}-\frac {3 \int \cosh ^2(a+b x) \, dx}{16 b}\\ &=\frac {x \cosh ^4(a+b x)}{4 b}-\frac {3 \cosh (a+b x) \sinh (a+b x)}{32 b^2}-\frac {\cosh ^3(a+b x) \sinh (a+b x)}{16 b^2}-\frac {3 \int 1 \, dx}{32 b}\\ &=-\frac {3 x}{32 b}+\frac {x \cosh ^4(a+b x)}{4 b}-\frac {3 \cosh (a+b x) \sinh (a+b x)}{32 b^2}-\frac {\cosh ^3(a+b x) \sinh (a+b x)}{16 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 50, normalized size = 0.77 \[ -\frac {8 \sinh (2 (a+b x))+\sinh (4 (a+b x))-16 b x \cosh (2 (a+b x))-4 b x \cosh (4 (a+b x))}{128 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 108, normalized size = 1.66 \[ \frac {b x \cosh \left (b x + a\right )^{4} + b x \sinh \left (b x + a\right )^{4} + 4 \, b x \cosh \left (b x + a\right )^{2} - \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + 2 \, {\left (3 \, b x \cosh \left (b x + a\right )^{2} + 2 \, b x\right )} \sinh \left (b x + a\right )^{2} - {\left (\cosh \left (b x + a\right )^{3} + 4 \, \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )}{32 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 81, normalized size = 1.25 \[ \frac {{\left (4 \, b x - 1\right )} e^{\left (4 \, b x + 4 \, a\right )}}{256 \, b^{2}} + \frac {{\left (2 \, b x - 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{32 \, b^{2}} + \frac {{\left (2 \, b x + 1\right )} e^{\left (-2 \, b x - 2 \, a\right )}}{32 \, b^{2}} + \frac {{\left (4 \, b x + 1\right )} e^{\left (-4 \, b x - 4 \, a\right )}}{256 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.30, size = 69, normalized size = 1.06 \[ \frac {\frac {\left (b x +a \right ) \left (\cosh ^{4}\left (b x +a \right )\right )}{4}-\frac {\left (\cosh ^{3}\left (b x +a \right )\right ) \sinh \left (b x +a \right )}{16}-\frac {3 \cosh \left (b x +a \right ) \sinh \left (b x +a \right )}{32}-\frac {3 b x}{32}-\frac {3 a}{32}-\frac {a \left (\cosh ^{4}\left (b x +a \right )\right )}{4}}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 91, normalized size = 1.40 \[ \frac {{\left (4 \, b x e^{\left (4 \, a\right )} - e^{\left (4 \, a\right )}\right )} e^{\left (4 \, b x\right )}}{256 \, b^{2}} + \frac {{\left (2 \, b x e^{\left (2 \, a\right )} - e^{\left (2 \, a\right )}\right )} e^{\left (2 \, b x\right )}}{32 \, b^{2}} + \frac {{\left (2 \, b x + 1\right )} e^{\left (-2 \, b x - 2 \, a\right )}}{32 \, b^{2}} + \frac {{\left (4 \, b x + 1\right )} e^{\left (-4 \, b x - 4 \, a\right )}}{256 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 57, normalized size = 0.88 \[ -\frac {\frac {3\,x}{32}-\frac {x\,{\mathrm {cosh}\left (a+b\,x\right )}^4}{4}}{b}-\frac {{\mathrm {cosh}\left (a+b\,x\right )}^3\,\mathrm {sinh}\left (a+b\,x\right )}{16\,b^2}-\frac {3\,\mathrm {cosh}\left (a+b\,x\right )\,\mathrm {sinh}\left (a+b\,x\right )}{32\,b^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.68, size = 110, normalized size = 1.69 \[ \begin {cases} - \frac {3 x \sinh ^{4}{\left (a + b x \right )}}{32 b} + \frac {3 x \sinh ^{2}{\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{16 b} + \frac {5 x \cosh ^{4}{\left (a + b x \right )}}{32 b} + \frac {3 \sinh ^{3}{\left (a + b x \right )} \cosh {\left (a + b x \right )}}{32 b^{2}} - \frac {5 \sinh {\left (a + b x \right )} \cosh ^{3}{\left (a + b x \right )}}{32 b^{2}} & \text {for}\: b \neq 0 \\\frac {x^{2} \sinh {\relax (a )} \cosh ^{3}{\relax (a )}}{2} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________