Optimal. Leaf size=27 \[ \frac{\sqrt{a+b x+1}}{b \sqrt{-a-b x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0371005, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.065, Rules used = {6164, 37} \[ \frac{\sqrt{a+b x+1}}{b \sqrt{-a-b x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6164
Rule 37
Rubi steps
\begin{align*} \int \frac{e^{\tanh ^{-1}(a+b x)}}{1-a^2-2 a b x-b^2 x^2} \, dx &=\int \frac{1}{(1-a-b x)^{3/2} \sqrt{1+a+b x}} \, dx\\ &=\frac{\sqrt{1+a+b x}}{b \sqrt{1-a-b x}}\\ \end{align*}
Mathematica [C] time = 0.095932, size = 12, normalized size = 0.44 \[ \frac{e^{\tanh ^{-1}(a+b x)}}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.032, size = 42, normalized size = 1.6 \begin{align*} -{\frac{ \left ( bx+a+1 \right ) ^{2} \left ( bx+a-1 \right ) }{b} \left ( -{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1 \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.51165, size = 286, normalized size = 10.59 \begin{align*} \frac{b^{2}{\left (\frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{b^{3} x + a b^{2} + \sqrt{b^{2}} b} - \frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{b^{3} x + a b^{2} - \sqrt{b^{2}} b} - \frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{\sqrt{b^{2}} b^{2} x + a \sqrt{b^{2}} b + b^{2}} - \frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{\sqrt{b^{2}} b^{2} x + a \sqrt{b^{2}} b - b^{2}}\right )}}{2 \, \sqrt{a^{2} b^{2} -{\left (a^{2} - 1\right )} b^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.66461, size = 77, normalized size = 2.85 \begin{align*} -\frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{b^{2} x +{\left (a - 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{1}{a \sqrt{- a^{2} - 2 a b x - b^{2} x^{2} + 1} + b x \sqrt{- a^{2} - 2 a b x - b^{2} x^{2} + 1} - \sqrt{- a^{2} - 2 a b x - b^{2} x^{2} + 1}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20698, size = 54, normalized size = 2. \begin{align*} \frac{2}{{\left (\frac{\sqrt{-{\left (b x + a\right )}^{2} + 1}{\left | b \right |} + b}{b^{2} x + a b} - 1\right )}{\left | b \right |}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]