Optimal. Leaf size=12 \[ \frac {2 x+x \log (x)}{x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2304} \begin {gather*} \frac {1}{x}+\frac {\log (x)+1}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2304
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{x}+\frac {1+\log (x)}{x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 12, normalized size = 1.00 \begin {gather*} \frac {2}{x}+\frac {\log (x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 8, normalized size = 0.67 \begin {gather*} \frac {\log \relax (x) + 2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.66, size = 12, normalized size = 1.00 \begin {gather*} \frac {\log \relax (x)}{x} + \frac {2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 9, normalized size = 0.75
method | result | size |
norman | \(\frac {\ln \relax (x )+2}{x}\) | \(9\) |
default | \(\frac {\ln \relax (x )}{x}+\frac {2}{x}\) | \(13\) |
risch | \(\frac {\ln \relax (x )}{x}+\frac {2}{x}\) | \(13\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 12, normalized size = 1.00 \begin {gather*} \frac {\log \relax (x) + 1}{x} + \frac {1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.46, size = 8, normalized size = 0.67 \begin {gather*} \frac {\ln \relax (x)+2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 7, normalized size = 0.58 \begin {gather*} \frac {\log {\relax (x )}}{x} + \frac {2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________