Optimal. Leaf size=107 \[ -\frac {\sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-a^2 x^2}}+\frac {3 a \sqrt {c-\frac {c}{a^2 x^2}} x \log (x)}{\sqrt {1-a^2 x^2}}-\frac {4 a \sqrt {c-\frac {c}{a^2 x^2}} x \log (1-a x)}{\sqrt {1-a^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6295, 6285, 90}
\begin {gather*} -\frac {\sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-a^2 x^2}}+\frac {3 a x \log (x) \sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-a^2 x^2}}-\frac {4 a x \sqrt {c-\frac {c}{a^2 x^2}} \log (1-a x)}{\sqrt {1-a^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 90
Rule 6285
Rule 6295
Rubi steps
\begin {align*} \int \frac {e^{3 \tanh ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx &=\frac {\left (\sqrt {c-\frac {c}{a^2 x^2}} x\right ) \int \frac {e^{3 \tanh ^{-1}(a x)} \sqrt {1-a^2 x^2}}{x^2} \, dx}{\sqrt {1-a^2 x^2}}\\ &=\frac {\left (\sqrt {c-\frac {c}{a^2 x^2}} x\right ) \int \frac {(1+a x)^2}{x^2 (1-a x)} \, dx}{\sqrt {1-a^2 x^2}}\\ &=\frac {\left (\sqrt {c-\frac {c}{a^2 x^2}} x\right ) \int \left (\frac {1}{x^2}+\frac {3 a}{x}-\frac {4 a^2}{-1+a x}\right ) \, dx}{\sqrt {1-a^2 x^2}}\\ &=-\frac {\sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-a^2 x^2}}+\frac {3 a \sqrt {c-\frac {c}{a^2 x^2}} x \log (x)}{\sqrt {1-a^2 x^2}}-\frac {4 a \sqrt {c-\frac {c}{a^2 x^2}} x \log (1-a x)}{\sqrt {1-a^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 49, normalized size = 0.46 \begin {gather*} \frac {\sqrt {c-\frac {c}{a^2 x^2}} (-1+3 a x \log (x)-4 a x \log (1-a x))}{\sqrt {1-a^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 63, normalized size = 0.59
method | result | size |
default | \(-\frac {\sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}\, \left (3 a \ln \left (x \right ) x -4 \ln \left (a x -1\right ) a x -1\right ) \sqrt {-a^{2} x^{2}+1}}{a^{2} x^{2}-1}\) | \(63\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.33, size = 144, normalized size = 1.35 \begin {gather*} -\frac {1}{2} \, a^{3} {\left (-\frac {i \, \sqrt {c} \log \left (a x + 1\right )}{a^{3}} - \frac {i \, \sqrt {c} \log \left (a x - 1\right )}{a^{3}}\right )} - \frac {3}{2} \, a^{2} {\left (\frac {i \, \sqrt {c} \log \left (a x + 1\right )}{a^{2}} - \frac {i \, \sqrt {c} \log \left (a x - 1\right )}{a^{2}}\right )} - \frac {3}{2} \, a {\left (-\frac {i \, \sqrt {c} \log \left (a x + 1\right )}{a} - \frac {i \, \sqrt {c} \log \left (a x - 1\right )}{a} + \frac {2 i \, \sqrt {c} \log \left (x\right )}{a}\right )} - \frac {1}{2} i \, \sqrt {c} \log \left (a x + 1\right ) + \frac {1}{2} i \, \sqrt {c} \log \left (a x - 1\right ) + \frac {i \, \sqrt {c}}{a x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- c \left (-1 + \frac {1}{a x}\right ) \left (1 + \frac {1}{a x}\right )} \left (a x + 1\right )^{3}}{x \left (- \left (a x - 1\right ) \left (a x + 1\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {c-\frac {c}{a^2\,x^2}}\,{\left (a\,x+1\right )}^3}{x\,{\left (1-a^2\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________