Optimal. Leaf size=22 \[ -\frac {\tanh ^{-1}\left (\frac {\sqrt {a^2+\log ^2(x)}}{a}\right )}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {272, 65, 213}
\begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {a^2+\log ^2(x)}}{a}\right )}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 213
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{x \log (x) \sqrt {a^2+\log ^2(x)}} \, dx &=\text {Subst}\left (\int \frac {1}{x \sqrt {a^2+x^2}} \, dx,x,\log (x)\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{x \sqrt {a^2+x}} \, dx,x,\log ^2(x)\right )\\ &=\text {Subst}\left (\int \frac {1}{-a^2+x^2} \, dx,x,\sqrt {a^2+\log ^2(x)}\right )\\ &=-\frac {\tanh ^{-1}\left (\frac {\sqrt {a^2+\log ^2(x)}}{a}\right )}{a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 22, normalized size = 1.00 \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {a^2+\log ^2(x)}}{a}\right )}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 37, normalized size = 1.68
method | result | size |
derivativedivides | \(-\frac {\ln \left (\frac {2 a^{2}+2 \sqrt {a^{2}}\, \sqrt {a^{2}+\ln \left (x \right )^{2}}}{\ln \left (x \right )}\right )}{\sqrt {a^{2}}}\) | \(37\) |
default | \(-\frac {\ln \left (\frac {2 a^{2}+2 \sqrt {a^{2}}\, \sqrt {a^{2}+\ln \left (x \right )^{2}}}{\ln \left (x \right )}\right )}{\sqrt {a^{2}}}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.38, size = 13, normalized size = 0.59 \begin {gather*} -\frac {\operatorname {arsinh}\left (\frac {a}{{\left | \log \left (x\right ) \right |}}\right )}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 44 vs.
\(2 (20) = 40\).
time = 0.66, size = 44, normalized size = 2.00 \begin {gather*} -\frac {\log \left (a + \sqrt {a^{2} + \log \left (x\right )^{2}} - \log \left (x\right )\right ) - \log \left (-a + \sqrt {a^{2} + \log \left (x\right )^{2}} - \log \left (x\right )\right )}{a} \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 {1}{x \sqrt {a^{2} + \log {\left (x \right )}^{2}} \log {\left (x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.58, size = 27, normalized size = 1.23 \begin {gather*} \frac {\mathrm {atan}\left (\frac {\sqrt {a^2+{\ln \left (x\right )}^2}}{\sqrt {-a^2}}\right )}{\sqrt {-a^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________