Optimal. Leaf size=13 \[ x (3+\log (2)-\log (5))+\log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6, 43} \begin {gather*} x (3+\log (2)-\log (5))+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rule 43
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {1+x (3+\log (2))-x \log (5)}{x} \, dx\\ &=\int \frac {1+x (3+\log (2)-\log (5))}{x} \, dx\\ &=\int \left (3+\frac {1}{x}+\log (2)-\log (5)\right ) \, dx\\ &=x (3+\log (2)-\log (5))+\log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 15, normalized size = 1.15 \begin {gather*} 3 x+x \log (2)-x \log (5)+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 15, normalized size = 1.15 \begin {gather*} -x \log \relax (5) + x \log \relax (2) + 3 \, x + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.38, size = 16, normalized size = 1.23 \begin {gather*} -x \log \relax (5) + x \log \relax (2) + 3 \, x + \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 14, normalized size = 1.08
method | result | size |
norman | \(\ln \relax (x )+x \left (3-\ln \relax (5)+\ln \relax (2)\right )\) | \(14\) |
default | \(3 x -x \ln \relax (5)+x \ln \relax (2)+\ln \relax (x )\) | \(16\) |
risch | \(3 x -x \ln \relax (5)+x \ln \relax (2)+\ln \relax (x )\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 14, normalized size = 1.08 \begin {gather*} -x {\left (\log \relax (5) - \log \relax (2) - 3\right )} + \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.44, size = 9, normalized size = 0.69 \begin {gather*} \ln \relax (x)+x\,\left (\ln \left (\frac {2}{5}\right )+3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 12, normalized size = 0.92 \begin {gather*} x \left (- \log {\relax (5 )} + \log {\relax (2 )} + 3\right ) + \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________