Optimal. Leaf size=188 \[ \frac {35}{8} x \left (b^2-c^2\right )^2+\frac {35}{8} b \left (b^2-c^2\right )^{3/2} \sinh (x)+\frac {35}{8} c \left (b^2-c^2\right )^{3/2} \cosh (x)+\frac {1}{4} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3+\frac {7}{12} \sqrt {b^2-c^2} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {35}{24} \left (b^2-c^2\right ) (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 188, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3113, 2637, 2638} \[ \frac {35}{8} x \left (b^2-c^2\right )^2+\frac {35}{8} b \left (b^2-c^2\right )^{3/2} \sinh (x)+\frac {35}{8} c \left (b^2-c^2\right )^{3/2} \cosh (x)+\frac {1}{4} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3+\frac {7}{12} \sqrt {b^2-c^2} (b \sinh (x)+c \cosh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {35}{24} \left (b^2-c^2\right ) (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 )^4 \, dx &=\frac {1}{4} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3+\frac {1}{4} \left (7 \sqrt {b^2-c^2}\right ) \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3 \, dx\\ &=\frac {7}{12} \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {1}{4} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3+\frac {1}{12} \left (35 \left (b^2-c^2\right )\right ) \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2 \, dx\\ &=\frac {35}{24} \left (b^2-c^2\right ) (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )+\frac {7}{12} \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {1}{4} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3+\frac {1}{8} \left (35 \left (b^2-c^2\right )^{3/2}\right ) \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right ) \, dx\\ &=\frac {35}{8} \left (b^2-c^2\right )^2 x+\frac {35}{24} \left (b^2-c^2\right ) (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )+\frac {7}{12} \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {1}{4} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3+\frac {1}{8} \left (35 b \left (b^2-c^2\right )^{3/2}\right ) \int \cosh (x) \, dx+\frac {1}{8} \left (35 c \left (b^2-c^2\right )^{3/2}\right ) \int \sinh (x) \, dx\\ &=\frac {35}{8} \left (b^2-c^2\right )^2 x+\frac {35}{8} c \left (b^2-c^2\right )^{3/2} \cosh (x)+\frac {35}{8} b \left (b^2-c^2\right )^{3/2} \sinh (x)+\frac {35}{24} \left (b^2-c^2\right ) (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )+\frac {7}{12} \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^2+\frac {1}{4} (c \cosh (x)+b \sinh (x)) \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^3\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.51, size = 208, normalized size = 1.11 \[ \frac {7}{4} \left (b^4-c^4\right ) \sinh (2 x)+7 b (b-c) \sqrt {b^2-c^2} (b+c) \sinh (x)+\frac {1}{3} b \sqrt {b^2-c^2} \left (b^2+3 c^2\right ) \sinh (3 x)+7 c (b-c) \sqrt {b^2-c^2} (b+c) \cosh (x)+\frac {7}{2} b c \left (b^2-c^2\right ) \cosh (2 x)+\frac {1}{3} c \sqrt {b^2-c^2} \left (3 b^2+c^2\right ) \cosh (3 x)+\frac {1}{8} b c \left (b^2+c^2\right ) \cosh (4 x)+\frac {1}{32} \left (b^4+6 b^2 c^2+c^4\right ) \sinh (4 x)+\frac {35}{8} x (b-c)^2 (b+c)^2 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.45, size = 1293, normalized size = 6.88 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.16, size = 390, normalized size = 2.07 \[ \frac {7}{2} \, {\left (b^{3} + b^{2} c - b c^{2} - c^{3}\right )} \sqrt {b^{2} - c^{2}} e^{x} + \frac {35}{8} \, {\left (b^{4} - 2 \, b^{2} c^{2} + c^{4}\right )} x + \frac {1}{64} \, {\left (b^{4} + 4 \, b^{3} c + 6 \, b^{2} c^{2} + 4 \, b c^{3} + c^{4}\right )} e^{\left (4 \, x\right )} + \frac {1}{6} \, {\left (\sqrt {b^{2} - c^{2}} b^{3} + 3 \, \sqrt {b^{2} - c^{2}} b^{2} c + 3 \, \sqrt {b^{2} - c^{2}} b c^{2} + \sqrt {b^{2} - c^{2}} c^{3}\right )} e^{\left (3 \, x\right )} + \frac {7}{8} \, {\left (b^{4} + 2 \, b^{3} c - 2 \, b c^{3} - c^{4}\right )} e^{\left (2 \, x\right )} - \frac {1}{192} \, {\left (3 \, b^{4} - 12 \, b^{3} c + 18 \, b^{2} c^{2} - 12 \, b c^{3} + 3 \, c^{4} + 672 \, {\left (\sqrt {b^{2} - c^{2}} b^{3} - \sqrt {b^{2} - c^{2}} b^{2} c - \sqrt {b^{2} - c^{2}} b c^{2} + \sqrt {b^{2} - c^{2}} c^{3}\right )} e^{\left (3 \, x\right )} + 168 \, {\left (b^{4} - 2 \, b^{3} c + 2 \, b c^{3} - c^{4}\right )} e^{\left (2 \, x\right )} + 32 \, {\left (\sqrt {b^{2} - c^{2}} b^{3} - 3 \, \sqrt {b^{2} - c^{2}} b^{2} c + 3 \, \sqrt {b^{2} - c^{2}} b c^{2} - \sqrt {b^{2} - c^{2}} c^{3}\right )} e^{x}\right )} e^{\left (-4 \, x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.67, size = 363, normalized size = 1.93 \[ -2 c^{2} b^{2} x +4 \sqrt {b^{2}-c^{2}}\, b^{3} \left (\frac {2}{3}+\frac {\left (\cosh ^{2}\relax (x )\right )}{3}\right ) \sinh \relax (x )-6 c^{2} b^{2} \left (\frac {\cosh \relax (x ) \sinh \relax (x )}{2}+\frac {x}{2}\right )+4 \sqrt {b^{2}-c^{2}}\, b^{3} \sinh \relax (x )+4 \sqrt {b^{2}-c^{2}}\, c^{3} \left (-\frac {2}{3}+\frac {\left (\sinh ^{2}\relax (x )\right )}{3}\right ) \cosh \relax (x )+6 c^{2} b^{2} \left (\frac {\cosh \relax (x ) \sinh \relax (x )}{2}-\frac {x}{2}\right )-4 \sqrt {b^{2}-c^{2}}\, c^{3} \cosh \relax (x )+b^{4} x +c^{4} x +4 \sqrt {b^{2}-c^{2}}\, b^{2} c \left (\cosh ^{3}\relax (x )\right )+4 \sqrt {b^{2}-c^{2}}\, b \,c^{2} \left (\sinh ^{3}\relax (x )\right )+b^{4} \left (\left (\frac {\left (\cosh ^{3}\relax (x )\right )}{4}+\frac {3 \cosh \relax (x )}{8}\right ) \sinh \relax (x )+\frac {3 x}{8}\right )+6 b^{4} \left (\frac {\cosh \relax (x ) \sinh \relax (x )}{2}+\frac {x}{2}\right )+c^{4} \left (\left (\frac {\left (\sinh ^{3}\relax (x )\right )}{4}-\frac {3 \sinh \relax (x )}{8}\right ) \cosh \relax (x )+\frac {3 x}{8}\right )-6 c^{4} \left (\frac {\cosh \relax (x ) \sinh \relax (x )}{2}-\frac {x}{2}\right )+b^{3} \left (\cosh ^{4}\relax (x )\right ) c +6 c^{2} b^{2} \left (\frac {\sinh \relax (x ) \left (\cosh ^{3}\relax (x )\right )}{4}-\frac {\cosh \relax (x ) \sinh \relax (x )}{8}-\frac {x}{8}\right )+b \,c^{3} \left (\sinh ^{4}\relax (x )\right )+6 b^{3} \left (\cosh ^{2}\relax (x )\right ) c -6 b \left (\cosh ^{2}\relax (x )\right ) c^{3}-4 \sqrt {b^{2}-c^{2}}\, b \,c^{2} \sinh \relax (x )+4 \sqrt {b^{2}-c^{2}}\, b^{2} c \cosh \relax (x ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 277, normalized size = 1.47 \[ b^{3} c \cosh \relax (x)^{4} + b c^{3} \sinh \relax (x)^{4} + \frac {1}{64} \, b^{4} {\left (24 \, x + e^{\left (4 \, x\right )} + 8 \, e^{\left (2 \, x\right )} - 8 \, e^{\left (-2 \, x\right )} - e^{\left (-4 \, x\right )}\right )} + \frac {1}{64} \, c^{4} {\left (24 \, x + e^{\left (4 \, x\right )} - 8 \, e^{\left (2 \, x\right )} + 8 \, e^{\left (-2 \, x\right )} - e^{\left (-4 \, x\right )}\right )} - \frac {3}{32} \, b^{2} c^{2} {\left (8 \, x - e^{\left (4 \, x\right )} + e^{\left (-4 \, x\right )}\right )} + {\left (b^{2} - c^{2}\right )}^{2} x + 4 \, {\left (b^{2} - c^{2}\right )}^{\frac {3}{2}} {\left (c \cosh \relax (x) + b \sinh \relax (x)\right )} + \frac {3}{4} \, {\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 )} {\left (b^{2} - c^{2}\right )} + \frac {1}{6} \, {\left (24 \, b^{2} c \cosh \relax (x)^{3} + 24 \, b c^{2} \sinh \relax (x)^{3} + c^{3} {\left (e^{\left (3 \, x\right )} - 9 \, e^{\left (-x\right )} + e^{\left (-3 \, x\right )} - 9 \, e^{x}\right )} + b^{3} {\left (e^{\left (3 \, x\right )} - 9 \, e^{\left (-x\right )} - e^{\left (-3 \, x\right )} + 9 \, e^{x}\right )}\right )} \sqrt {b^{2} - c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.45, size = 361, normalized size = 1.92 \[ x\,{\left (b^2-c^2\right )}^2-{\mathrm {cosh}\relax (x)}^2\,\left (6\,b\,c^3-6\,b^3\,c\right )-{\mathrm {cosh}\relax (x)}^4\,\left (b\,c^3-b^3\,c\right )+\mathrm {cosh}\relax (x)\,{\mathrm {sinh}\relax (x)}^3\,\left (-\frac {3\,b^4}{8}+\frac {3\,b^2\,c^2}{4}+\frac {5\,c^4}{8}\right )+{\mathrm {cosh}\relax (x)}^3\,\mathrm {sinh}\relax (x)\,\left (\frac {5\,b^4}{8}+\frac {3\,b^2\,c^2}{4}-\frac {3\,c^4}{8}\right )+4\,c\,\mathrm {cosh}\relax (x)\,{\left (b^2-c^2\right )}^{3/2}+4\,b\,\mathrm {sinh}\relax (x)\,{\left (b^2-c^2\right )}^{3/2}+3\,x\,{\mathrm {cosh}\relax (x)}^2\,{\left (b^2-c^2\right )}^2+\frac {3\,x\,{\mathrm {cosh}\relax (x)}^4\,{\left (b^2-c^2\right )}^2}{8}-3\,x\,{\mathrm {sinh}\relax (x)}^2\,{\left (b^2-c^2\right )}^2+\frac {3\,x\,{\mathrm {sinh}\relax (x)}^4\,{\left (b^2-c^2\right )}^2}{8}+\mathrm {cosh}\relax (x)\,\mathrm {sinh}\relax (x)\,\left (3\,b^4-3\,c^4\right )+2\,b\,c^3\,{\mathrm {cosh}\relax (x)}^2\,{\mathrm {sinh}\relax (x)}^2+\frac {4\,c\,{\mathrm {cosh}\relax (x)}^3\,\sqrt {b^2-c^2}\,\left (3\,b^2-2\,c^2\right )}{3}-\frac {4\,b\,{\mathrm {sinh}\relax (x)}^3\,\sqrt {b^2-c^2}\,\left (2\,b^2-3\,c^2\right )}{3}+4\,b^3\,{\mathrm {cosh}\relax (x)}^2\,\mathrm {sinh}\relax (x)\,\sqrt {b^2-c^2}+4\,c^3\,\mathrm {cosh}\relax (x)\,{\mathrm {sinh}\relax (x)}^2\,\sqrt {b^2-c^2}-\frac {3\,x\,{\mathrm {cosh}\relax (x)}^2\,{\mathrm {sinh}\relax (x)}^2\,{\left (b^2-c^2\right )}^2}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 1.47, size = 626, normalized size = 3.33 \[ \frac {3 b^{4} x \sinh ^{4}{\relax (x )}}{8} - \frac {3 b^{4} x \sinh ^{2}{\relax (x )} \cosh ^{2}{\relax (x )}}{4} - 3 b^{4} x \sinh ^{2}{\relax (x )} + \frac {3 b^{4} x \cosh ^{4}{\relax (x )}}{8} + 3 b^{4} x \cosh ^{2}{\relax (x )} + b^{4} x - \frac {3 b^{4} \sinh ^{3}{\relax (x )} \cosh {\relax (x )}}{8} + \frac {5 b^{4} \sinh {\relax (x )} \cosh ^{3}{\relax (x )}}{8} + 3 b^{4} \sinh {\relax (x )} \cosh {\relax (x )} + b^{3} c \cosh ^{4}{\relax (x )} + 6 b^{3} c \cosh ^{2}{\relax (x )} - \frac {8 b^{3} \sqrt {b^{2} - c^{2}} \sinh ^{3}{\relax (x )}}{3} + 4 b^{3} \sqrt {b^{2} - c^{2}} \sinh {\relax (x )} \cosh ^{2}{\relax (x )} + 4 b^{3} \sqrt {b^{2} - c^{2}} \sinh {\relax (x )} - \frac {3 b^{2} c^{2} x \sinh ^{4}{\relax (x )}}{4} + \frac {3 b^{2} c^{2} x \sinh ^{2}{\relax (x )} \cosh ^{2}{\relax (x )}}{2} + 6 b^{2} c^{2} x \sinh ^{2}{\relax (x )} - \frac {3 b^{2} c^{2} x \cosh ^{4}{\relax (x )}}{4} - 6 b^{2} c^{2} x \cosh ^{2}{\relax (x )} - 2 b^{2} c^{2} x + \frac {3 b^{2} c^{2} \sinh ^{3}{\relax (x )} \cosh {\relax (x )}}{4} + \frac {3 b^{2} c^{2} \sinh {\relax (x )} \cosh ^{3}{\relax (x )}}{4} + 4 b^{2} c \sqrt {b^{2} - c^{2}} \cosh ^{3}{\relax (x )} + 4 b^{2} c \sqrt {b^{2} - c^{2}} \cosh {\relax (x )} + b c^{3} \sinh ^{4}{\relax (x )} - 6 b c^{3} \cosh ^{2}{\relax (x )} + 4 b c^{2} \sqrt {b^{2} - c^{2}} \sinh ^{3}{\relax (x )} - 4 b c^{2} \sqrt {b^{2} - c^{2}} \sinh {\relax (x )} + \frac {3 c^{4} x \sinh ^{4}{\relax (x )}}{8} - \frac {3 c^{4} x \sinh ^{2}{\relax (x )} \cosh ^{2}{\relax (x )}}{4} - 3 c^{4} x \sinh ^{2}{\relax (x )} + \frac {3 c^{4} x \cosh ^{4}{\relax (x )}}{8} + 3 c^{4} x \cosh ^{2}{\relax (x )} + c^{4} x + \frac {5 c^{4} \sinh ^{3}{\relax (x )} \cosh {\relax (x )}}{8} - \frac {3 c^{4} \sinh {\relax (x )} \cosh ^{3}{\relax (x )}}{8} - 3 c^{4} \sinh {\relax (x )} \cosh {\relax (x )} + 4 c^{3} \sqrt {b^{2} - c^{2}} \sinh ^{2}{\relax (x )} \cosh {\relax (x )} - \frac {8 c^{3} \sqrt {b^{2} - c^{2}} \cosh ^{3}{\relax (x )}}{3} - 4 c^{3} \sqrt {b^{2} - c^{2}} \cosh {\relax (x )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________