Optimal. Leaf size=38 \[ \frac{\sqrt{-a-b x+1} \sqrt{a+b x+1}}{b}+\frac{\sin ^{-1}(a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0281589, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {6161, 50, 53, 619, 216} \[ \frac{\sqrt{-a-b x+1} \sqrt{a+b x+1}}{b}+\frac{\sin ^{-1}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6161
Rule 50
Rule 53
Rule 619
Rule 216
Rubi steps
\begin{align*} \int e^{-\tanh ^{-1}(a+b x)} \, dx &=\int \frac{\sqrt{1-a-b x}}{\sqrt{1+a+b x}} \, dx\\ &=\frac{\sqrt{1-a-b x} \sqrt{1+a+b x}}{b}+\int \frac{1}{\sqrt{1-a-b x} \sqrt{1+a+b x}} \, dx\\ &=\frac{\sqrt{1-a-b x} \sqrt{1+a+b x}}{b}+\int \frac{1}{\sqrt{(1-a) (1+a)-2 a b x-b^2 x^2}} \, dx\\ &=\frac{\sqrt{1-a-b x} \sqrt{1+a+b x}}{b}-\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{1-\frac{x^2}{4 b^2}}} \, dx,x,-2 a b-2 b^2 x\right )}{2 b^2}\\ &=\frac{\sqrt{1-a-b x} \sqrt{1+a+b x}}{b}+\frac{\sin ^{-1}(a+b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.0180475, size = 26, normalized size = 0.68 \[ \frac{\sqrt{1-(a+b x)^2}+\sin ^{-1}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.03, size = 95, normalized size = 2.5 \begin{align*}{\frac{1}{b}\sqrt{- \left ( x+{\frac{1+a}{b}} \right ) ^{2}{b}^{2}+2\,b \left ( x+{\frac{1+a}{b}} \right ) }}+{\arctan \left ({\sqrt{{b}^{2}} \left ( x+{\frac{1+a}{b}}-{b}^{-1} \right ){\frac{1}{\sqrt{- \left ( x+{\frac{1+a}{b}} \right ) ^{2}{b}^{2}+2\,b \left ( x+{\frac{1+a}{b}} \right ) }}}} \right ){\frac{1}{\sqrt{{b}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.43452, size = 50, normalized size = 1.32 \begin{align*} \frac{\arcsin \left (b x + a\right )}{b} + \frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.84697, size = 169, normalized size = 4.45 \begin{align*} \frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1} - \arctan \left (\frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}{\left (b x + a\right )}}{b^{2} x^{2} + 2 \, a b x + a^{2} - 1}\right )}{b} \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 \frac{\sqrt{- \left (a + b x - 1\right ) \left (a + b x + 1\right )}}{a + b x + 1}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.29321, size = 59, normalized size = 1.55 \begin{align*} -\frac{\arcsin \left (-b x - a\right ) \mathrm{sgn}\left (b\right )}{{\left | b \right |}} + \frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]