Optimal. Leaf size=25 \[ x+(2+x) \left (2+\frac {1}{80} x^2 (-2+x \log (2))^2 \log (x)\right ) \]
[Out]
________________________________________________________________________________________
Rubi [B] Leaf count is larger than twice the leaf count of optimal. \(122\) vs. \(2(25)=50\).
time = 0.09, antiderivative size = 122, normalized size of antiderivative = 4.88, number of steps
used = 10, number of rules used = 3, integrand size = 84, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.036, Rules used = {12, 2403,
2341} \begin {gather*} \frac {1}{80} x^5 \log ^2(2) \log (x)+\frac {1}{160} x^4 \log ^2(2)-\frac {1}{40} x^4 (2-\log (2)) \log (2) \log (x)+\frac {1}{160} x^4 (2-\log (2)) \log (2)-\frac {1}{80} x^4 \log (2)+\frac {x^3}{60}+\frac {1}{20} x^3 (1-\log (4)) \log (x)-\frac {1}{60} x^3 (1-\log (4))-\frac {1}{30} x^3 \log (2)+\frac {1}{10} x^2 \log (x)+3 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2341
Rule 2403
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{80} \int \left (240+8 x+4 x^2+\left (-8 x^2-4 x^3\right ) \log (2)+\left (2 x^3+x^4\right ) \log ^2(2)+\left (16 x+12 x^2+\left (-24 x^2-16 x^3\right ) \log (2)+\left (8 x^3+5 x^4\right ) \log ^2(2)\right ) \log (x)\right ) \, dx\\ &=3 x+\frac {x^2}{20}+\frac {x^3}{60}+\frac {1}{80} \int \left (16 x+12 x^2+\left (-24 x^2-16 x^3\right ) \log (2)+\left (8 x^3+5 x^4\right ) \log ^2(2)\right ) \log (x) \, dx+\frac {1}{80} \log (2) \int \left (-8 x^2-4 x^3\right ) \, dx+\frac {1}{80} \log ^2(2) \int \left (2 x^3+x^4\right ) \, dx\\ &=3 x+\frac {x^2}{20}+\frac {x^3}{60}-\frac {1}{30} x^3 \log (2)-\frac {1}{80} x^4 \log (2)+\frac {1}{160} x^4 \log ^2(2)+\frac {1}{400} x^5 \log ^2(2)+\frac {1}{80} \int \left (16 x \log (x)+8 x^3 (-2+\log (2)) \log (2) \log (x)+5 x^4 \log ^2(2) \log (x)-12 x^2 (-1+\log (4)) \log (x)\right ) \, dx\\ &=3 x+\frac {x^2}{20}+\frac {x^3}{60}-\frac {1}{30} x^3 \log (2)-\frac {1}{80} x^4 \log (2)+\frac {1}{160} x^4 \log ^2(2)+\frac {1}{400} x^5 \log ^2(2)+\frac {1}{5} \int x \log (x) \, dx-\frac {1}{10} ((2-\log (2)) \log (2)) \int x^3 \log (x) \, dx+\frac {1}{16} \log ^2(2) \int x^4 \log (x) \, dx+\frac {1}{20} (3 (1-\log (4))) \int x^2 \log (x) \, dx\\ &=3 x+\frac {x^3}{60}-\frac {1}{30} x^3 \log (2)-\frac {1}{80} x^4 \log (2)+\frac {1}{160} x^4 (2-\log (2)) \log (2)+\frac {1}{160} x^4 \log ^2(2)-\frac {1}{60} x^3 (1-\log (4))+\frac {1}{10} x^2 \log (x)-\frac {1}{40} x^4 (2-\log (2)) \log (2) \log (x)+\frac {1}{80} x^5 \log ^2(2) \log (x)+\frac {1}{20} x^3 (1-\log (4)) \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(70\) vs. \(2(25)=50\).
time = 0.04, size = 70, normalized size = 2.80 \begin {gather*} 3 x+\frac {1}{10} x^2 \log (x)+\frac {1}{20} x^3 \log (x)-\frac {1}{10} x^3 \log (2) \log (x)-\frac {1}{20} x^4 \log (2) \log (x)+\frac {1}{40} x^4 \log ^2(2) \log (x)+\frac {1}{80} x^5 \log ^2(2) \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(58\) vs.
\(2(23)=46\).
time = 0.41, size = 59, normalized size = 2.36
method | result | size |
risch | \(\frac {\left (x^{5} \ln \left (2\right )^{2}+2 x^{4} \ln \left (2\right )^{2}-4 x^{4} \ln \left (2\right )-8 x^{3} \ln \left (2\right )+4 x^{3}+8 x^{2}\right ) \ln \left (x \right )}{80}+3 x\) | \(51\) |
norman | \(\left (\frac {\ln \left (2\right )^{2}}{40}-\frac {\ln \left (2\right )}{20}\right ) x^{4} \ln \left (x \right )+\left (-\frac {\ln \left (2\right )}{10}+\frac {1}{20}\right ) x^{3} \ln \left (x \right )+3 x +\frac {x^{2} \ln \left (x \right )}{10}+\frac {\ln \left (2\right )^{2} \ln \left (x \right ) x^{5}}{80}\) | \(52\) |
default | \(3 x +\frac {\ln \left (2\right )^{2} \ln \left (x \right ) x^{5}}{80}+\frac {x^{4} \ln \left (2\right )^{2} \ln \left (x \right )}{40}-\frac {x^{4} \ln \left (x \right ) \ln \left (2\right )}{20}-\frac {x^{3} \ln \left (x \right ) \ln \left (2\right )}{10}+\frac {x^{3} \ln \left (x \right )}{20}+\frac {x^{2} \ln \left (x \right )}{10}\) | \(59\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 117 vs.
\(2 (23) = 46\).
time = 0.28, size = 117, normalized size = 4.68 \begin {gather*} -\frac {1}{400} \, x^{5} \log \left (2\right )^{2} - \frac {1}{160} \, {\left (\log \left (2\right )^{2} - 2 \, \log \left (2\right )\right )} x^{4} + \frac {1}{60} \, x^{3} {\left (2 \, \log \left (2\right ) - 1\right )} + \frac {1}{60} \, x^{3} + \frac {1}{800} \, {\left (2 \, x^{5} + 5 \, x^{4}\right )} \log \left (2\right )^{2} - \frac {1}{240} \, {\left (3 \, x^{4} + 8 \, x^{3}\right )} \log \left (2\right ) + \frac {1}{80} \, {\left (4 \, x^{3} + {\left (x^{5} + 2 \, x^{4}\right )} \log \left (2\right )^{2} + 8 \, x^{2} - 4 \, {\left (x^{4} + 2 \, x^{3}\right )} \log \left (2\right )\right )} \log \left (x\right ) + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 46, normalized size = 1.84 \begin {gather*} \frac {1}{80} \, {\left (4 \, x^{3} + {\left (x^{5} + 2 \, x^{4}\right )} \log \left (2\right )^{2} + 8 \, x^{2} - 4 \, {\left (x^{4} + 2 \, x^{3}\right )} \log \left (2\right )\right )} \log \left (x\right ) + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 53 vs.
\(2 (22) = 44\).
time = 0.09, size = 53, normalized size = 2.12 \begin {gather*} 3 x + \left (\frac {x^{5} \log {\left (2 \right )}^{2}}{80} - \frac {x^{4} \log {\left (2 \right )}}{20} + \frac {x^{4} \log {\left (2 \right )}^{2}}{40} - \frac {x^{3} \log {\left (2 \right )}}{10} + \frac {x^{3}}{20} + \frac {x^{2}}{10}\right ) \log {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 122 vs.
\(2 (23) = 46\).
time = 0.40, size = 122, normalized size = 4.88 \begin {gather*} \frac {1}{80} \, x^{5} \log \left (2\right )^{2} \log \left (x\right ) - \frac {1}{400} \, x^{5} \log \left (2\right )^{2} + \frac {1}{40} \, x^{4} \log \left (2\right )^{2} \log \left (x\right ) - \frac {1}{160} \, x^{4} \log \left (2\right )^{2} - \frac {1}{20} \, x^{4} \log \left (2\right ) \log \left (x\right ) + \frac {1}{80} \, x^{4} \log \left (2\right ) - \frac {1}{10} \, x^{3} \log \left (2\right ) \log \left (x\right ) + \frac {1}{30} \, x^{3} \log \left (2\right ) + \frac {1}{20} \, x^{3} \log \left (x\right ) + \frac {1}{800} \, {\left (2 \, x^{5} + 5 \, x^{4}\right )} \log \left (2\right )^{2} + \frac {1}{10} \, x^{2} \log \left (x\right ) - \frac {1}{240} \, {\left (3 \, x^{4} + 8 \, x^{3}\right )} \log \left (2\right ) + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.09, size = 49, normalized size = 1.96 \begin {gather*} 3\,x+\frac {x^2\,\ln \left (x\right )}{10}-\frac {x^4\,\ln \left (x\right )\,\left (\ln \left (16\right )-2\,{\ln \left (2\right )}^2\right )}{80}-\frac {x^3\,\ln \left (x\right )\,\left (\ln \left (256\right )-4\right )}{80}+\frac {x^5\,{\ln \left (2\right )}^2\,\ln \left (x\right )}{80} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________