Optimal. Leaf size=29 \[ 16 \left (x-25 x^2\right ) (x+\log (x)) \left (-x^2+\frac {x+\log \left (x^2\right )}{x}\right ) \]
________________________________________________________________________________________
Rubi [B] time = 0.42, antiderivative size = 86, normalized size of antiderivative = 2.97, number of steps used = 19, number of rules used = 7, integrand size = 71, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.099, Rules used = {14, 6742, 2357, 2295, 2301, 2304, 2361} \begin {gather*} 400 x^5-16 x^4+400 x^4 \log (x)-400 x^3-16 x^3 \log (x)+16 x^2+4 \log ^2\left (x^2\right )-400 x^2 \log (x)-400 x^2 \log \left (x^2\right )-400 x \log (x) \log \left (x^2\right )+16 x \log \left (x^2\right )+16 \log ^2(x)+16 x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2295
Rule 2301
Rule 2304
Rule 2357
Rule 2361
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {16 (-1+x) \left (-3 x+70 x^2+146 x^3+125 x^4-2 \log (x)+47 x \log (x)+97 x^2 \log (x)+100 x^3 \log (x)\right )}{x}-\frac {16 \left (-1+24 x+50 x^2+25 x \log (x)\right ) \log \left (x^2\right )}{x}\right ) \, dx\\ &=16 \int \frac {(-1+x) \left (-3 x+70 x^2+146 x^3+125 x^4-2 \log (x)+47 x \log (x)+97 x^2 \log (x)+100 x^3 \log (x)\right )}{x} \, dx-16 \int \frac {\left (-1+24 x+50 x^2+25 x \log (x)\right ) \log \left (x^2\right )}{x} \, dx\\ &=16 \int \left (3-73 x-76 x^2+21 x^3+125 x^4+\frac {\left (2-49 x-50 x^2-3 x^3+100 x^4\right ) \log (x)}{x}\right ) \, dx-16 \int \left (24 \log \left (x^2\right )-\frac {\log \left (x^2\right )}{x}+50 x \log \left (x^2\right )+25 \log (x) \log \left (x^2\right )\right ) \, dx\\ &=48 x-584 x^2-\frac {1216 x^3}{3}+84 x^4+400 x^5+16 \int \frac {\left (2-49 x-50 x^2-3 x^3+100 x^4\right ) \log (x)}{x} \, dx+16 \int \frac {\log \left (x^2\right )}{x} \, dx-384 \int \log \left (x^2\right ) \, dx-400 \int \log (x) \log \left (x^2\right ) \, dx-800 \int x \log \left (x^2\right ) \, dx\\ &=816 x-184 x^2-\frac {1216 x^3}{3}+84 x^4+400 x^5+16 x \log \left (x^2\right )-400 x^2 \log \left (x^2\right )-400 x \log (x) \log \left (x^2\right )+4 \log ^2\left (x^2\right )+16 \int \left (-49 \log (x)+\frac {2 \log (x)}{x}-50 x \log (x)-3 x^2 \log (x)+100 x^3 \log (x)\right ) \, dx+800 \int (-1+\log (x)) \, dx\\ &=16 x-184 x^2-\frac {1216 x^3}{3}+84 x^4+400 x^5+16 x \log \left (x^2\right )-400 x^2 \log \left (x^2\right )-400 x \log (x) \log \left (x^2\right )+4 \log ^2\left (x^2\right )+32 \int \frac {\log (x)}{x} \, dx-48 \int x^2 \log (x) \, dx-784 \int \log (x) \, dx+800 \int \log (x) \, dx-800 \int x \log (x) \, dx+1600 \int x^3 \log (x) \, dx\\ &=16 x^2-400 x^3-16 x^4+400 x^5+16 x \log (x)-400 x^2 \log (x)-16 x^3 \log (x)+400 x^4 \log (x)+16 \log ^2(x)+16 x \log \left (x^2\right )-400 x^2 \log \left (x^2\right )-400 x \log (x) \log \left (x^2\right )+4 \log ^2\left (x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.03, size = 73, normalized size = 2.52 \begin {gather*} 4 \left (4 x^2 \left (1-25 x-x^2+25 x^3\right )+4 \log ^2(x)+4 x \log (x) \left (1-25 x-x^2+25 x^3-25 \log \left (x^2\right )\right )+4 (1-25 x) x \log \left (x^2\right )+\log ^2\left (x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 55, normalized size = 1.90 \begin {gather*} 400 \, x^{5} - 16 \, x^{4} - 400 \, x^{3} - 32 \, {\left (25 \, x - 1\right )} \log \relax (x)^{2} + 16 \, x^{2} + 16 \, {\left (25 \, x^{4} - x^{3} - 75 \, x^{2} + 3 \, x\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 55, normalized size = 1.90 \begin {gather*} 400 \, x^{5} - 16 \, x^{4} - 400 \, x^{3} - 32 \, {\left (25 \, x - 1\right )} \log \relax (x)^{2} + 16 \, x^{2} + 16 \, {\left (25 \, x^{4} - x^{3} - 75 \, x^{2} + 3 \, x\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.08, size = 271, normalized size = 9.34
method | result | size |
risch | \(\left (-800 x +32\right ) \ln \relax (x )^{2}+\left (200 i \pi x \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )-400 i \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}+200 i \pi x \mathrm {csgn}\left (i x^{2}\right )^{3}+400 x^{4}-16 x^{3}-1200 x^{2}+48 x \right ) \ln \relax (x )+200 i \pi \,x^{2} \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )-400 i \pi \,x^{2} \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}+200 i \pi \,x^{2} \mathrm {csgn}\left (i x^{2}\right )^{3}-8 i \pi x \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )+16 i \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}-8 i \pi x \mathrm {csgn}\left (i x^{2}\right )^{3}+400 x^{5}-16 x^{4}-400 x^{3}+16 x^{2}-8 i \pi \ln \relax (x ) \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )+16 i \pi \ln \relax (x ) \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}-8 i \pi \ln \relax (x ) \mathrm {csgn}\left (i x^{2}\right )^{3}\) | \(271\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.37, size = 91, normalized size = 3.14 \begin {gather*} 400 \, x^{5} + 400 \, x^{4} \log \relax (x) - 16 \, x^{4} - 16 \, x^{3} \log \relax (x) - 400 \, x^{3} - 400 \, x^{2} \log \left (x^{2}\right ) - 400 \, x^{2} \log \relax (x) + 16 \, x^{2} - 384 \, x \log \left (x^{2}\right ) + 4 \, \log \left (x^{2}\right )^{2} - 400 \, {\left (x \log \left (x^{2}\right ) - 2 \, x\right )} \log \relax (x) + 16 \, x \log \relax (x) + 16 \, \log \relax (x)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.06, size = 22, normalized size = 0.76 \begin {gather*} -16\,\left (25\,x-1\right )\,\left (x+\ln \relax (x)\right )\,\left (x+\ln \left (x^2\right )-x^3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.27, size = 51, normalized size = 1.76 \begin {gather*} 400 x^{5} - 16 x^{4} - 400 x^{3} + 16 x^{2} + \left (32 - 800 x\right ) \log {\relax (x )}^{2} + \left (400 x^{4} - 16 x^{3} - 1200 x^{2} + 48 x\right ) \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________