Optimal. Leaf size=22 \[ \log \left (5-x+\frac {2 x^2}{\left (x+\log \left (\frac {\log (x)}{x}\right )\right )^2}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 45.13, 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 {4 x+\left (-4 x+x^3\right ) \log (x)+\left (-4 x+3 x^2\right ) \log (x) \log \left (\frac {\log (x)}{x}\right )+3 x \log (x) \log ^2\left (\frac {\log (x)}{x}\right )+\log (x) \log ^3\left (\frac {\log (x)}{x}\right )}{\left (-7 x^3+x^4\right ) \log (x)+\left (-17 x^2+3 x^3\right ) \log (x) \log \left (\frac {\log (x)}{x}\right )+\left (-15 x+3 x^2\right ) \log (x) \log ^2\left (\frac {\log (x)}{x}\right )+(-5+x) \log (x) \log ^3\left (\frac {\log (x)}{x}\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1}{-5+x}-\frac {2 (1-\log (x)+x \log (x))}{x \log (x) \left (x+\log \left (\frac {\log (x)}{x}\right )\right )}+\frac {2 \left (25 x-10 x^2+x^3-25 x \log (x)+45 x^2 \log (x)-12 x^3 \log (x)+x^4 \log (x)+25 \log \left (\frac {\log (x)}{x}\right )-10 x \log \left (\frac {\log (x)}{x}\right )+x^2 \log \left (\frac {\log (x)}{x}\right )-25 \log (x) \log \left (\frac {\log (x)}{x}\right )+35 x \log (x) \log \left (\frac {\log (x)}{x}\right )-11 x^2 \log (x) \log \left (\frac {\log (x)}{x}\right )+x^3 \log (x) \log \left (\frac {\log (x)}{x}\right )\right )}{(-5+x) x \log (x) \left (-7 x^2+x^3-10 x \log \left (\frac {\log (x)}{x}\right )+2 x^2 \log \left (\frac {\log (x)}{x}\right )-5 \log ^2\left (\frac {\log (x)}{x}\right )+x \log ^2\left (\frac {\log (x)}{x}\right )\right )}\right ) \, dx\\ &=\log (5-x)-2 \int \frac {1-\log (x)+x \log (x)}{x \log (x) \left (x+\log \left (\frac {\log (x)}{x}\right )\right )} \, dx+2 \int \frac {25 x-10 x^2+x^3-25 x \log (x)+45 x^2 \log (x)-12 x^3 \log (x)+x^4 \log (x)+25 \log \left (\frac {\log (x)}{x}\right )-10 x \log \left (\frac {\log (x)}{x}\right )+x^2 \log \left (\frac {\log (x)}{x}\right )-25 \log (x) \log \left (\frac {\log (x)}{x}\right )+35 x \log (x) \log \left (\frac {\log (x)}{x}\right )-11 x^2 \log (x) \log \left (\frac {\log (x)}{x}\right )+x^3 \log (x) \log \left (\frac {\log (x)}{x}\right )}{(-5+x) x \log (x) \left (-7 x^2+x^3-10 x \log \left (\frac {\log (x)}{x}\right )+2 x^2 \log \left (\frac {\log (x)}{x}\right )-5 \log ^2\left (\frac {\log (x)}{x}\right )+x \log ^2\left (\frac {\log (x)}{x}\right )\right )} \, dx\\ &=\log (5-x)-2 \log \left (x+\log \left (\frac {\log (x)}{x}\right )\right )+2 \int \frac {-(-5+x)^2 \left (x+\log \left (\frac {\log (x)}{x}\right )\right )-\log (x) \left (x \left (-25+45 x-12 x^2+x^3\right )+(-5+x)^2 (-1+x) \log \left (\frac {\log (x)}{x}\right )\right )}{(5-x) x \log (x) \left ((-7+x) x^2+2 (-5+x) x \log \left (\frac {\log (x)}{x}\right )+(-5+x) \log ^2\left (\frac {\log (x)}{x}\right )\right )} \, dx\\ &=\log (5-x)-2 \log \left (x+\log \left (\frac {\log (x)}{x}\right )\right )+2 \int \left (\frac {-25 x+10 x^2-x^3+25 x \log (x)-45 x^2 \log (x)+12 x^3 \log (x)-x^4 \log (x)-25 \log \left (\frac {\log (x)}{x}\right )+10 x \log \left (\frac {\log (x)}{x}\right )-x^2 \log \left (\frac {\log (x)}{x}\right )+25 \log (x) \log \left (\frac {\log (x)}{x}\right )-35 x \log (x) \log \left (\frac {\log (x)}{x}\right )+11 x^2 \log (x) \log \left (\frac {\log (x)}{x}\right )-x^3 \log (x) \log \left (\frac {\log (x)}{x}\right )}{5 x \log (x) \left (-7 x^2+x^3-10 x \log \left (\frac {\log (x)}{x}\right )+2 x^2 \log \left (\frac {\log (x)}{x}\right )-5 \log ^2\left (\frac {\log (x)}{x}\right )+x \log ^2\left (\frac {\log (x)}{x}\right )\right )}+\frac {25 x-10 x^2+x^3-25 x \log (x)+45 x^2 \log (x)-12 x^3 \log (x)+x^4 \log (x)+25 \log \left (\frac {\log (x)}{x}\right )-10 x \log \left (\frac {\log (x)}{x}\right )+x^2 \log \left (\frac {\log (x)}{x}\right )-25 \log (x) \log \left (\frac {\log (x)}{x}\right )+35 x \log (x) \log \left (\frac {\log (x)}{x}\right )-11 x^2 \log (x) \log \left (\frac {\log (x)}{x}\right )+x^3 \log (x) \log \left (\frac {\log (x)}{x}\right )}{5 (-5+x) \log (x) \left (-7 x^2+x^3-10 x \log \left (\frac {\log (x)}{x}\right )+2 x^2 \log \left (\frac {\log (x)}{x}\right )-5 \log ^2\left (\frac {\log (x)}{x}\right )+x \log ^2\left (\frac {\log (x)}{x}\right )\right )}\right ) \, dx\\ &=\log (5-x)-2 \log \left (x+\log \left (\frac {\log (x)}{x}\right )\right )+\frac {2}{5} \int \frac {-25 x+10 x^2-x^3+25 x \log (x)-45 x^2 \log (x)+12 x^3 \log (x)-x^4 \log (x)-25 \log \left (\frac {\log (x)}{x}\right )+10 x \log \left (\frac {\log (x)}{x}\right )-x^2 \log \left (\frac {\log (x)}{x}\right )+25 \log (x) \log \left (\frac {\log (x)}{x}\right )-35 x \log (x) \log \left (\frac {\log (x)}{x}\right )+11 x^2 \log (x) \log \left (\frac {\log (x)}{x}\right )-x^3 \log (x) \log \left (\frac {\log (x)}{x}\right )}{x \log (x) \left (-7 x^2+x^3-10 x \log \left (\frac {\log (x)}{x}\right )+2 x^2 \log \left (\frac {\log (x)}{x}\right )-5 \log ^2\left (\frac {\log (x)}{x}\right )+x \log ^2\left (\frac {\log (x)}{x}\right )\right )} \, dx+\frac {2}{5} \int \frac {25 x-10 x^2+x^3-25 x \log (x)+45 x^2 \log (x)-12 x^3 \log (x)+x^4 \log (x)+25 \log \left (\frac {\log (x)}{x}\right )-10 x \log \left (\frac {\log (x)}{x}\right )+x^2 \log \left (\frac {\log (x)}{x}\right )-25 \log (x) \log \left (\frac {\log (x)}{x}\right )+35 x \log (x) \log \left (\frac {\log (x)}{x}\right )-11 x^2 \log (x) \log \left (\frac {\log (x)}{x}\right )+x^3 \log (x) \log \left (\frac {\log (x)}{x}\right )}{(-5+x) \log (x) \left (-7 x^2+x^3-10 x \log \left (\frac {\log (x)}{x}\right )+2 x^2 \log \left (\frac {\log (x)}{x}\right )-5 \log ^2\left (\frac {\log (x)}{x}\right )+x \log ^2\left (\frac {\log (x)}{x}\right )\right )} \, dx\\ &=\log (5-x)-2 \log \left (x+\log \left (\frac {\log (x)}{x}\right )\right )+\frac {2}{5} \int \frac {-(-5+x)^2 \left (x+\log \left (\frac {\log (x)}{x}\right )\right )-\log (x) \left (x \left (-25+45 x-12 x^2+x^3\right )+(-5+x)^2 (-1+x) \log \left (\frac {\log (x)}{x}\right )\right )}{(5-x) \log (x) \left ((-7+x) x^2+2 (-5+x) x \log \left (\frac {\log (x)}{x}\right )+(-5+x) \log ^2\left (\frac {\log (x)}{x}\right )\right )} \, dx+\frac {2}{5} \int \frac {-(-5+x)^2 \left (x+\log \left (\frac {\log (x)}{x}\right )\right )-\log (x) \left (x \left (-25+45 x-12 x^2+x^3\right )+(-5+x)^2 (-1+x) \log \left (\frac {\log (x)}{x}\right )\right )}{x \log (x) \left ((-7+x) x^2+2 (-5+x) x \log \left (\frac {\log (x)}{x}\right )+(-5+x) \log ^2\left (\frac {\log (x)}{x}\right )\right )} \, dx\\ &=\text {Rest of rules removed due to large latex content} \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.19, size = 67, normalized size = 3.05 \begin {gather*} -2 \log \left (x+\log \left (\frac {\log (x)}{x}\right )\right )+\log \left (-7 x^2+x^3-10 x \log \left (\frac {\log (x)}{x}\right )+2 x^2 \log \left (\frac {\log (x)}{x}\right )-5 \log ^2\left (\frac {\log (x)}{x}\right )+x \log ^2\left (\frac {\log (x)}{x}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.94, size = 62, normalized size = 2.82 \begin {gather*} -2 \, \log \left (x + \log \left (\frac {\log \relax (x)}{x}\right )\right ) + \log \left (x - 5\right ) + \log \left (\frac {x^{3} + {\left (x - 5\right )} \log \left (\frac {\log \relax (x)}{x}\right )^{2} - 7 \, x^{2} + 2 \, {\left (x^{2} - 5 \, x\right )} \log \left (\frac {\log \relax (x)}{x}\right )}{x - 5}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 5.54, size = 92, normalized size = 4.18 \begin {gather*} \log \left (x^{3} - 2 \, x^{2} \log \relax (x) + x \log \relax (x)^{2} + 2 \, x^{2} \log \left (\log \relax (x)\right ) - 2 \, x \log \relax (x) \log \left (\log \relax (x)\right ) + x \log \left (\log \relax (x)\right )^{2} - 7 \, x^{2} + 10 \, x \log \relax (x) - 5 \, \log \relax (x)^{2} - 10 \, x \log \left (\log \relax (x)\right ) + 10 \, \log \relax (x) \log \left (\log \relax (x)\right ) - 5 \, \log \left (\log \relax (x)\right )^{2}\right ) - 2 \, \log \left (-x + \log \relax (x) - \log \left (\log \relax (x)\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.98, size = 1095, normalized size = 49.77
method | result | size |
risch | \(\ln \left (x -5\right )-2 \ln \left (\ln \left (\ln \relax (x )\right )-\frac {i \left (\pi \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )-\pi \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}-\pi \,\mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}+\pi \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}+2 i x -2 i \ln \relax (x )\right )}{2}\right )+\ln \left (\ln \left (\ln \relax (x )\right )^{2}+\left (-i \pi \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )+i \pi \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}+i \pi \,\mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}-i \pi \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}+2 x -2 \ln \relax (x )\right ) \ln \left (\ln \relax (x )\right )-\frac {8 x^{2} \ln \relax (x )-2 \pi ^{2} x \mathrm {csgn}\left (\frac {i}{x}\right )^{2} \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}+20 \ln \relax (x )^{2}-4 x^{3}+28 x^{2}-4 i \pi \,x^{2} \mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}-4 i \pi \,x^{2} \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}+20 i \pi x \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}+20 i \pi x \,\mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}-20 i \ln \relax (x ) \pi \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}-20 i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}-4 i \ln \relax (x ) \pi x \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}-2 \pi ^{2} x \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}+4 \pi ^{2} x \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{4}+\pi ^{2} x \mathrm {csgn}\left (\frac {i}{x}\right )^{2} \mathrm {csgn}\left (i \ln \relax (x )\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}-4 x \ln \relax (x )^{2}-40 x \ln \relax (x )-5 \pi ^{2} \mathrm {csgn}\left (\frac {i}{x}\right )^{2} \mathrm {csgn}\left (i \ln \relax (x )\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}+10 \pi ^{2} \mathrm {csgn}\left (\frac {i}{x}\right )^{2} \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}+10 \pi ^{2} \mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}-20 \pi ^{2} \mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{4}+\pi ^{2} x \mathrm {csgn}\left (\frac {i}{x}\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{4}-2 \pi ^{2} x \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{5}+\pi ^{2} x \mathrm {csgn}\left (i \ln \relax (x )\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{4}-2 \pi ^{2} x \,\mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{5}+20 i \ln \relax (x ) \pi \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}-20 i \pi x \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}+4 i \pi \,x^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{3}+\pi ^{2} x \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{6}-5 \pi ^{2} \mathrm {csgn}\left (\frac {i}{x}\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{4}+10 \pi ^{2} \mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{5}-5 \pi ^{2} \mathrm {csgn}\left (i \ln \relax (x )\right )^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{4}+10 \pi ^{2} \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{5}-5 \pi ^{2} \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{6}-20 i \pi x \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )+4 i \pi \,x^{2} \mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )+4 i \ln \relax (x ) \pi x \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}+4 i \ln \relax (x ) \pi x \,\mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )^{2}+20 i \ln \relax (x ) \pi \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )-4 i \ln \relax (x ) \pi x \,\mathrm {csgn}\left (\frac {i}{x}\right ) \mathrm {csgn}\left (i \ln \relax (x )\right ) \mathrm {csgn}\left (\frac {i \ln \relax (x )}{x}\right )}{4 \left (x -5\right )}\right )\) | \(1095\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.53, size = 80, normalized size = 3.64 \begin {gather*} -2 \, \log \left (x - \log \relax (x) + \log \left (\log \relax (x)\right )\right ) + \log \left (x - 5\right ) + \log \left (\frac {x^{3} + {\left (x - 5\right )} \log \relax (x)^{2} + {\left (x - 5\right )} \log \left (\log \relax (x)\right )^{2} - 7 \, x^{2} - 2 \, {\left (x^{2} - 5 \, x\right )} \log \relax (x) + 2 \, {\left (x^{2} - {\left (x - 5\right )} \log \relax (x) - 5 \, x\right )} \log \left (\log \relax (x)\right )}{x - 5}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.05 \begin {gather*} \int -\frac {\ln \relax (x)\,{\ln \left (\frac {\ln \relax (x)}{x}\right )}^3+3\,x\,\ln \relax (x)\,{\ln \left (\frac {\ln \relax (x)}{x}\right )}^2-\ln \relax (x)\,\left (4\,x-3\,x^2\right )\,\ln \left (\frac {\ln \relax (x)}{x}\right )+4\,x-\ln \relax (x)\,\left (4\,x-x^3\right )}{-\ln \relax (x)\,\left (x-5\right )\,{\ln \left (\frac {\ln \relax (x)}{x}\right )}^3+\ln \relax (x)\,\left (15\,x-3\,x^2\right )\,{\ln \left (\frac {\ln \relax (x)}{x}\right )}^2+\ln \relax (x)\,\left (17\,x^2-3\,x^3\right )\,\ln \left (\frac {\ln \relax (x)}{x}\right )+\ln \relax (x)\,\left (7\,x^3-x^4\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: PolynomialError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________