Optimal. Leaf size=138 \[ -\frac {3 \cosh (a+x (b-2 d)-2 c)}{16 (b-2 d)}+\frac {\cosh (3 a+x (3 b-2 d)-2 c)}{16 (3 b-2 d)}-\frac {3 \cosh (a+x (b+2 d)+2 c)}{16 (b+2 d)}+\frac {\cosh (3 a+x (3 b+2 d)+2 c)}{16 (3 b+2 d)}-\frac {3 \cosh (a+b x)}{8 b}+\frac {\cosh (3 a+3 b x)}{24 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 138, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {5618, 2638} \[ -\frac {3 \cosh (a+x (b-2 d)-2 c)}{16 (b-2 d)}+\frac {\cosh (3 a+x (3 b-2 d)-2 c)}{16 (3 b-2 d)}-\frac {3 \cosh (a+x (b+2 d)+2 c)}{16 (b+2 d)}+\frac {\cosh (3 a+x (3 b+2 d)+2 c)}{16 (3 b+2 d)}-\frac {3 \cosh (a+b x)}{8 b}+\frac {\cosh (3 a+3 b x)}{24 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2638
Rule 5618
Rubi steps
\begin {align*} \int \cosh ^2(c+d x) \sinh ^3(a+b x) \, dx &=\int \left (-\frac {3}{8} \sinh (a+b x)+\frac {1}{8} \sinh (3 a+3 b x)-\frac {3}{16} \sinh (a-2 c+(b-2 d) x)+\frac {1}{16} \sinh (3 a-2 c+(3 b-2 d) x)-\frac {3}{16} \sinh (a+2 c+(b+2 d) x)+\frac {1}{16} \sinh (3 a+2 c+(3 b+2 d) x)\right ) \, dx\\ &=\frac {1}{16} \int \sinh (3 a-2 c+(3 b-2 d) x) \, dx+\frac {1}{16} \int \sinh (3 a+2 c+(3 b+2 d) x) \, dx+\frac {1}{8} \int \sinh (3 a+3 b x) \, dx-\frac {3}{16} \int \sinh (a-2 c+(b-2 d) x) \, dx-\frac {3}{16} \int \sinh (a+2 c+(b+2 d) x) \, dx-\frac {3}{8} \int \sinh (a+b x) \, dx\\ &=-\frac {3 \cosh (a+b x)}{8 b}+\frac {\cosh (3 a+3 b x)}{24 b}-\frac {3 \cosh (a-2 c+(b-2 d) x)}{16 (b-2 d)}+\frac {\cosh (3 a-2 c+(3 b-2 d) x)}{16 (3 b-2 d)}-\frac {3 \cosh (a+2 c+(b+2 d) x)}{16 (b+2 d)}+\frac {\cosh (3 a+2 c+(3 b+2 d) x)}{16 (3 b+2 d)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.64, size = 153, normalized size = 1.11 \[ \frac {1}{48} \left (-\frac {9 \cosh (a+b x-2 c-2 d x)}{b-2 d}+\frac {3 \cosh (3 a+3 b x-2 c-2 d x)}{3 b-2 d}-\frac {9 \cosh (a+b x+2 c+2 d x)}{b+2 d}+\frac {3 \cosh (3 a+3 b x+2 c+2 d x)}{3 b+2 d}-\frac {18 \sinh (a) \sinh (b x)}{b}+\frac {2 \sinh (3 a) \sinh (3 b x)}{b}-\frac {18 \cosh (a) \cosh (b x)}{b}+\frac {2 \cosh (3 a) \cosh (3 b x)}{b}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 443, normalized size = 3.21 \[ \frac {{\left (9 \, b^{4} - 40 \, b^{2} d^{2} + 16 \, d^{4}\right )} \cosh \left (b x + a\right )^{3} + 9 \, {\left ({\left (b^{4} - 4 \, b^{2} d^{2}\right )} \cosh \left (b x + a\right )^{3} - {\left (9 \, b^{4} - 4 \, b^{2} d^{2}\right )} \cosh \left (b x + a\right )\right )} \cosh \left (d x + c\right )^{2} + 3 \, {\left (9 \, {\left (b^{4} - 4 \, b^{2} d^{2}\right )} \cosh \left (b x + a\right ) \cosh \left (d x + c\right )^{2} + {\left (9 \, b^{4} - 40 \, b^{2} d^{2} + 16 \, d^{4}\right )} \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right )^{2} + 9 \, {\left ({\left (b^{4} - 4 \, b^{2} d^{2}\right )} \cosh \left (b x + a\right )^{3} + 3 \, {\left (b^{4} - 4 \, b^{2} d^{2}\right )} \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{2} - {\left (9 \, b^{4} - 4 \, b^{2} d^{2}\right )} \cosh \left (b x + a\right )\right )} \sinh \left (d x + c\right )^{2} - 9 \, {\left (9 \, b^{4} - 40 \, b^{2} d^{2} + 16 \, d^{4}\right )} \cosh \left (b x + a\right ) - 12 \, {\left ({\left (b^{3} d - 4 \, b d^{3}\right )} \cosh \left (d x + c\right ) \sinh \left (b x + a\right )^{3} - 3 \, {\left (9 \, b^{3} d - 4 \, b d^{3} - {\left (b^{3} d - 4 \, b d^{3}\right )} \cosh \left (b x + a\right )^{2}\right )} \cosh \left (d x + c\right ) \sinh \left (b x + a\right )\right )} \sinh \left (d x + c\right )}{24 \, {\left ({\left (9 \, b^{5} - 40 \, b^{3} d^{2} + 16 \, b d^{4}\right )} \cosh \left (b x + a\right )^{4} - 2 \, {\left (9 \, b^{5} - 40 \, b^{3} d^{2} + 16 \, b d^{4}\right )} \cosh \left (b x + a\right )^{2} \sinh \left (b x + a\right )^{2} + {\left (9 \, b^{5} - 40 \, b^{3} d^{2} + 16 \, b d^{4}\right )} \sinh \left (b x + a\right )^{4}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.15, size = 256, normalized size = 1.86 \[ \frac {e^{\left (3 \, b x + 2 \, d x + 3 \, a + 2 \, c\right )}}{32 \, {\left (3 \, b + 2 \, d\right )}} + \frac {e^{\left (3 \, b x - 2 \, d x + 3 \, a - 2 \, c\right )}}{32 \, {\left (3 \, b - 2 \, d\right )}} + \frac {e^{\left (3 \, b x + 3 \, a\right )}}{48 \, b} - \frac {3 \, e^{\left (b x + 2 \, d x + a + 2 \, c\right )}}{32 \, {\left (b + 2 \, d\right )}} - \frac {3 \, e^{\left (b x - 2 \, d x + a - 2 \, c\right )}}{32 \, {\left (b - 2 \, d\right )}} - \frac {3 \, e^{\left (b x + a\right )}}{16 \, b} - \frac {3 \, e^{\left (-b x + 2 \, d x - a + 2 \, c\right )}}{32 \, {\left (b - 2 \, d\right )}} - \frac {3 \, e^{\left (-b x - 2 \, d x - a - 2 \, c\right )}}{32 \, {\left (b + 2 \, d\right )}} - \frac {3 \, e^{\left (-b x - a\right )}}{16 \, b} + \frac {e^{\left (-3 \, b x + 2 \, d x - 3 \, a + 2 \, c\right )}}{32 \, {\left (3 \, b - 2 \, d\right )}} + \frac {e^{\left (-3 \, b x - 2 \, d x - 3 \, a - 2 \, c\right )}}{32 \, {\left (3 \, b + 2 \, d\right )}} + \frac {e^{\left (-3 \, b x - 3 \, a\right )}}{48 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 127, normalized size = 0.92 \[ -\frac {3 \cosh \left (b x +a \right )}{8 b}+\frac {\cosh \left (3 b x +3 a \right )}{24 b}-\frac {3 \cosh \left (a -2 c +\left (b -2 d \right ) x \right )}{16 \left (b -2 d \right )}+\frac {\cosh \left (3 a -2 c +\left (3 b -2 d \right ) x \right )}{48 b -32 d}-\frac {3 \cosh \left (a +2 c +\left (b +2 d \right ) x \right )}{16 \left (b +2 d \right )}+\frac {\cosh \left (3 a +2 c +\left (3 b +2 d \right ) x \right )}{48 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.00, size = 337, normalized size = 2.44 \[ \frac {\mathrm {cosh}\left (a+b\,x\right )\,{\mathrm {cosh}\left (c+d\,x\right )}^2\,{\mathrm {sinh}\left (a+b\,x\right )}^2\,\left (9\,b^4-26\,b^2\,d^2+8\,d^4\right )}{b\,\left (9\,b^4-40\,b^2\,d^2+16\,d^4\right )}-{\mathrm {cosh}\left (a+b\,x\right )}^3\,{\mathrm {sinh}\left (c+d\,x\right )}^2\,\left (\frac {3\,b^3}{9\,b^4-40\,b^2\,d^2+16\,d^4}-\frac {1}{3\,b}\right )-{\mathrm {cosh}\left (a+b\,x\right )}^3\,{\mathrm {cosh}\left (c+d\,x\right )}^2\,\left (\frac {3\,b^3}{9\,b^4-40\,b^2\,d^2+16\,d^4}+\frac {1}{3\,b}\right )-\frac {2\,d\,\mathrm {cosh}\left (c+d\,x\right )\,{\mathrm {sinh}\left (a+b\,x\right )}^3\,\mathrm {sinh}\left (c+d\,x\right )\,\left (7\,b^2-4\,d^2\right )}{9\,b^4-40\,b^2\,d^2+16\,d^4}+\frac {12\,b^2\,d\,{\mathrm {cosh}\left (a+b\,x\right )}^2\,\mathrm {cosh}\left (c+d\,x\right )\,\mathrm {sinh}\left (a+b\,x\right )\,\mathrm {sinh}\left (c+d\,x\right )}{9\,b^4-40\,b^2\,d^2+16\,d^4}+\frac {2\,d^2\,\mathrm {cosh}\left (a+b\,x\right )\,{\mathrm {sinh}\left (a+b\,x\right )}^2\,{\mathrm {sinh}\left (c+d\,x\right )}^2\,\left (7\,b^2-4\,d^2\right )}{b\,\left (9\,b^4-40\,b^2\,d^2+16\,d^4\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 109.99, size = 2030, normalized size = 14.71 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________