Optimal. Leaf size=13 \[ \frac {(6-x)^2 \log (x)}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 15, normalized size of antiderivative = 1.15, number of steps used = 6, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {14, 43, 2334} \begin {gather*} \left (x+\frac {36}{x}\right ) \log (x)-12 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 43
Rule 2334
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {(-6+x)^2}{x^2}+\frac {\left (-36+x^2\right ) \log (x)}{x^2}\right ) \, dx\\ &=\int \frac {(-6+x)^2}{x^2} \, dx+\int \frac {\left (-36+x^2\right ) \log (x)}{x^2} \, dx\\ &=\left (\frac {36}{x}+x\right ) \log (x)-\int \left (1+\frac {36}{x^2}\right ) \, dx+\int \left (1+\frac {36}{x^2}-\frac {12}{x}\right ) \, dx\\ &=-12 \log (x)+\left (\frac {36}{x}+x\right ) \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 16, normalized size = 1.23 \begin {gather*} -12 \log (x)+\frac {36 \log (x)}{x}+x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.73, size = 14, normalized size = 1.08 \begin {gather*} \frac {{\left (x^{2} - 12 \, x + 36\right )} \log \relax (x)}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 15, normalized size = 1.15 \begin {gather*} {\left (x + \frac {36}{x}\right )} \log \relax (x) - 12 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 17, normalized size = 1.31
method | result | size |
default | \(x \ln \relax (x )+\frac {36 \ln \relax (x )}{x}-12 \ln \relax (x )\) | \(17\) |
risch | \(\frac {\left (x^{2}+36\right ) \ln \relax (x )}{x}-12 \ln \relax (x )\) | \(17\) |
norman | \(\frac {x^{2} \ln \relax (x )-12 x \ln \relax (x )+36 \ln \relax (x )}{x}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 16, normalized size = 1.23 \begin {gather*} x \log \relax (x) + \frac {36 \, \log \relax (x)}{x} - 12 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.90, size = 11, normalized size = 0.85 \begin {gather*} \frac {\ln \relax (x)\,{\left (x-6\right )}^2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 14, normalized size = 1.08 \begin {gather*} - 12 \log {\relax (x )} + \frac {\left (x^{2} + 36\right ) \log {\relax (x )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________