Optimal. Leaf size=108 \[ -\frac {a \sqrt {c-\frac {c}{a^2 x^2}} x^2}{\sqrt {1-a^2 x^2}}+\frac {\sqrt {c-\frac {c}{a^2 x^2}} x \log (x)}{\sqrt {1-a^2 x^2}}-\frac {4 \sqrt {c-\frac {c}{a^2 x^2}} x \log (1-a x)}{\sqrt {1-a^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6295, 6285, 84}
\begin {gather*} -\frac {a x^2 \sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-a^2 x^2}}+\frac {x \log (x) \sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-a^2 x^2}}-\frac {4 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 84
Rule 6285
Rule 6295
Rubi steps
\begin {align*} \int e^{3 \tanh ^{-1}(a x)} \sqrt {c-\frac {c}{a^2 x^2}} \, 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} \, 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 (1-a x)} \, dx}{\sqrt {1-a^2 x^2}}\\ &=\frac {\left (\sqrt {c-\frac {c}{a^2 x^2}} x\right ) \int \left (-a+\frac {1}{x}-\frac {4 a}{-1+a x}\right ) \, dx}{\sqrt {1-a^2 x^2}}\\ &=-\frac {a \sqrt {c-\frac {c}{a^2 x^2}} x^2}{\sqrt {1-a^2 x^2}}+\frac {\sqrt {c-\frac {c}{a^2 x^2}} x \log (x)}{\sqrt {1-a^2 x^2}}-\frac {4 \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.02, size = 47, normalized size = 0.44 \begin {gather*} \frac {\sqrt {c-\frac {c}{a^2 x^2}} x (-a x+\log (x)-4 \log (1-a x))}{\sqrt {1-a^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.80, size = 61, normalized size = 0.56
method | result | size |
default | \(-\frac {\sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}\, x \left (-a x +\ln \left (x \right )-4 \ln \left (a x -1\right )\right ) \sqrt {-a^{2} x^{2}+1}}{a^{2} x^{2}-1}\) | \(61\) |
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 = 148, normalized size = 1.37 \begin {gather*} -\frac {1}{2} \, a^{3} {\left (-\frac {2 i \, \sqrt {c} x}{a^{3}} + \frac {i \, \sqrt {c} \log \left (a x + 1\right )}{a^{4}} - \frac {i \, \sqrt {c} \log \left (a x - 1\right )}{a^{4}}\right )} - \frac {3}{2} \, a^{2} {\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 {\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 {i \, \sqrt {c} \log \left (a x + 1\right )}{2 \, a} + \frac {i \, \sqrt {c} \log \left (a x - 1\right )}{2 \, a} - \frac {i \, \sqrt {c} \log \left (x\right )}{a} \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}}{\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}{{\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]
________________________________________________________________________________________