Optimal. Leaf size=29 \[ \frac {2 x}{x-\log (x)}-\frac {\log (12) \log \left (\frac {5}{x \log ^2(x)}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 1.38, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {2 x^2 \log (12)+\left (2 x^2+\left (-4 x+x^2\right ) \log (12)\right ) \log (x)+\left (-2 x^2+(2-2 x) \log (12)\right ) \log ^2(x)+\log (12) \log ^3(x)+\left (x^2 \log (12) \log (x)-2 x \log (12) \log ^2(x)+\log (12) \log ^3(x)\right ) \log \left (\frac {5}{x \log ^2(x)}\right )}{x^4 \log (x)-2 x^3 \log ^2(x)+x^2 \log ^3(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {2 x^2 \log (12)+\left (2 x^2+\left (-4 x+x^2\right ) \log (12)\right ) \log (x)+\left (-2 x^2+(2-2 x) \log (12)\right ) \log ^2(x)+\log (12) \log ^3(x)+\left (x^2 \log (12) \log (x)-2 x \log (12) \log ^2(x)+\log (12) \log ^3(x)\right ) \log \left (\frac {5}{x \log ^2(x)}\right )}{x^2 (x-\log (x))^2 \log (x)} \, dx\\ &=\int \left (\frac {-4 \log (12)+x (2+\log (12))}{x (x-\log (x))^2}+\frac {2 \log (12)}{(x-\log (x))^2 \log (x)}-\frac {2 \left (x^2-\log (12)+x \log (12)\right ) \log (x)}{x^2 (x-\log (x))^2}+\frac {\log (12) \log ^2(x)}{x^2 (x-\log (x))^2}+\frac {\log (12) \log \left (\frac {5}{x \log ^2(x)}\right )}{x^2}\right ) \, dx\\ &=-\left (2 \int \frac {\left (x^2-\log (12)+x \log (12)\right ) \log (x)}{x^2 (x-\log (x))^2} \, dx\right )+\log (12) \int \frac {\log ^2(x)}{x^2 (x-\log (x))^2} \, dx+\log (12) \int \frac {\log \left (\frac {5}{x \log ^2(x)}\right )}{x^2} \, dx+(2 \log (12)) \int \frac {1}{(x-\log (x))^2 \log (x)} \, dx+\int \frac {-4 \log (12)+x (2+\log (12))}{x (x-\log (x))^2} \, dx\\ &=-\frac {\log (12) \log \left (\frac {5}{x \log ^2(x)}\right )}{x}-2 \int \left (\frac {x^2-\log (12)+x \log (12)}{x (x-\log (x))^2}+\frac {-x^2+\log (12)-x \log (12)}{x^2 (x-\log (x))}\right ) \, dx+\log (12) \int \left (\frac {1}{x^2}+\frac {1}{(x-\log (x))^2}-\frac {2}{x (x-\log (x))}\right ) \, dx-\log (12) \int \frac {2+\log (x)}{x^2 \log (x)} \, dx+(2 \log (12)) \int \left (\frac {1}{x (x-\log (x))^2}+\frac {1}{x^2 (x-\log (x))}+\frac {1}{x^2 \log (x)}\right ) \, dx+\int \left (\frac {2 \left (1+\frac {\log (12)}{2}\right )}{(x-\log (x))^2}-\frac {4 \log (12)}{x (x-\log (x))^2}\right ) \, dx\\ &=-\frac {\log (12)}{x}-\text {Ei}(-\log (x)) \log (12) (2+\log (x))-\frac {\log (12) \log \left (\frac {5}{x \log ^2(x)}\right )}{x}-2 \int \frac {x^2-\log (12)+x \log (12)}{x (x-\log (x))^2} \, dx-2 \int \frac {-x^2+\log (12)-x \log (12)}{x^2 (x-\log (x))} \, dx+\log (12) \int \frac {\text {Ei}(-\log (x))}{x} \, dx+\log (12) \int \frac {1}{(x-\log (x))^2} \, dx+(2 \log (12)) \int \frac {1}{x (x-\log (x))^2} \, dx+(2 \log (12)) \int \frac {1}{x^2 (x-\log (x))} \, dx-(2 \log (12)) \int \frac {1}{x (x-\log (x))} \, dx+(2 \log (12)) \int \frac {1}{x^2 \log (x)} \, dx-(4 \log (12)) \int \frac {1}{x (x-\log (x))^2} \, dx+(2+\log (12)) \int \frac {1}{(x-\log (x))^2} \, dx\\ &=-\frac {\log (12)}{x}-\text {Ei}(-\log (x)) \log (12) (2+\log (x))-\frac {\log (12) \log \left (\frac {5}{x \log ^2(x)}\right )}{x}-2 \int \left (\frac {x}{(x-\log (x))^2}+\frac {\log (12)}{(x-\log (x))^2}-\frac {\log (12)}{x (x-\log (x))^2}\right ) \, dx-2 \int \left (\frac {\log (12)}{x^2 (x-\log (x))}-\frac {\log (12)}{x (x-\log (x))}+\frac {1}{-x+\log (x)}\right ) \, dx+\log (12) \int \frac {1}{(x-\log (x))^2} \, dx+\log (12) \text {Subst}(\int \text {Ei}(-x) \, dx,x,\log (x))+(2 \log (12)) \int \frac {1}{x (x-\log (x))^2} \, dx+(2 \log (12)) \int \frac {1}{x^2 (x-\log (x))} \, dx-(2 \log (12)) \int \frac {1}{x (x-\log (x))} \, dx+(2 \log (12)) \text {Subst}\left (\int \frac {e^{-x}}{x} \, dx,x,\log (x)\right )-(4 \log (12)) \int \frac {1}{x (x-\log (x))^2} \, dx+(2+\log (12)) \int \frac {1}{(x-\log (x))^2} \, dx\\ &=2 \text {Ei}(-\log (x)) \log (12)+\text {Ei}(-\log (x)) \log (12) \log (x)-\text {Ei}(-\log (x)) \log (12) (2+\log (x))-\frac {\log (12) \log \left (\frac {5}{x \log ^2(x)}\right )}{x}-2 \int \frac {x}{(x-\log (x))^2} \, dx-2 \int \frac {1}{-x+\log (x)} \, dx+\log (12) \int \frac {1}{(x-\log (x))^2} \, dx-(2 \log (12)) \int \frac {1}{(x-\log (x))^2} \, dx+2 \left ((2 \log (12)) \int \frac {1}{x (x-\log (x))^2} \, dx\right )-(4 \log (12)) \int \frac {1}{x (x-\log (x))^2} \, dx+(2+\log (12)) \int \frac {1}{(x-\log (x))^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 29, normalized size = 1.00 \begin {gather*} \frac {2 x}{x-\log (x)}-\frac {\log (12) \log \left (\frac {5}{x \log ^2(x)}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.96, size = 38, normalized size = 1.31
method | result | size |
default | \(-\frac {\ln \left (12\right ) \ln \left (\frac {1}{x \ln \left (x \right )^{2}}\right )}{x}-\frac {\ln \left (12\right ) \ln \left (5\right )}{x}-\frac {2 x}{\ln \left (x \right )-x}\) | \(38\) |
risch | \(\text {Expression too large to display}\) | \(794\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 96 vs.
\(2 (29) = 58\).
time = 0.52, size = 96, normalized size = 3.31 \begin {gather*} -\frac {{\left (\log \left (3\right ) + 2 \, \log \left (2\right )\right )} \log \left (x\right )^{2} + {\left (\log \left (5\right ) \log \left (3\right ) + 2 \, \log \left (5\right ) \log \left (2\right )\right )} x - 2 \, x^{2} - {\left (x {\left (\log \left (3\right ) + 2 \, \log \left (2\right )\right )} + \log \left (5\right ) \log \left (3\right ) + 2 \, \log \left (5\right ) \log \left (2\right )\right )} \log \left (x\right ) - 2 \, {\left (x {\left (\log \left (3\right ) + 2 \, \log \left (2\right )\right )} - {\left (\log \left (3\right ) + 2 \, \log \left (2\right )\right )} \log \left (x\right )\right )} \log \left (\log \left (x\right )\right )}{x^{2} - x \log \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 41, normalized size = 1.41 \begin {gather*} \frac {2 \, x^{2} - {\left (x \log \left (12\right ) - \log \left (12\right ) \log \left (x\right )\right )} \log \left (\frac {5}{x \log \left (x\right )^{2}}\right )}{x^{2} - x \log \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.15, size = 24, normalized size = 0.83 \begin {gather*} - \frac {2 x}{- x + \log {\left (x \right )}} - \frac {\log {\left (12 \right )} \log {\left (\frac {5}{x \log {\left (x \right )}^{2}} \right )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 40, normalized size = 1.38 \begin {gather*} -\frac {\log \left (12\right ) \log \left (5\right )}{x} + \frac {\log \left (12\right ) \log \left (\log \left (x\right )^{2}\right )}{x} + \frac {\log \left (12\right ) \log \left (x\right )}{x} + \frac {2 \, x}{x - \log \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.95, size = 54, normalized size = 1.86 \begin {gather*} \frac {2}{x-1}-\frac {\frac {2\,x}{x-1}-\frac {2\,x\,\ln \left (x\right )}{x-1}}{x-\ln \left (x\right )}-\frac {\ln \left (12\right )\,\ln \left (\frac {5}{x\,{\ln \left (x\right )}^2}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________