Optimal. Leaf size=17 \[ \frac {1}{3} \left (5-2 x-\frac {\log ^2(x)}{4}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 14, normalized size of antiderivative = 0.82, number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {12, 14, 2301} \begin {gather*} -\frac {2 x}{3}-\frac {1}{12} \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2301
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{6} \int \frac {-4 x-\log (x)}{x} \, dx\\ &=\frac {1}{6} \int \left (-4-\frac {\log (x)}{x}\right ) \, dx\\ &=-\frac {2 x}{3}-\frac {1}{6} \int \frac {\log (x)}{x} \, dx\\ &=-\frac {2 x}{3}-\frac {\log ^2(x)}{12}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 14, normalized size = 0.82 \begin {gather*} -\frac {2 x}{3}-\frac {\log ^2(x)}{12} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 10, normalized size = 0.59 \begin {gather*} -\frac {1}{12} \, \log \relax (x)^{2} - \frac {2}{3} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 10, normalized size = 0.59 \begin {gather*} -\frac {1}{12} \, \log \relax (x)^{2} - \frac {2}{3} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 11, normalized size = 0.65
method | result | size |
default | \(-\frac {2 x}{3}-\frac {\ln \relax (x )^{2}}{12}\) | \(11\) |
norman | \(-\frac {2 x}{3}-\frac {\ln \relax (x )^{2}}{12}\) | \(11\) |
risch | \(-\frac {2 x}{3}-\frac {\ln \relax (x )^{2}}{12}\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.80, size = 10, normalized size = 0.59 \begin {gather*} -\frac {1}{12} \, \log \relax (x)^{2} - \frac {2}{3} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.27, size = 10, normalized size = 0.59 \begin {gather*} -\frac {{\ln \relax (x)}^2}{12}-\frac {2\,x}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 12, normalized size = 0.71 \begin {gather*} - \frac {2 x}{3} - \frac {\log {\relax (x )}^{2}}{12} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________