Optimal. Leaf size=16 \[ 4+(4+x) \log (3)-(9+\log (x))^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 15, normalized size of antiderivative = 0.94, number of steps used = 5, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {14, 43, 2301} \begin {gather*} -\log ^2(x)-18 \log (x)+x \log (3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 43
Rule 2301
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-18+x \log (3)}{x}-\frac {2 \log (x)}{x}\right ) \, dx\\ &=-\left (2 \int \frac {\log (x)}{x} \, dx\right )+\int \frac {-18+x \log (3)}{x} \, dx\\ &=-\log ^2(x)+\int \left (-\frac {18}{x}+\log (3)\right ) \, dx\\ &=x \log (3)-18 \log (x)-\log ^2(x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 15, normalized size = 0.94 \begin {gather*} x \log (3)-18 \log (x)-\log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 15, normalized size = 0.94 \begin {gather*} x \log \relax (3) - \log \relax (x)^{2} - 18 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 15, normalized size = 0.94 \begin {gather*} x \log \relax (3) - \log \relax (x)^{2} - 18 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 16, normalized size = 1.00
method | result | size |
default | \(x \ln \relax (3)-\ln \relax (x )^{2}-18 \ln \relax (x )\) | \(16\) |
norman | \(x \ln \relax (3)-\ln \relax (x )^{2}-18 \ln \relax (x )\) | \(16\) |
risch | \(x \ln \relax (3)-\ln \relax (x )^{2}-18 \ln \relax (x )\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 15, normalized size = 0.94 \begin {gather*} x \log \relax (3) - \log \relax (x)^{2} - 18 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.15, size = 15, normalized size = 0.94 \begin {gather*} -{\ln \relax (x)}^2-18\,\ln \relax (x)+x\,\ln \relax (3) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 14, normalized size = 0.88 \begin {gather*} x \log {\relax (3 )} - \log {\relax (x )}^{2} - 18 \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________