Optimal. Leaf size=54 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b}-\frac {\tan ^{-1}\left (\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {2574, 298, 203, 206} \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b}-\frac {\tan ^{-1}\left (\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 206
Rule 298
Rule 2574
Rubi steps
\begin {align*} \int \frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}} \, dx &=-\frac {2 \operatorname {Subst}\left (\int \frac {x^2}{-1+x^4} \, dx,x,\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b}\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b}-\frac {\operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b}\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b}+\frac {\tanh ^{-1}\left (\frac {\sqrt {\sinh (a+b x)}}{\sqrt {\cosh (a+b x)}}\right )}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.04, size = 59, normalized size = 1.09 \[ \frac {2 \sinh ^{\frac {3}{2}}(a+b x) \cosh ^2(a+b x)^{3/4} \, _2F_1\left (\frac {3}{4},\frac {3}{4};\frac {7}{4};-\sinh ^2(a+b x)\right )}{3 b \cosh ^{\frac {3}{2}}(a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.42, size = 142, normalized size = 2.63 \[ -\frac {2 \, \arctan \left (-\cosh \left (b x + a\right )^{2} + 2 \, {\left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right )} \sqrt {\cosh \left (b x + a\right )} \sqrt {\sinh \left (b x + a\right )} - 2 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) - \sinh \left (b x + a\right )^{2}\right ) + \log \left (-\cosh \left (b x + a\right )^{2} + 2 \, {\left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right )} \sqrt {\cosh \left (b x + a\right )} \sqrt {\sinh \left (b x + a\right )} - 2 \, \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) - \sinh \left (b x + a\right )^{2}\right )}{2 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\sinh \left (b x + a\right )}}{\sqrt {\cosh \left (b x + a\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.28, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\sinh }\left (b x +a \right )}{\sqrt {\cosh \left (b x +a \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\sinh \left (b x + a\right )}}{\sqrt {\cosh \left (b x + a\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\sqrt {\mathrm {sinh}\left (a+b\,x\right )}}{\sqrt {\mathrm {cosh}\left (a+b\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\sinh {\left (a + b x \right )}}}{\sqrt {\cosh {\left (a + b x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________