Optimal. Leaf size=23 \[ \log (x) \left (e^{2 x}+4 x^2-3 x^2 \log \left (x^2\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 40, normalized size of antiderivative = 1.74, number of steps used = 8, number of rules used = 5, integrand size = 50, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {14, 2288, 2304, 2303, 2366} \begin {gather*} -2 x^2+3 x^2 \log (x)+x^2 (\log (x)+2)-3 x^2 \log (x) \log \left (x^2\right )+e^{2 x} \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2288
Rule 2303
Rule 2304
Rule 2366
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {e^{2 x} (1+2 x \log (x))}{x}-x \left (-4-2 \log (x)+3 \log \left (x^2\right )+6 \log (x) \log \left (x^2\right )\right )\right ) \, dx\\ &=\int \frac {e^{2 x} (1+2 x \log (x))}{x} \, dx-\int x \left (-4-2 \log (x)+3 \log \left (x^2\right )+6 \log (x) \log \left (x^2\right )\right ) \, dx\\ &=e^{2 x} \log (x)-\int \left (-2 x (2+\log (x))+3 x (1+2 \log (x)) \log \left (x^2\right )\right ) \, dx\\ &=e^{2 x} \log (x)+2 \int x (2+\log (x)) \, dx-3 \int x (1+2 \log (x)) \log \left (x^2\right ) \, dx\\ &=-\frac {x^2}{2}+e^{2 x} \log (x)+x^2 (2+\log (x))-3 x^2 \log (x) \log \left (x^2\right )+6 \int x \log (x) \, dx\\ &=-2 x^2+e^{2 x} \log (x)+3 x^2 \log (x)+x^2 (2+\log (x))-3 x^2 \log (x) \log \left (x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 23, normalized size = 1.00 \begin {gather*} \log (x) \left (e^{2 x}+4 x^2-3 x^2 \log \left (x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.49, size = 23, normalized size = 1.00 \begin {gather*} -6 \, x^{2} \log \relax (x)^{2} + {\left (4 \, x^{2} + e^{\left (2 \, x\right )}\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 24, normalized size = 1.04 \begin {gather*} -6 \, x^{2} \log \relax (x)^{2} + 4 \, x^{2} \log \relax (x) + e^{\left (2 \, x\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 27, normalized size = 1.17
method | result | size |
default | \(4 x^{2} \ln \relax (x )-3 \ln \relax (x ) \ln \left (x^{2}\right ) x^{2}+\ln \relax (x ) {\mathrm e}^{2 x}\) | \(27\) |
risch | \(-6 x^{2} \ln \relax (x )^{2}+\left (\frac {3 i \pi \,x^{2} \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )}{2}-3 i \pi \,x^{2} \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}+\frac {3 i \pi \,x^{2} \mathrm {csgn}\left (i x^{2}\right )^{3}}{2}+4 x^{2}+{\mathrm e}^{2 x}\right ) \ln \relax (x )\) | \(82\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 42, normalized size = 1.83 \begin {gather*} -\frac {3}{2} \, x^{2} \log \left (x^{2}\right ) + 4 \, x^{2} \log \relax (x) - 3 \, {\left (x^{2} \log \left (x^{2}\right ) - x^{2}\right )} \log \relax (x) + e^{\left (2 \, x\right )} \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.24, size = 22, normalized size = 0.96 \begin {gather*} \ln \relax (x)\,\left ({\mathrm {e}}^{2\,x}-3\,x^2\,\ln \left (x^2\right )+4\,x^2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.37, size = 26, normalized size = 1.13 \begin {gather*} - 6 x^{2} \log {\relax (x )}^{2} + 4 x^{2} \log {\relax (x )} + e^{2 x} \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________