Optimal. Leaf size=37 \[ \log \left (5 \left (-x+4 \left (\frac {3}{x}+x+x^2 \left (-\frac {e^5}{3}+\log (\log (4-x))\right )^2\right )\right )\right ) \]
________________________________________________________________________________________
Rubi [F] time = 16.85, 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 {-24 e^5 x^4+\left (432-108 x-108 x^2+27 x^3+e^{10} \left (-32 x^3+8 x^4\right )\right ) \log (4-x)+\left (72 x^4+e^5 \left (192 x^3-48 x^4\right ) \log (4-x)\right ) \log (\log (4-x))+\left (-288 x^3+72 x^4\right ) \log (4-x) \log ^2(\log (4-x))}{\left (-432 x+108 x^2-108 x^3+27 x^4+e^{10} \left (-16 x^4+4 x^5\right )\right ) \log (4-x)+e^5 \left (96 x^4-24 x^5\right ) \log (4-x) \log (\log (4-x))+\left (-144 x^4+36 x^5\right ) \log (4-x) \log ^2(\log (4-x))} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {24 x^4 \left (e^5-3 \log (\log (4-x))\right )-(-4+x) \log (4-x) \left (-108+27 x^2+8 e^{10} x^3-48 e^5 x^3 \log (\log (4-x))+72 x^3 \log ^2(\log (4-x))\right )}{(4-x) x \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx\\ &=\int \left (\frac {2}{x}-\frac {3 \left (8 e^5 x^4-432 \log (4-x)+108 x \log (4-x)-36 x^2 \log (4-x)+9 x^3 \log (4-x)-24 x^4 \log (\log (4-x))\right )}{(-4+x) x \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}\right ) \, dx\\ &=2 \log (x)-3 \int \frac {8 e^5 x^4-432 \log (4-x)+108 x \log (4-x)-36 x^2 \log (4-x)+9 x^3 \log (4-x)-24 x^4 \log (\log (4-x))}{(-4+x) x \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx\\ &=2 \log (x)-3 \int \frac {-9 \left (-48+12 x-4 x^2+x^3\right ) \log (4-x)-8 x^4 \left (e^5-3 \log (\log (4-x))\right )}{(4-x) x \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx\\ &=2 \log (x)-3 \int \left (\frac {8 e^5 x^4-432 \log (4-x)+108 x \log (4-x)-36 x^2 \log (4-x)+9 x^3 \log (4-x)-24 x^4 \log (\log (4-x))}{4 (-4+x) \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}+\frac {-8 e^5 x^4+432 \log (4-x)-108 x \log (4-x)+36 x^2 \log (4-x)-9 x^3 \log (4-x)+24 x^4 \log (\log (4-x))}{4 x \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}\right ) \, dx\\ &=2 \log (x)-\frac {3}{4} \int \frac {8 e^5 x^4-432 \log (4-x)+108 x \log (4-x)-36 x^2 \log (4-x)+9 x^3 \log (4-x)-24 x^4 \log (\log (4-x))}{(-4+x) \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx-\frac {3}{4} \int \frac {-8 e^5 x^4+432 \log (4-x)-108 x \log (4-x)+36 x^2 \log (4-x)-9 x^3 \log (4-x)+24 x^4 \log (\log (4-x))}{x \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx\\ &=2 \log (x)-\frac {3}{4} \int \frac {-9 \left (-48+12 x-4 x^2+x^3\right ) \log (4-x)-8 x^4 \left (e^5-3 \log (\log (4-x))\right )}{(4-x) \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx-\frac {3}{4} \int \frac {-9 \left (-48+12 x-4 x^2+x^3\right ) \log (4-x)-8 x^4 \left (e^5-3 \log (\log (4-x))\right )}{x \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx\\ &=2 \log (x)-\frac {3}{4} \int \left (-\frac {108}{108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))}+\frac {432}{x \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}+\frac {36 x}{108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))}-\frac {9 x^2}{108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))}-\frac {8 e^5 x^3}{\log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}+\frac {24 x^3 \log (\log (4-x))}{\log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}\right ) \, dx-\frac {3}{4} \int \left (-\frac {432}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}+\frac {108 x}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}-\frac {36 x^2}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}+\frac {9 x^3}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}+\frac {8 e^5 x^4}{(-4+x) \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}-\frac {24 x^4 \log (\log (4-x))}{(-4+x) \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )}\right ) \, dx\\ &=2 \log (x)+\frac {27}{4} \int \frac {x^2}{108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))} \, dx-\frac {27}{4} \int \frac {x^3}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx-18 \int \frac {x^3 \log (\log (4-x))}{\log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx+18 \int \frac {x^4 \log (\log (4-x))}{(-4+x) \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx-27 \int \frac {x}{108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))} \, dx+27 \int \frac {x^2}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx+81 \int \frac {1}{108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))} \, dx-81 \int \frac {x}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx+324 \int \frac {1}{(-4+x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx-324 \int \frac {1}{x \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx+\left (6 e^5\right ) \int \frac {x^3}{\log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx-\left (6 e^5\right ) \int \frac {x^4}{(-4+x) \log (4-x) \left (108+27 x^2+4 e^{10} x^3-24 e^5 x^3 \log (\log (4-x))+36 x^3 \log ^2(\log (4-x))\right )} \, dx\\ &=\text {Rest of rules removed due to large latex content} \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [F] time = 0.18, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {-24 e^5 x^4+\left (432-108 x-108 x^2+27 x^3+e^{10} \left (-32 x^3+8 x^4\right )\right ) \log (4-x)+\left (72 x^4+e^5 \left (192 x^3-48 x^4\right ) \log (4-x)\right ) \log (\log (4-x))+\left (-288 x^3+72 x^4\right ) \log (4-x) \log ^2(\log (4-x))}{\left (-432 x+108 x^2-108 x^3+27 x^4+e^{10} \left (-16 x^4+4 x^5\right )\right ) \log (4-x)+e^5 \left (96 x^4-24 x^5\right ) \log (4-x) \log (\log (4-x))+\left (-144 x^4+36 x^5\right ) \log (4-x) \log ^2(\log (4-x))} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 53, normalized size = 1.43 \begin {gather*} 2 \, \log \relax (x) + \log \left (-\frac {24 \, x^{3} e^{5} \log \left (\log \left (-x + 4\right )\right ) - 36 \, x^{3} \log \left (\log \left (-x + 4\right )\right )^{2} - 4 \, x^{3} e^{10} - 27 \, x^{2} - 108}{x^{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.24, size = 48, normalized size = 1.30 \begin {gather*} \log \left (-24 \, x^{3} e^{5} \log \left (\log \left (-x + 4\right )\right ) + 36 \, x^{3} \log \left (\log \left (-x + 4\right )\right )^{2} + 4 \, x^{3} e^{10} + 27 \, x^{2} + 108\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.18, size = 47, normalized size = 1.27
method | result | size |
risch | \(2 \ln \relax (x )+\ln \left (\ln \left (\ln \left (-x +4\right )\right )^{2}-\frac {2 \,{\mathrm e}^{5} \ln \left (\ln \left (-x +4\right )\right )}{3}+\frac {4 x^{3} {\mathrm e}^{10}+27 x^{2}+108}{36 x^{3}}\right )\) | \(47\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.56, size = 53, normalized size = 1.43 \begin {gather*} 2 \, \log \relax (x) + \log \left (-\frac {24 \, x^{3} e^{5} \log \left (\log \left (-x + 4\right )\right ) - 36 \, x^{3} \log \left (\log \left (-x + 4\right )\right )^{2} - 4 \, x^{3} e^{10} - 27 \, x^{2} - 108}{36 \, x^{3}}\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.03 \begin {gather*} \int \frac {\ln \left (4-x\right )\,\left (108\,x+{\mathrm {e}}^{10}\,\left (32\,x^3-8\,x^4\right )+108\,x^2-27\,x^3-432\right )-\ln \left (\ln \left (4-x\right )\right )\,\left (72\,x^4+{\mathrm {e}}^5\,\ln \left (4-x\right )\,\left (192\,x^3-48\,x^4\right )\right )+24\,x^4\,{\mathrm {e}}^5+{\ln \left (\ln \left (4-x\right )\right )}^2\,\ln \left (4-x\right )\,\left (288\,x^3-72\,x^4\right )}{\ln \left (4-x\right )\,\left (144\,x^4-36\,x^5\right )\,{\ln \left (\ln \left (4-x\right )\right )}^2-{\mathrm {e}}^5\,\ln \left (4-x\right )\,\left (96\,x^4-24\,x^5\right )\,\ln \left (\ln \left (4-x\right )\right )+\ln \left (4-x\right )\,\left (432\,x+{\mathrm {e}}^{10}\,\left (16\,x^4-4\,x^5\right )-108\,x^2+108\,x^3-27\,x^4\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.86, size = 48, normalized size = 1.30 \begin {gather*} 2 \log {\relax (x )} + \log {\left (\log {\left (\log {\left (4 - x \right )} \right )}^{2} - \frac {2 e^{5} \log {\left (\log {\left (4 - x \right )} \right )}}{3} + \frac {4 x^{3} e^{10} + 27 x^{2} + 108}{36 x^{3}} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________