Optimal. Leaf size=25 \[ \log \left (\frac {\left (x^2+\frac {2 x \left (-4+e^x+\log (x)\right )}{\log (x)}\right )^2}{x}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 1.95, 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 {16-4 e^x+\left (-8+e^x (2+4 x)\right ) \log (x)+(2+3 x) \log ^2(x)}{\left (-8 x+2 e^x x\right ) \log (x)+\left (2 x+x^2\right ) \log ^2(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-16+4 e^x-\left (-8+e^x (2+4 x)\right ) \log (x)-(2+3 x) \log ^2(x)}{x \log (x) \left (8-2 e^x-2 \log (x)-x \log (x)\right )} \, dx\\ &=\int \left (\frac {-2+\log (x)+2 x \log (x)}{x \log (x)}-\frac {2 \left (-2-9 x+x \log (x)+x^2 \log (x)\right )}{x \left (-8+2 e^x+2 \log (x)+x \log (x)\right )}\right ) \, dx\\ &=-\left (2 \int \frac {-2-9 x+x \log (x)+x^2 \log (x)}{x \left (-8+2 e^x+2 \log (x)+x \log (x)\right )} \, dx\right )+\int \frac {-2+\log (x)+2 x \log (x)}{x \log (x)} \, dx\\ &=-\left (2 \int \left (-\frac {9}{-8+2 e^x+2 \log (x)+x \log (x)}-\frac {2}{x \left (-8+2 e^x+2 \log (x)+x \log (x)\right )}+\frac {\log (x)}{-8+2 e^x+2 \log (x)+x \log (x)}+\frac {x \log (x)}{-8+2 e^x+2 \log (x)+x \log (x)}\right ) \, dx\right )+\int \left (\frac {1+2 x}{x}-\frac {2}{x \log (x)}\right ) \, dx\\ &=-\left (2 \int \frac {1}{x \log (x)} \, dx\right )-2 \int \frac {\log (x)}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx-2 \int \frac {x \log (x)}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx+4 \int \frac {1}{x \left (-8+2 e^x+2 \log (x)+x \log (x)\right )} \, dx+18 \int \frac {1}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx+\int \frac {1+2 x}{x} \, dx\\ &=-\left (2 \int \frac {\log (x)}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx\right )-2 \int \frac {x \log (x)}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx-2 \operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (x)\right )+4 \int \frac {1}{x \left (-8+2 e^x+2 \log (x)+x \log (x)\right )} \, dx+18 \int \frac {1}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx+\int \left (2+\frac {1}{x}\right ) \, dx\\ &=2 x+\log (x)-2 \log (\log (x))-2 \int \frac {\log (x)}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx-2 \int \frac {x \log (x)}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx+4 \int \frac {1}{x \left (-8+2 e^x+2 \log (x)+x \log (x)\right )} \, dx+18 \int \frac {1}{-8+2 e^x+2 \log (x)+x \log (x)} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.62, size = 27, normalized size = 1.08 \begin {gather*} \log (x)-2 \log (\log (x))+2 \log \left (8-2 e^x-2 \log (x)-x \log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.02, size = 35, normalized size = 1.40 \begin {gather*} 2 \, \log \left (x + 2\right ) + \log \relax (x) + 2 \, \log \left (\frac {{\left (x + 2\right )} \log \relax (x) + 2 \, e^{x} - 8}{x + 2}\right ) - 2 \, \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.56, size = 25, normalized size = 1.00 \begin {gather*} 2 \, \log \left (x \log \relax (x) + 2 \, e^{x} + 2 \, \log \relax (x) - 8\right ) + \log \relax (x) - 2 \, \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 26, normalized size = 1.04
method | result | size |
norman | \(\ln \relax (x )-2 \ln \left (\ln \relax (x )\right )+2 \ln \left (x \ln \relax (x )+2 \ln \relax (x )+2 \,{\mathrm e}^{x}-8\right )\) | \(26\) |
risch | \(2 \ln \left (2+x \right )+\ln \relax (x )+2 \ln \left (\ln \relax (x )+\frac {2 \,{\mathrm e}^{x}-8}{2+x}\right )-2 \ln \left (\ln \relax (x )\right )\) | \(32\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.60, size = 22, normalized size = 0.88 \begin {gather*} 2 \, \log \left (\frac {1}{2} \, {\left (x + 2\right )} \log \relax (x) + e^{x} - 4\right ) + \log \relax (x) - 2 \, \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.96, size = 25, normalized size = 1.00 \begin {gather*} 2\,\ln \left (2\,{\mathrm {e}}^x+2\,\ln \relax (x)+x\,\ln \relax (x)-8\right )-2\,\ln \left (\ln \relax (x)\right )+\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.38, size = 27, normalized size = 1.08 \begin {gather*} \log {\relax (x )} + 2 \log {\left (\frac {x \log {\relax (x )}}{2} + e^{x} + \log {\relax (x )} - 4 \right )} - 2 \log {\left (\log {\relax (x )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________