Optimal. Leaf size=39 \[ \frac{2 (b \sinh (x)+c \cosh (x))}{\sqrt{-\sqrt{b^2-c^2}+b \cosh (x)+c \sinh (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.036615, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.036, Rules used = {3112} \[ \frac{2 (b \sinh (x)+c \cosh (x))}{\sqrt{-\sqrt{b^2-c^2}+b \cosh (x)+c \sinh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3112
Rubi steps
\begin{align*} \int \sqrt{-\sqrt{b^2-c^2}+b \cosh (x)+c \sinh (x)} \, dx &=\frac{2 (c \cosh (x)+b \sinh (x))}{\sqrt{-\sqrt{b^2-c^2}+b \cosh (x)+c \sinh (x)}}\\ \end{align*}
Mathematica [C] time = 73.3303, size = 9771, normalized size = 250.54 \[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.444, size = 202, normalized size = 5.2 \begin{align*}{ \left ( -{b}^{2}+{c}^{2} \right ) \cosh \left ( x \right ){\frac{1}{\sqrt{{b}^{2}-{c}^{2}}}}{\frac{1}{\sqrt{-{(\sinh \left ( x \right ){b}^{2}-\sinh \left ( x \right ){c}^{2}+{b}^{2}-{c}^{2}){\frac{1}{\sqrt{{b}^{2}-{c}^{2}}}}}}}}}-{\frac{1}{\sinh \left ( x \right ) }\sqrt{-\sqrt{{b}^{2}-{c}^{2}} \left ( \sinh \left ( x \right ) +1 \right ) \left ( \sinh \left ( x \right ) \right ) ^{2}}\arctan \left ({\cosh \left ( x \right ) \sqrt{\sqrt{{b}^{2}-{c}^{2}} \left ( \sinh \left ( x \right ) +1 \right ) }{\frac{1}{\sqrt{-\sqrt{{b}^{2}-{c}^{2}} \left ( \sinh \left ( x \right ) +1 \right ) \left ( \sinh \left ( x \right ) \right ) ^{2}}}}} \right ) \sqrt{{b}^{2}-{c}^{2}}{\frac{1}{\sqrt{\sqrt{{b}^{2}-{c}^{2}} \left ( \sinh \left ( x \right ) +1 \right ) }}}{\frac{1}{\sqrt{-{(\sinh \left ( x \right ){b}^{2}-\sinh \left ( x \right ){c}^{2}+{b}^{2}-{c}^{2}){\frac{1}{\sqrt{{b}^{2}-{c}^{2}}}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 2.12198, size = 211, normalized size = 5.41 \begin{align*} -\frac{\sqrt{2} \sqrt{-2 \, \sqrt{b + c} \sqrt{b - c} e^{\left (-x\right )} +{\left (b - c\right )} e^{\left (-2 \, x\right )} + b + c} \sqrt{b + c} \sqrt{b - c} e^{\left (\frac{1}{2} \, x\right )}}{{\left (b - c\right )} e^{\left (-x\right )} - \sqrt{b + c} \sqrt{b - c}} - \frac{\sqrt{2} \sqrt{-2 \, \sqrt{b + c} \sqrt{b - c} e^{\left (-x\right )} +{\left (b - c\right )} e^{\left (-2 \, x\right )} + b + c}{\left (b - c\right )} e^{\left (-\frac{1}{2} \, x\right )}}{{\left (b - c\right )} e^{\left (-x\right )} - \sqrt{b + c} \sqrt{b - c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.61099, size = 468, normalized size = 12. \begin{align*} \frac{2 \, \sqrt{\frac{1}{2}}{\left ({\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\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 )}}}{{\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} - b + c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \cosh{\left (x \right )} + c \sinh{\left (x \right )} - \sqrt{b^{2} - c^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.20489, size = 139, normalized size = 3.56 \begin{align*} -\frac{\sqrt{2}{\left (\sqrt{b^{2} - c^{2}} e^{\left (\frac{1}{2} \, x\right )} \mathrm{sgn}\left (-\sqrt{b^{2} - c^{2}} e^{x} + b - c\right ) +{\left (b \mathrm{sgn}\left (-\sqrt{b^{2} - c^{2}} e^{x} + b - c\right ) - c \mathrm{sgn}\left (-\sqrt{b^{2} - c^{2}} e^{x} + b - c\right )\right )} e^{\left (-\frac{1}{2} \, x\right )}\right )}}{\sqrt{b - c}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]