Optimal. Leaf size=22 \[ x \left (\log (x)-\left (2+\frac {2}{e^2}\right ) (x+x \log (3)+\log (x))\right ) \]
________________________________________________________________________________________
Rubi [B] time = 0.03, antiderivative size = 64, normalized size of antiderivative = 2.91, number of steps used = 3, number of rules used = 2, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.049, Rules used = {12, 2295} \begin {gather*} -\frac {2 x^2}{e^2}-\frac {2 \left (1+e^2\right ) x^2 \log (3)}{e^2}+\frac {\left (2+e^2\right ) x}{e^2}-\frac {2 x}{e^2}-\frac {1}{8} (4 x+1)^2-\frac {\left (2+e^2\right ) x \log (x)}{e^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2295
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \left (-2+e^2 (-1-4 x)-4 x+\left (-4 x-4 e^2 x\right ) \log (3)+\left (-2-e^2\right ) \log (x)\right ) \, dx}{e^2}\\ &=-\frac {2 x}{e^2}-\frac {2 x^2}{e^2}-\frac {1}{8} (1+4 x)^2-\frac {2 \left (1+e^2\right ) x^2 \log (3)}{e^2}+\frac {\left (-2-e^2\right ) \int \log (x) \, dx}{e^2}\\ &=-\frac {2 x}{e^2}+\frac {\left (2+e^2\right ) x}{e^2}-\frac {2 x^2}{e^2}-\frac {1}{8} (1+4 x)^2-\frac {2 \left (1+e^2\right ) x^2 \log (3)}{e^2}-\frac {\left (2+e^2\right ) x \log (x)}{e^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 29, normalized size = 1.32 \begin {gather*} -\frac {x \left (\left (1+e^2\right ) x (4+\log (81))+2 \left (2+e^2\right ) \log (x)\right )}{2 e^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.49, size = 42, normalized size = 1.91 \begin {gather*} -{\left (2 \, x^{2} e^{2} + 2 \, x^{2} + 2 \, {\left (x^{2} e^{2} + x^{2}\right )} \log \relax (3) + {\left (x e^{2} + 2 \, x\right )} \log \relax (x)\right )} e^{\left (-2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.14, size = 50, normalized size = 2.27 \begin {gather*} -{\left (2 \, x^{2} + {\left (x \log \relax (x) - x\right )} {\left (e^{2} + 2\right )} + {\left (2 \, x^{2} + x\right )} e^{2} + 2 \, {\left (x^{2} e^{2} + x^{2}\right )} \log \relax (3) + 2 \, x\right )} e^{\left (-2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 35, normalized size = 1.59
method | result | size |
norman | \(-2 \left ({\mathrm e}^{2} \ln \relax (3)+{\mathrm e}^{2}+\ln \relax (3)+1\right ) {\mathrm e}^{-2} x^{2}-{\mathrm e}^{-2} \left ({\mathrm e}^{2}+2\right ) x \ln \relax (x )\) | \(35\) |
risch | \(-2 \,{\mathrm e}^{2} \ln \relax (3) {\mathrm e}^{-2} x^{2}-2 \,{\mathrm e}^{2} {\mathrm e}^{-2} x^{2}-2 \ln \relax (3) {\mathrm e}^{-2} x^{2}-2 x^{2} {\mathrm e}^{-2}-{\mathrm e}^{-2} \left ({\mathrm e}^{2}+2\right ) x \ln \relax (x )\) | \(49\) |
default | \({\mathrm e}^{-2} \left ({\mathrm e}^{2} \left (-2 x^{2}-x \right )-2 x^{2} {\mathrm e}^{2} \ln \relax (3)-2 x^{2} \ln \relax (3)-x \,{\mathrm e}^{2} \ln \relax (x )+{\mathrm e}^{2} x -2 x \ln \relax (x )-2 x^{2}\right )\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.39, size = 50, normalized size = 2.27 \begin {gather*} -{\left (2 \, x^{2} + {\left (x \log \relax (x) - x\right )} {\left (e^{2} + 2\right )} + {\left (2 \, x^{2} + x\right )} e^{2} + 2 \, {\left (x^{2} e^{2} + x^{2}\right )} \log \relax (3) + 2 \, x\right )} e^{\left (-2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.87, size = 33, normalized size = 1.50 \begin {gather*} -x^2\,\left (2\,{\mathrm {e}}^{-2}+2\,\ln \relax (3)+2\,{\mathrm {e}}^{-2}\,\ln \relax (3)+2\right )-x\,\ln \relax (x)\,\left (2\,{\mathrm {e}}^{-2}+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.15, size = 44, normalized size = 2.00 \begin {gather*} \frac {x^{2} \left (- 2 e^{2} \log {\relax (3 )} - 2 e^{2} - 2 \log {\relax (3 )} - 2\right )}{e^{2}} + \frac {\left (- x e^{2} - 2 x\right ) \log {\relax (x )}}{e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________