Optimal. Leaf size=33 \[ -\frac {\sqrt {1+x^2}}{x}+\sinh ^{-1}(x)-\frac {\sqrt {1+x^2} \log (x)}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2373, 283, 221}
\begin {gather*} -\frac {\sqrt {x^2+1}}{x}-\frac {\sqrt {x^2+1} \log (x)}{x}+\sinh ^{-1}(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 221
Rule 283
Rule 2373
Rubi steps
\begin {align*} \int \frac {\log (x)}{x^2 \sqrt {1+x^2}} \, dx &=-\frac {\sqrt {1+x^2} \log (x)}{x}+\int \frac {\sqrt {1+x^2}}{x^2} \, dx\\ &=-\frac {\sqrt {1+x^2}}{x}-\frac {\sqrt {1+x^2} \log (x)}{x}+\int \frac {1}{\sqrt {1+x^2}} \, dx\\ &=-\frac {\sqrt {1+x^2}}{x}+\sinh ^{-1}(x)-\frac {\sqrt {1+x^2} \log (x)}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 21, normalized size = 0.64 \begin {gather*} \sinh ^{-1}(x)-\frac {\sqrt {1+x^2} (1+\log (x))}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 4.32, size = 29, normalized size = 0.88 \begin {gather*} \frac {x \text {ArcSinh}\left [x\right ]-\text {Log}\left [x\right ] \sqrt {1+x^2}-\sqrt {1+x^2}}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 29, normalized size = 0.88
method | result | size |
meijerg | \(\arcsinh \left (x \right )+\frac {-\ln \left (x \right ) \sqrt {x^{2}+1}-\sqrt {x^{2}+1}}{x}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.37, size = 29, normalized size = 0.88 \begin {gather*} -\frac {\sqrt {x^{2} + 1} \log \left (x\right )}{x} - \frac {\sqrt {x^{2} + 1}}{x} + \operatorname {arsinh}\left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 33, normalized size = 1.00 \begin {gather*} -\frac {x \log \left (-x + \sqrt {x^{2} + 1}\right ) + \sqrt {x^{2} + 1} {\left (\log \left (x\right ) + 1\right )} + x}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.71, size = 26, normalized size = 0.79 \begin {gather*} \operatorname {asinh}{\left (x \right )} - \frac {\sqrt {x^{2} + 1} \log {\left (x \right )}}{x} - \frac {\sqrt {x^{2} + 1}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.01, size = 63, normalized size = 1.91 \begin {gather*} \ln \left |x\right |-2 \left (-\frac 1{\left (\sqrt {x^{2}+1}-x\right )^{2}-1}+\frac {\ln \left (\sqrt {x^{2}+1}-x\right )}{2}\right )+\frac {2 \ln x}{\left (\sqrt {x^{2}+1}-x\right )^{2}-1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\ln \left (x\right )}{x^2\,\sqrt {x^2+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________