Optimal. Leaf size=33 \[ \log \left (5 x+\frac {2 x+\frac {2+\frac {\log (x)}{\log \left (x^2 (4+x)\right )}}{\log (x)}}{x}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 41.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 {(-8-3 x) \log ^2(x)+(-4-x) \log ^2(x) \log \left (4 x^2+x^3\right )+\left (-8-2 x+(-8-2 x) \log (x)+\left (20 x^2+5 x^3\right ) \log ^2(x)\right ) \log ^2\left (4 x^2+x^3\right )}{\left (4 x+x^2\right ) \log ^2(x) \log \left (4 x^2+x^3\right )+\left (\left (8 x+2 x^2\right ) \log (x)+\left (8 x^2+22 x^3+5 x^4\right ) \log ^2(x)\right ) \log ^2\left (4 x^2+x^3\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {(-8-3 x) \log ^2(x)+(-4-x) \log ^2(x) \log \left (4 x^2+x^3\right )+\left (-8-2 x+(-8-2 x) \log (x)+\left (20 x^2+5 x^3\right ) \log ^2(x)\right ) \log ^2\left (4 x^2+x^3\right )}{x (4+x) \log (x) \log \left (x^2 (4+x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx\\ &=\int \left (-\frac {\log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}-\frac {(8+3 x) \log (x)}{x (4+x) \log \left (x^2 (4+x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}+\frac {\left (-2-2 \log (x)+5 x^2 \log ^2(x)\right ) \log \left (x^2 (4+x)\right )}{x \log (x) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}\right ) \, dx\\ &=-\int \frac {\log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx-\int \frac {(8+3 x) \log (x)}{x (4+x) \log \left (x^2 (4+x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx+\int \frac {\left (-2-2 \log (x)+5 x^2 \log ^2(x)\right ) \log \left (x^2 (4+x)\right )}{x \log (x) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx\\ &=-\int \frac {\log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+x (2+5 x) \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx-\int \frac {(8+3 x) \log (x)}{x (4+x) \log \left (x^2 (4+x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+x (2+5 x) \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx+\int \frac {\left (-2-2 \log (x)+5 x^2 \log ^2(x)\right ) \log \left (x^2 (4+x)\right )}{x \log (x) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+x (2+5 x) \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx\\ &=-\int \frac {\log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+x (2+5 x) \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx-\int \left (\frac {8+3 x}{x (4+x) \log \left (x^2 (4+x)\right )}-\frac {(8+3 x) \left (2+2 x \log (x)+5 x^2 \log (x)\right )}{x (4+x) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}\right ) \, dx+\int \left (\frac {-2-2 \log (x)+5 x^2 \log ^2(x)}{x \log (x) \left (2+2 x \log (x)+5 x^2 \log (x)\right )}+\frac {2+2 \log (x)-5 x^2 \log ^2(x)}{x \left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}\right ) \, dx\\ &=\int \frac {-2-2 \log (x)+5 x^2 \log ^2(x)}{x \log (x) \left (2+2 x \log (x)+5 x^2 \log (x)\right )} \, dx-\int \frac {8+3 x}{x (4+x) \log \left (x^2 (4+x)\right )} \, dx+\int \frac {(8+3 x) \left (2+2 x \log (x)+5 x^2 \log (x)\right )}{x (4+x) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx+\int \frac {2+2 \log (x)-5 x^2 \log ^2(x)}{x \left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx-\int \frac {\log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+x (2+5 x) \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx\\ &=\int \left (\frac {5}{2+5 x}-\frac {1}{x \log (x)}-\frac {4 (1+5 x)}{x (2+5 x) \left (2+2 x \log (x)+5 x^2 \log (x)\right )}+\frac {2+5 x}{2+2 x \log (x)+5 x^2 \log (x)}\right ) \, dx-\int \frac {8+3 x}{x (4+x) \log \left (x^2 (4+x)\right )} \, dx-\int \frac {\log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+x (2+5 x) \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx+\int \left (\frac {2}{x \left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}+\frac {2 \log (x)}{x \left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}-\frac {5 x \log ^2(x)}{\left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}\right ) \, dx+\int \left (\frac {2 \left (2+2 x \log (x)+5 x^2 \log (x)\right )}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}+\frac {2+2 x \log (x)+5 x^2 \log (x)}{(4+x) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )}\right ) \, dx\\ &=\log (2+5 x)+2 \int \frac {1}{x \left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx+2 \int \frac {\log (x)}{x \left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx+2 \int \frac {2+2 x \log (x)+5 x^2 \log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx-4 \int \frac {1+5 x}{x (2+5 x) \left (2+2 x \log (x)+5 x^2 \log (x)\right )} \, dx-5 \int \frac {x \log ^2(x)}{\left (2+2 x \log (x)+5 x^2 \log (x)\right ) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx-\int \frac {1}{x \log (x)} \, dx+\int \frac {2+5 x}{2+2 x \log (x)+5 x^2 \log (x)} \, dx-\int \frac {8+3 x}{x (4+x) \log \left (x^2 (4+x)\right )} \, dx+\int \frac {2+2 x \log (x)+5 x^2 \log (x)}{(4+x) \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx-\int \frac {\log (x)}{x \left (\log (x)+2 \log \left (x^2 (4+x)\right )+x (2+5 x) \log (x) \log \left (x^2 (4+x)\right )\right )} \, dx\\ &=\text {Rest of rules removed due to large latex content} \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 102.93, size = 75, normalized size = 2.27 \begin {gather*} \log (2+5 x)-\log (x (2+5 x))-\log (\log (x))-\log \left (\log \left (x^2 (4+x)\right )\right )+\log \left (\log (x)+2 \log \left (x^2 (4+x)\right )+2 x \log (x) \log \left (x^2 (4+x)\right )+5 x^2 \log (x) \log \left (x^2 (4+x)\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.71, size = 98, normalized size = 2.97 \begin {gather*} \log \left (5 \, x + 2\right ) + \log \left (\frac {{\left ({\left (5 \, x^{2} + 2 \, x\right )} \log \relax (x) + 2\right )} \log \left (x^{3} + 4 \, x^{2}\right ) + \log \relax (x)}{{\left (5 \, x^{2} + 2 \, x\right )} \log \relax (x) + 2}\right ) + \log \left (\frac {{\left (5 \, x^{2} + 2 \, x\right )} \log \relax (x) + 2}{5 \, x^{2} + 2 \, x}\right ) - \log \left (\log \left (x^{3} + 4 \, x^{2}\right )\right ) - \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.61, size = 70, normalized size = 2.12 \begin {gather*} \log \left (5 \, x^{2} \log \left (x + 4\right ) \log \relax (x) + 10 \, x^{2} \log \relax (x)^{2} + 2 \, x \log \left (x + 4\right ) \log \relax (x) + 4 \, x \log \relax (x)^{2} + 2 \, \log \left (x + 4\right ) + 5 \, \log \relax (x)\right ) - \log \relax (x) - \log \left (\log \left (x + 4\right ) + 2 \, \log \relax (x)\right ) - \log \left (\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 1.14, size = 675, normalized size = 20.45
method | result | size |
risch | \(\ln \left (5 x +2\right )-\ln \left (\ln \relax (x )\right )+\ln \left (\ln \relax (x )+\frac {2}{\left (5 x +2\right ) x}\right )+\ln \left (\ln \left (4+x \right )-\frac {i \left (5 \pi \,x^{2} \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right ) \ln \relax (x )-10 \pi \,x^{2} \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2} \ln \relax (x )+5 \pi \,x^{2} \mathrm {csgn}\left (i x^{2}\right )^{3} \ln \relax (x )+5 \pi \,x^{2} \mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right ) \ln \relax (x )-5 \pi \,x^{2} \mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2} \ln \relax (x )-5 \pi \,x^{2} \mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2} \ln \relax (x )+5 \pi \,x^{2} \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{3} \ln \relax (x )+2 \pi x \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right ) \ln \relax (x )-4 \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2} \ln \relax (x )+2 \pi x \mathrm {csgn}\left (i x^{2}\right )^{3} \ln \relax (x )+2 \pi x \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right ) \ln \relax (x )-2 \pi x \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2} \ln \relax (x )-2 \pi x \,\mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2} \ln \relax (x )+2 \pi x \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{3} \ln \relax (x )+10 i \ln \relax (x )+2 \pi \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )-4 \pi \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}+2 \pi \mathrm {csgn}\left (i x^{2}\right )^{3}+2 \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )-2 \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2}-2 \pi \,\mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2}+2 \pi \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{3}+8 i x \ln \relax (x )^{2}+20 i x^{2} \ln \relax (x )^{2}\right )}{2 \left (5 x^{2} \ln \relax (x )+2 x \ln \relax (x )+2\right )}\right )-\ln \left (\ln \left (4+x \right )-\frac {i \left (\pi \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )-2 \pi \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}+\pi \mathrm {csgn}\left (i x^{2}\right )^{3}+\pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )-\pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2}-\pi \,\mathrm {csgn}\left (i \left (4+x \right )\right ) \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{2}+\pi \mathrm {csgn}\left (i x^{2} \left (4+x \right )\right )^{3}+4 i \ln \relax (x )\right )}{2}\right )\) | \(675\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.57, size = 108, normalized size = 3.27 \begin {gather*} \log \left (5 \, x + 2\right ) + \log \left (\frac {2 \, {\left (5 \, x^{2} + 2 \, x\right )} \log \relax (x)^{2} + {\left ({\left (5 \, x^{2} + 2 \, x\right )} \log \relax (x) + 2\right )} \log \left (x + 4\right ) + 5 \, \log \relax (x)}{{\left (5 \, x^{2} + 2 \, x\right )} \log \relax (x) + 2}\right ) + \log \left (\frac {{\left (5 \, x^{2} + 2 \, x\right )} \log \relax (x) + 2}{5 \, x^{2} + 2 \, x}\right ) - \log \left (\log \left (x + 4\right ) + 2 \, \log \relax (x)\right ) - \log \left (\log \relax (x)\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 (x^3+4\,x^2\right )}^2\,\left (\left (-5\,x^3-20\,x^2\right )\,{\ln \relax (x)}^2+\left (2\,x+8\right )\,\ln \relax (x)+2\,x+8\right )+{\ln \relax (x)}^2\,\left (3\,x+8\right )+\ln \left (x^3+4\,x^2\right )\,{\ln \relax (x)}^2\,\left (x+4\right )}{{\ln \left (x^3+4\,x^2\right )}^2\,\left (\left (5\,x^4+22\,x^3+8\,x^2\right )\,{\ln \relax (x)}^2+\left (2\,x^2+8\,x\right )\,\ln \relax (x)\right )+\ln \left (x^3+4\,x^2\right )\,{\ln \relax (x)}^2\,\left (x^2+4\,x\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]
________________________________________________________________________________________