Optimal. Leaf size=29 \[ \frac {\text {Li}_2\left (-\frac {i \sqrt {1-a x}}{\sqrt {a x+1}}\right )}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {2518} \[ \frac {\text {PolyLog}\left (2,-\frac {i \sqrt {1-a x}}{\sqrt {a x+1}}\right )}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2518
Rubi steps
\begin {align*} \int \frac {\log \left (1+\frac {i \sqrt {1-a x}}{\sqrt {1+a x}}\right )}{1-a^2 x^2} \, dx &=\frac {\text {Li}_2\left (-\frac {i \sqrt {1-a x}}{\sqrt {1+a x}}\right )}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.65, size = 134, normalized size = 4.62 \[ \frac {\text {Li}_2\left (-e^{-2 \tanh ^{-1}(a x)}\right )-2 \left (-\text {Li}_2\left (-i e^{-\tanh ^{-1}(a x)}\right )+\text {Li}_2\left (i e^{-\tanh ^{-1}(a x)}\right )+\tanh ^{-1}(a x) \left (\log \left (e^{-2 \tanh ^{-1}(a x)}+1\right )-\log \left (1-i e^{-\tanh ^{-1}(a x)}\right )+\log \left (1+i e^{-\tanh ^{-1}(a x)}\right )\right )\right )+4 \log \left (1+\frac {i \sqrt {1-a x}}{\sqrt {a x+1}}\right ) \tanh ^{-1}(a x)}{4 a} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 37, normalized size = 1.28 \[ \frac {{\rm Li}_2\left (-\frac {a x - \sqrt {a x + 1} \sqrt {a x - 1} + 1}{a x + 1} + 1\right )}{a} \]
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 {\log \left (\frac {i \, \sqrt {-a x + 1}}{\sqrt {a x + 1}} + 1\right )}{a^{2} x^{2} - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.50, size = 0, normalized size = 0.00 \[ \int \frac {\ln \left (1+\frac {i \sqrt {-a x +1}}{\sqrt {a x +1}}\right )}{-a^{2} x^{2}+1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {2 \, {\left (\log \left (a x + 1\right ) - \log \left (-a x + 1\right )\right )} \log \left (a x + 1\right ) - \log \left (a x + 1\right )^{2} + 2 \, \log \left (a x + 1\right ) \log \left (-a x + 1\right ) - \log \left (-a x + 1\right )^{2} - 4 \, {\left (\log \left (a x + 1\right ) - \log \left (-a x + 1\right )\right )} \log \left (\sqrt {a x + 1} + i \, \sqrt {-a x + 1}\right )}{8 \, a} - \int -\frac {\sqrt {a x + 1} {\left (\log \left (a x + 1\right ) - \log \left (-a x + 1\right )\right )}}{2 \, {\left (a^{2} x^{2} - 1\right )} \sqrt {a x + 1} + {\left (2 i \, a^{2} x^{2} - 2 i\right )} \sqrt {-a x + 1}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int -\frac {\ln \left (1+\frac {\sqrt {1-a\,x}\,1{}\mathrm {i}}{\sqrt {a\,x+1}}\right )}{a^2\,x^2-1} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________