Optimal. Leaf size=30 \[ \frac {\frac {(5-x) (2+\log (2))}{x}+\frac {9 (3-x) \log (3)}{x^2}}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 29, normalized size of antiderivative = 0.97, number of steps used = 2, number of rules used = 1, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.032, Rules used = {14} \begin {gather*} \frac {27 \log (3)}{x^3}+\frac {10-\log \left (\frac {19683}{32}\right )}{x^2}-\frac {2+\log (2)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {2+\log (2)}{x^2}-\frac {81 \log (3)}{x^4}+\frac {2 \left (-10+\log \left (\frac {19683}{32}\right )\right )}{x^3}\right ) \, dx\\ &=-\frac {2+\log (2)}{x}+\frac {27 \log (3)}{x^3}+\frac {10-\log \left (\frac {19683}{32}\right )}{x^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 30, normalized size = 1.00 \begin {gather*} \frac {-2-\log (2)}{x}+\frac {27 \log (3)}{x^3}+\frac {10-9 \log (3)+\log (32)}{x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 31, normalized size = 1.03 \begin {gather*} -\frac {2 \, x^{2} + 9 \, {\left (x - 3\right )} \log \relax (3) + {\left (x^{2} - 5 \, x\right )} \log \relax (2) - 10 \, x}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 34, normalized size = 1.13 \begin {gather*} -\frac {x^{2} \log \relax (2) + 2 \, x^{2} + 9 \, x \log \relax (3) - 5 \, x \log \relax (2) - 10 \, x - 27 \, \log \relax (3)}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 32, normalized size = 1.07
method | result | size |
norman | \(\frac {\left (-2-\ln \relax (2)\right ) x^{2}+\left (5 \ln \relax (2)-9 \ln \relax (3)+10\right ) x +27 \ln \relax (3)}{x^{3}}\) | \(32\) |
risch | \(\frac {\left (-2-\ln \relax (2)\right ) x^{2}+\left (5 \ln \relax (2)-9 \ln \relax (3)+10\right ) x +27 \ln \relax (3)}{x^{3}}\) | \(32\) |
default | \(\frac {27 \ln \relax (3)}{x^{3}}-\frac {-10 \ln \relax (2)+18 \ln \relax (3)-20}{2 x^{2}}-\frac {\ln \relax (2)+2}{x}\) | \(33\) |
gosper | \(-\frac {x^{2} \ln \relax (2)-5 x \ln \relax (2)+9 x \ln \relax (3)+2 x^{2}-27 \ln \relax (3)-10 x}{x^{3}}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 30, normalized size = 1.00 \begin {gather*} -\frac {x^{2} {\left (\log \relax (2) + 2\right )} + x {\left (9 \, \log \relax (3) - 5 \, \log \relax (2) - 10\right )} - 27 \, \log \relax (3)}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 24, normalized size = 0.80 \begin {gather*} -\frac {\left (\ln \relax (2)+2\right )\,x^2+\left (\ln \left (\frac {19683}{32}\right )-10\right )\,x-\ln \left (7625597484987\right )}{x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.49, size = 31, normalized size = 1.03 \begin {gather*} \frac {x^{2} \left (-2 - \log {\relax (2 )}\right ) + x \left (- 9 \log {\relax (3 )} + 5 \log {\relax (2 )} + 10\right ) + 27 \log {\relax (3 )}}{x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________