Optimal. Leaf size=20 \[ e \left (5-x+(9+x) \left (2+\frac {1}{x}+\log \left (x^2\right )\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 22, normalized size of antiderivative = 1.10, number of steps used = 5, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {14, 2295} \begin {gather*} e x \log \left (x^2\right )+e x+\frac {9 e}{x}+18 e \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2295
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {3 e \left (-3+6 x+x^2\right )}{x^2}+e \log \left (x^2\right )\right ) \, dx\\ &=e \int \log \left (x^2\right ) \, dx+(3 e) \int \frac {-3+6 x+x^2}{x^2} \, dx\\ &=-2 e x+e x \log \left (x^2\right )+(3 e) \int \left (1-\frac {3}{x^2}+\frac {6}{x}\right ) \, dx\\ &=\frac {9 e}{x}+e x+18 e \log (x)+e x \log \left (x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 22, normalized size = 1.10 \begin {gather*} \frac {9 e}{x}+e x+18 e \log (x)+e x \log \left (x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.13, size = 27, normalized size = 1.35 \begin {gather*} \frac {{\left (x^{2} + 9 \, x\right )} e \log \left (x^{2}\right ) + {\left (x^{2} + 9\right )} e}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 32, normalized size = 1.60 \begin {gather*} \frac {x^{2} e \log \left (x^{2}\right ) + x^{2} e + 18 \, x e \log \relax (x) + 9 \, e}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 26, normalized size = 1.30
method | result | size |
risch | \(x \,{\mathrm e} \ln \left (x^{2}\right )+\frac {{\mathrm e} \left (18 x \ln \relax (x )+x^{2}+9\right )}{x}\) | \(26\) |
default | \(x \,{\mathrm e} \ln \left (x^{2}\right )+x \,{\mathrm e}+18 \,{\mathrm e} \ln \relax (x )+\frac {9 \,{\mathrm e}}{x}\) | \(27\) |
norman | \(\frac {x^{2} {\mathrm e}+x^{2} {\mathrm e} \ln \left (x^{2}\right )+9 x \,{\mathrm e} \ln \left (x^{2}\right )+9 \,{\mathrm e}}{x}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 32, normalized size = 1.60 \begin {gather*} {\left (x \log \left (x^{2}\right ) - 2 \, x\right )} e + 3 \, x e + 18 \, e \log \relax (x) + \frac {9 \, e}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.17, size = 26, normalized size = 1.30 \begin {gather*} 9\,\ln \left (x^2\right )\,\mathrm {e}+\frac {9\,\mathrm {e}}{x}+x\,\mathrm {e}\,\left (\ln \left (x^2\right )+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.19, size = 29, normalized size = 1.45 \begin {gather*} e x \log {\left (x^{2} \right )} + e x + 18 e \log {\relax (x )} + \frac {9 e}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________