Optimal. Leaf size=136 \[ \frac {5}{2} x \left (b^2-c^2\right )^{3/2}+\frac {5}{2} b \left (b^2-c^2\right ) \sinh (x)+\frac {5}{2} c \left (b^2-c^2\right ) \cosh (x)+\frac {1}{3} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {5}{6} \sqrt {b^2-c^2} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 136, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3113, 2637, 2638} \[ \frac {5}{2} x \left (b^2-c^2\right )^{3/2}+\frac {5}{2} b \left (b^2-c^2\right ) \sinh (x)+\frac {5}{2} c \left (b^2-c^2\right ) \cosh (x)+\frac {1}{3} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {5}{6} \sqrt {b^2-c^2} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2637
Rule 2638
Rule 3113
Rubi steps
\begin {align*} \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3 \, dx &=\frac {1}{3} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {1}{3} \left (5 \sqrt {b^2-c^2}\right ) \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2 \, dx\\ &=\frac {5}{6} \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )+\frac {1}{3} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {1}{2} \left (5 \left (b^2-c^2\right )\right ) \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right ) \, dx\\ &=\frac {5}{2} \left (b^2-c^2\right )^{3/2} x+\frac {5}{6} \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )+\frac {1}{3} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {1}{2} \left (5 b \left (b^2-c^2\right )\right ) \int \cosh (x) \, dx+\frac {1}{2} \left (5 c \left (b^2-c^2\right )\right ) \int \sinh (x) \, dx\\ &=\frac {5}{2} \left (b^2-c^2\right )^{3/2} x+\frac {5}{2} c \left (b^2-c^2\right ) \cosh (x)+\frac {5}{2} b \left (b^2-c^2\right ) \sinh (x)+\frac {5}{6} \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )+\frac {1}{3} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.27, size = 134, normalized size = 0.99 \[ \frac {1}{12} \left (30 x (b-c) (b+c) \sqrt {b^2-c^2}+45 b \left (b^2-c^2\right ) \sinh (x)+9 \sqrt {b^2-c^2} \left (b^2+c^2\right ) \sinh (2 x)+b \left (b^2+3 c^2\right ) \sinh (3 x)+45 c \left (b^2-c^2\right ) \cosh (x)+18 b c \sqrt {b^2-c^2} \cosh (2 x)+c \left (3 b^2+c^2\right ) \cosh (3 x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.42, size = 664, normalized size = 4.88 \[ \frac {{\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \relax (x)^{6} + 6 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \relax (x) \sinh \relax (x)^{5} + {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \sinh \relax (x)^{6} + 45 \, {\left (b^{3} + b^{2} c - b c^{2} - c^{3}\right )} \cosh \relax (x)^{4} + 15 \, {\left (3 \, b^{3} + 3 \, b^{2} c - 3 \, b c^{2} - 3 \, c^{3} + {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \relax (x)^{2}\right )} \sinh \relax (x)^{4} + 20 \, {\left ({\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \relax (x)^{3} + 9 \, {\left (b^{3} + b^{2} c - b c^{2} - c^{3}\right )} \cosh \relax (x)\right )} \sinh \relax (x)^{3} - b^{3} + 3 \, b^{2} c - 3 \, b c^{2} + c^{3} - 45 \, {\left (b^{3} - b^{2} c - b c^{2} + c^{3}\right )} \cosh \relax (x)^{2} + 15 \, {\left ({\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \relax (x)^{4} - 3 \, b^{3} + 3 \, b^{2} c + 3 \, b c^{2} - 3 \, c^{3} + 18 \, {\left (b^{3} + b^{2} c - b c^{2} - c^{3}\right )} \cosh \relax (x)^{2}\right )} \sinh \relax (x)^{2} + 6 \, {\left ({\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \relax (x)^{5} + 30 \, {\left (b^{3} + b^{2} c - b c^{2} - c^{3}\right )} \cosh \relax (x)^{3} - 15 \, {\left (b^{3} - b^{2} c - b c^{2} + c^{3}\right )} \cosh \relax (x)\right )} \sinh \relax (x) + 3 \, {\left (3 \, {\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \relax (x)^{5} + 15 \, {\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \relax (x) \sinh \relax (x)^{4} + 3 \, {\left (b^{2} + 2 \, b c + c^{2}\right )} \sinh \relax (x)^{5} + 20 \, {\left (b^{2} - c^{2}\right )} x \cosh \relax (x)^{3} + 10 \, {\left (3 \, {\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \relax (x)^{2} + 2 \, {\left (b^{2} - c^{2}\right )} x\right )} \sinh \relax (x)^{3} + 30 \, {\left ({\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \relax (x)^{3} + 2 \, {\left (b^{2} - c^{2}\right )} x \cosh \relax (x)\right )} \sinh \relax (x)^{2} - 3 \, {\left (b^{2} - 2 \, b c + c^{2}\right )} \cosh \relax (x) + 3 \, {\left (5 \, {\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \relax (x)^{4} + 20 \, {\left (b^{2} - c^{2}\right )} x \cosh \relax (x)^{2} - b^{2} + 2 \, b c - c^{2}\right )} \sinh \relax (x)\right )} \sqrt {b^{2} - c^{2}}}{24 \, {\left (\cosh \relax (x)^{3} + 3 \, \cosh \relax (x)^{2} \sinh \relax (x) + 3 \, \cosh \relax (x) \sinh \relax (x)^{2} + \sinh \relax (x)^{3}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 194, normalized size = 1.43 \[ \frac {5}{2} \, {\left (b^{2} - c^{2}\right )}^{\frac {3}{2}} x + \frac {3}{8} \, {\left (b^{2} + 2 \, b c + c^{2}\right )} \sqrt {b^{2} - c^{2}} e^{\left (2 \, x\right )} + \frac {1}{24} \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} e^{\left (3 \, x\right )} - \frac {1}{24} \, {\left (b^{3} - 3 \, b^{2} c + 3 \, b c^{2} - c^{3} + 45 \, {\left (b^{3} - b^{2} c - b c^{2} + c^{3}\right )} e^{\left (2 \, x\right )} + 9 \, {\left (\sqrt {b^{2} - c^{2}} b^{2} - 2 \, \sqrt {b^{2} - c^{2}} b c + \sqrt {b^{2} - c^{2}} c^{2}\right )} e^{x}\right )} e^{\left (-3 \, x\right )} + \frac {15}{8} \, {\left (b^{3} + b^{2} c - b c^{2} - c^{3}\right )} e^{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.42, size = 182, normalized size = 1.34 \[ b^{3} \left (\frac {2}{3}+\frac {\left (\cosh ^{2}\relax (x )\right )}{3}\right ) \sinh \relax (x )+\left (\cosh ^{3}\relax (x )\right ) b^{2} c +3 \sqrt {b^{2}-c^{2}}\, b^{2} \left (\frac {\cosh \relax (x ) \sinh \relax (x )}{2}+\frac {x}{2}\right )+b \,c^{2} \left (\sinh ^{3}\relax (x )\right )+3 \sqrt {b^{2}-c^{2}}\, b c \left (\cosh ^{2}\relax (x )\right )+3 b^{3} \sinh \relax (x )-3 b \,c^{2} \sinh \relax (x )+c^{3} \left (-\frac {2}{3}+\frac {\left (\sinh ^{2}\relax (x )\right )}{3}\right ) \cosh \relax (x )+3 \sqrt {b^{2}-c^{2}}\, c^{2} \left (\frac {\cosh \relax (x ) \sinh \relax (x )}{2}-\frac {x}{2}\right )+3 c \,b^{2} \cosh \relax (x )-3 c^{3} \cosh \relax (x )+\sqrt {b^{2}-c^{2}}\, b^{2} x -\sqrt {b^{2}-c^{2}}\, c^{2} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 161, normalized size = 1.18 \[ b^{2} c \cosh \relax (x)^{3} + b c^{2} \sinh \relax (x)^{3} + \frac {1}{24} \, c^{3} {\left (e^{\left (3 \, x\right )} - 9 \, e^{\left (-x\right )} + e^{\left (-3 \, x\right )} - 9 \, e^{x}\right )} + \frac {1}{24} \, b^{3} {\left (e^{\left (3 \, x\right )} - 9 \, e^{\left (-x\right )} - e^{\left (-3 \, x\right )} + 9 \, e^{x}\right )} + {\left (b^{2} - c^{2}\right )}^{\frac {3}{2}} x + 3 \, {\left (b^{2} - c^{2}\right )} {\left (c \cosh \relax (x) + b \sinh \relax (x)\right )} + \frac {3}{8} \, {\left (8 \, b c \cosh \relax (x)^{2} + b^{2} {\left (4 \, x + e^{\left (2 \, x\right )} - e^{\left (-2 \, x\right )}\right )} - c^{2} {\left (4 \, x - e^{\left (2 \, x\right )} + e^{\left (-2 \, x\right )}\right )}\right )} \sqrt {b^{2} - c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.66, size = 144, normalized size = 1.06 \[ \frac {11\,b^3\,\mathrm {sinh}\relax (x)}{3}+\frac {c^3\,{\mathrm {cosh}\relax (x)}^3}{3}+\frac {5\,x\,{\left (b^2-c^2\right )}^{3/2}}{2}-4\,c^3\,\mathrm {cosh}\relax (x)+\frac {b^3\,{\mathrm {cosh}\relax (x)}^2\,\mathrm {sinh}\relax (x)}{3}+3\,b^2\,c\,\mathrm {cosh}\relax (x)-4\,b\,c^2\,\mathrm {sinh}\relax (x)+b^2\,c\,{\mathrm {cosh}\relax (x)}^3+3\,b\,c\,{\mathrm {cosh}\relax (x)}^2\,\sqrt {b^2-c^2}+\frac {3\,b^2\,\mathrm {cosh}\relax (x)\,\mathrm {sinh}\relax (x)\,\sqrt {b^2-c^2}}{2}+\frac {3\,c^2\,\mathrm {cosh}\relax (x)\,\mathrm {sinh}\relax (x)\,\sqrt {b^2-c^2}}{2}+b\,c^2\,{\mathrm {cosh}\relax (x)}^2\,\mathrm {sinh}\relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.69, size = 298, normalized size = 2.19 \[ - \frac {2 b^{3} \sinh ^{3}{\relax (x )}}{3} + b^{3} \sinh {\relax (x )} \cosh ^{2}{\relax (x )} + 3 b^{3} \sinh {\relax (x )} + b^{2} c \cosh ^{3}{\relax (x )} + 3 b^{2} c \cosh {\relax (x )} - \frac {3 b^{2} x \sqrt {b^{2} - c^{2}} \sinh ^{2}{\relax (x )}}{2} + \frac {3 b^{2} x \sqrt {b^{2} - c^{2}} \cosh ^{2}{\relax (x )}}{2} + b^{2} x \sqrt {b^{2} - c^{2}} + \frac {3 b^{2} \sqrt {b^{2} - c^{2}} \sinh {\relax (x )} \cosh {\relax (x )}}{2} + b c^{2} \sinh ^{3}{\relax (x )} - 3 b c^{2} \sinh {\relax (x )} + 3 b c \sqrt {b^{2} - c^{2}} \cosh ^{2}{\relax (x )} + c^{3} \sinh ^{2}{\relax (x )} \cosh {\relax (x )} - \frac {2 c^{3} \cosh ^{3}{\relax (x )}}{3} - 3 c^{3} \cosh {\relax (x )} + \frac {3 c^{2} x \sqrt {b^{2} - c^{2}} \sinh ^{2}{\relax (x )}}{2} - \frac {3 c^{2} x \sqrt {b^{2} - c^{2}} \cosh ^{2}{\relax (x )}}{2} - c^{2} x \sqrt {b^{2} - c^{2}} + \frac {3 c^{2} \sqrt {b^{2} - c^{2}} \sinh {\relax (x )} \cosh {\relax (x )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________