Optimal. Leaf size=37 \[ \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.0386524, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.038, 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 = 68.2719, size = 455, normalized size = 12.3 \[ \frac{4 (b-c) (b+c)^2 \left (2 b c \sqrt{b^2-c^2} \sinh (x)+b \left (2 b \sqrt{b^2-c^2}-2 b^2+c^2\right ) \cosh (x)+\left (\sinh \left (\frac{x}{2}\right )-\cosh \left (\frac{x}{2}\right )\right ) \left (\left (2 b^2 \left (2 \sqrt{b^2-c^2}+c\right )+b c \left (3 c-2 \sqrt{b^2-c^2}\right )-c^2 \left (\sqrt{b^2-c^2}+c\right )-4 b^3\right ) \sinh \left (\frac{x}{2}\right )+c \left (b \left (2 \sqrt{b^2-c^2}+c\right )+c \left (c-\sqrt{b^2-c^2}\right )-2 b^2\right ) \cosh \left (\frac{x}{2}\right )\right ) \sqrt{\frac{\left (\sqrt{b^2-c^2}-b-c\right ) (\sinh (x)+\cosh (x))}{\sqrt{b^2-c^2}-b+c}} E\left (\left .\sin ^{-1}\left (\sqrt{\frac{\left (-b-c+\sqrt{b^2-c^2}\right ) (\cosh (x)+\sinh (x))}{-b+c+\sqrt{b^2-c^2}}}\right )\right |1\right )-2 b^2 \sqrt{b^2-c^2}+c^2 \sqrt{b^2-c^2}-2 b^2 c \sinh (x)+2 b^3-2 b c^2+c^3 \sinh (x)\right )}{\sqrt{b^2-c^2} \left (-\sqrt{b^2-c^2}+b+c\right )^2 \left (b \sqrt{b^2-c^2}-b^2+c^2\right ) \sqrt{\sqrt{b^2-c^2}+b \cosh (x)+c \sinh (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.442, size = 201, normalized size = 5.4 \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}}\sqrt{{b}^{2}-{c}^{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 ){\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 = 1.88173, size = 207, normalized size = 5.59 \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.39423, size = 468, normalized size = 12.65 \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.195, size = 140, normalized size = 3.78 \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]