Optimal. Leaf size=92 \[ \frac {8 \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x))}{3 \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)}}+\frac {2}{3} (c \cosh (x)+b \sinh (x)) \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3192, 3191}
\begin {gather*} \frac {2}{3} \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)} (b \sinh (x)+c \cosh (x))+\frac {8 \sqrt {b^2-c^2} (b \sinh (x)+c \cosh (x))}{3 \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3191
Rule 3192
Rubi steps
\begin {align*} \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right )^{3/2} \, dx &=\frac {2}{3} (c \cosh (x)+b \sinh (x)) \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)}+\frac {1}{3} \left (4 \sqrt {b^2-c^2}\right ) \int \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)} \, dx\\ &=\frac {8 \sqrt {b^2-c^2} (c \cosh (x)+b \sinh (x))}{3 \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)}}+\frac {2}{3} (c \cosh (x)+b \sinh (x)) \sqrt {\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 4 vs. order 3 in
optimal.
time = 68.57, size = 4392, normalized size = 47.74 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(189\) vs.
\(2(78)=156\).
time = 3.80, size = 190, normalized size = 2.07
method | result | size |
default | \(\frac {\cosh \left (x \right ) \left (-2 b^{2}+2 c^{2}\right )}{\sqrt {-\frac {\sinh \left (x \right ) b^{2}-\sinh \left (x \right ) c^{2}-b^{2}+c^{2}}{\sqrt {b^{2}-c^{2}}}}}+\frac {\sqrt {-\sqrt {b^{2}-c^{2}}\, \left (\sinh \left (x \right )-1\right ) \left (\sinh ^{2}\left (x \right )\right )}\, \arctan \left (\frac {\sqrt {\sqrt {b^{2}-c^{2}}\, \left (\sinh \left (x \right )-1\right )}\, \cosh \left (x \right )}{\sqrt {-\sqrt {b^{2}-c^{2}}\, \left (\sinh \left (x \right )-1\right ) \left (\sinh ^{2}\left (x \right )\right )}}\right ) \left (b^{2}-c^{2}\right )}{\sqrt {\sqrt {b^{2}-c^{2}}\, \left (\sinh \left (x \right )-1\right )}\, \sinh \left (x \right ) \sqrt {-\frac {\sinh \left (x \right ) b^{2}-\sinh \left (x \right ) c^{2}-b^{2}+c^{2}}{\sqrt {b^{2}-c^{2}}}}}\) | \(190\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 640 vs.
\(2 (78) = 156\).
time = 0.65, size = 640, normalized size = 6.96 \begin {gather*} \frac {\sqrt {2} {\left (\sqrt {b + c} \sqrt {b - c} b + \sqrt {b + c} \sqrt {b - c} c\right )} {\left (2 \, \sqrt {b + c} \sqrt {b - c} e^{\left (-x\right )} + {\left (b - c\right )} e^{\left (-2 \, x\right )} + b + c\right )}^{\frac {3}{2}} e^{\left (\frac {3}{2} \, x\right )}}{6 \, {\left (\sqrt {b + c} \sqrt {b - c} b + \sqrt {b + c} \sqrt {b - c} c + 3 \, {\left (b^{2} - c^{2}\right )} e^{\left (-x\right )} + 3 \, {\left (\sqrt {b + c} \sqrt {b - c} b - \sqrt {b + c} \sqrt {b - c} c\right )} e^{\left (-2 \, x\right )} + {\left (b^{2} - 2 \, b c + c^{2}\right )} e^{\left (-3 \, x\right )}\right )}} + \frac {3 \, \sqrt {2} {\left (b^{2} - c^{2}\right )} {\left (2 \, \sqrt {b + c} \sqrt {b - c} e^{\left (-x\right )} + {\left (b - c\right )} e^{\left (-2 \, x\right )} + b + c\right )}^{\frac {3}{2}} e^{\left (\frac {1}{2} \, x\right )}}{2 \, {\left (\sqrt {b + c} \sqrt {b - c} b + \sqrt {b + c} \sqrt {b - c} c + 3 \, {\left (b^{2} - c^{2}\right )} e^{\left (-x\right )} + 3 \, {\left (\sqrt {b + c} \sqrt {b - c} b - \sqrt {b + c} \sqrt {b - c} c\right )} e^{\left (-2 \, x\right )} + {\left (b^{2} - 2 \, b c + c^{2}\right )} e^{\left (-3 \, x\right )}\right )}} - \frac {3 \, \sqrt {2} {\left (\sqrt {b + c} \sqrt {b - c} b - \sqrt {b + c} \sqrt {b - c} c\right )} {\left (2 \, \sqrt {b + c} \sqrt {b - c} e^{\left (-x\right )} + {\left (b - c\right )} e^{\left (-2 \, x\right )} + b + c\right )}^{\frac {3}{2}} e^{\left (-\frac {1}{2} \, x\right )}}{2 \, {\left (\sqrt {b + c} \sqrt {b - c} b + \sqrt {b + c} \sqrt {b - c} c + 3 \, {\left (b^{2} - c^{2}\right )} e^{\left (-x\right )} + 3 \, {\left (\sqrt {b + c} \sqrt {b - c} b - \sqrt {b + c} \sqrt {b - c} c\right )} e^{\left (-2 \, x\right )} + {\left (b^{2} - 2 \, b c + c^{2}\right )} e^{\left (-3 \, x\right )}\right )}} - \frac {\sqrt {2} {\left (b^{2} - 2 \, b c + c^{2}\right )} {\left (2 \, \sqrt {b + c} \sqrt {b - c} e^{\left (-x\right )} + {\left (b - c\right )} e^{\left (-2 \, x\right )} + b + c\right )}^{\frac {3}{2}} e^{\left (-\frac {3}{2} \, x\right )}}{6 \, {\left (\sqrt {b + c} \sqrt {b - c} b + \sqrt {b + c} \sqrt {b - c} c + 3 \, {\left (b^{2} - c^{2}\right )} e^{\left (-x\right )} + 3 \, {\left (\sqrt {b + c} \sqrt {b - c} b - \sqrt {b + c} \sqrt {b - c} c\right )} e^{\left (-2 \, x\right )} + {\left (b^{2} - 2 \, b c + c^{2}\right )} e^{\left (-3 \, x\right )}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 329 vs.
\(2 (78) = 156\).
time = 0.45, size = 329, normalized size = 3.58 \begin {gather*} \frac {\sqrt {\frac {1}{2}} {\left ({\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \left (x\right )^{4} + 4 \, {\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \left (x\right ) \sinh \left (x\right )^{3} + {\left (b^{2} + 2 \, b c + c^{2}\right )} \sinh \left (x\right )^{4} - 18 \, {\left (b^{2} - c^{2}\right )} \cosh \left (x\right )^{2} + 6 \, {\left ({\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \left (x\right )^{2} - 3 \, b^{2} + 3 \, c^{2}\right )} \sinh \left (x\right )^{2} + b^{2} - 2 \, b c + c^{2} + 4 \, {\left ({\left (b^{2} + 2 \, b c + c^{2}\right )} \cosh \left (x\right )^{3} - 9 \, {\left (b^{2} - c^{2}\right )} \cosh \left (x\right )\right )} \sinh \left (x\right ) + 8 \, {\left ({\left (b + c\right )} \cosh \left (x\right )^{3} + 3 \, {\left (b + c\right )} \cosh \left (x\right ) \sinh \left (x\right )^{2} + {\left (b + c\right )} \sinh \left (x\right )^{3} + {\left (b - c\right )} \cosh \left (x\right ) + {\left (3 \, {\left (b + c\right )} \cosh \left (x\right )^{2} + b - c\right )} \sinh \left (x\right )\right )} \sqrt {b^{2} - c^{2}}\right )} \sqrt {\frac {{\left (b + c\right )} \cosh \left (x\right )^{2} + 2 \, {\left (b + c\right )} \cosh \left (x\right ) \sinh \left (x\right ) + {\left (b + c\right )} \sinh \left (x\right )^{2} + 2 \, \sqrt {b^{2} - c^{2}} {\left (\cosh \left (x\right ) + \sinh \left (x\right )\right )} + b - c}{\cosh \left (x\right ) + \sinh \left (x\right )}}}{3 \, {\left ({\left (b + c\right )} \cosh \left (x\right )^{3} + 3 \, {\left (b + c\right )} \cosh \left (x\right ) \sinh \left (x\right )^{2} + {\left (b + c\right )} \sinh \left (x\right )^{3} - {\left (b - c\right )} \cosh \left (x\right ) + {\left (3 \, {\left (b + c\right )} \cosh \left (x\right )^{2} - b + c\right )} \sinh \left (x\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (b \cosh {\left (x \right )} + c \sinh {\left (x \right )} + \sqrt {b^{2} - c^{2}}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 183 vs.
\(2 (78) = 156\).
time = 0.43, size = 183, normalized size = 1.99 \begin {gather*} -\frac {\sqrt {2} {\left ({\left (\sqrt {b^{2} - c^{2}} b + \sqrt {b^{2} - c^{2}} c\right )} e^{\left (\frac {3}{2} \, x\right )} \mathrm {sgn}\left (-\sqrt {b^{2} - c^{2}} e^{x} - b + c\right ) + 9 \, {\left (b^{2} - c^{2}\right )} e^{\left (\frac {1}{2} \, x\right )} \mathrm {sgn}\left (-\sqrt {b^{2} - c^{2}} e^{x} - b + c\right ) - {\left (9 \, \sqrt {b^{2} - c^{2}} {\left (b - c\right )} e^{x} \mathrm {sgn}\left (-\sqrt {b^{2} - c^{2}} e^{x} - b + c\right ) + {\left (b^{2} - 2 \, b c + c^{2}\right )} \mathrm {sgn}\left (-\sqrt {b^{2} - c^{2}} e^{x} - b + c\right )\right )} e^{\left (-\frac {3}{2} \, x\right )}\right )}}{6 \, \sqrt {b - c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (b\,\mathrm {cosh}\left (x\right )+\sqrt {b^2-c^2}+c\,\mathrm {sinh}\left (x\right )\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________