Optimal. Leaf size=21 \[ -3+\frac {(3-x) x (-x+\log (3))}{2 e^5} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 37, normalized size of antiderivative = 1.76, number of steps used = 2, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {12} \begin {gather*} \frac {x^3}{2 e^5}-\frac {3 x^2}{2 e^5}-\frac {(3-2 x)^2 \log (3)}{8 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \left (-6 x+3 x^2+(3-2 x) \log (3)\right ) \, dx}{2 e^5}\\ &=-\frac {3 x^2}{2 e^5}+\frac {x^3}{2 e^5}-\frac {(3-2 x)^2 \log (3)}{8 e^5}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 26, normalized size = 1.24 \begin {gather*} \frac {x^3-\frac {1}{2} x^2 (6+\log (9))+x \log (27)}{2 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.91, size = 24, normalized size = 1.14 \begin {gather*} \frac {1}{2} \, {\left (x^{3} - 3 \, x^{2} - {\left (x^{2} - 3 \, x\right )} \log \relax (3)\right )} e^{\left (-5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 24, normalized size = 1.14 \begin {gather*} \frac {1}{2} \, {\left (x^{3} - 3 \, x^{2} - {\left (x^{2} - 3 \, x\right )} \log \relax (3)\right )} e^{\left (-5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 25, normalized size = 1.19
method | result | size |
gosper | \(-\frac {x \left (x \ln \relax (3)-x^{2}-3 \ln \relax (3)+3 x \right ) {\mathrm e}^{-5}}{2}\) | \(25\) |
default | \(\frac {{\mathrm e}^{-5} \left (\ln \relax (3) \left (-x^{2}+3 x \right )+x^{3}-3 x^{2}\right )}{2}\) | \(28\) |
risch | \(-\frac {{\mathrm e}^{-5} x^{2} \ln \relax (3)}{2}+\frac {x^{3} {\mathrm e}^{-5}}{2}+\frac {3 \,{\mathrm e}^{-5} \ln \relax (3) x}{2}-\frac {3 x^{2} {\mathrm e}^{-5}}{2}\) | \(32\) |
norman | \(\frac {x^{3} {\mathrm e}^{-5}}{2}-\frac {\left (3+\ln \relax (3)\right ) {\mathrm e}^{-5} x^{2}}{2}+\frac {3 \,{\mathrm e}^{-5} \ln \relax (3) x}{2}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 24, normalized size = 1.14 \begin {gather*} \frac {1}{2} \, {\left (x^{3} - 3 \, x^{2} - {\left (x^{2} - 3 \, x\right )} \log \relax (3)\right )} e^{\left (-5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 26, normalized size = 1.24 \begin {gather*} \frac {{\mathrm {e}}^{-5}\,x^3}{2}-\frac {{\mathrm {e}}^{-5}\,\left (\ln \relax (9)+6\right )\,x^2}{4}+\frac {3\,{\mathrm {e}}^{-5}\,\ln \relax (3)\,x}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.08, size = 34, normalized size = 1.62 \begin {gather*} \frac {x^{3}}{2 e^{5}} + \frac {x^{2} \left (-3 - \log {\relax (3 )}\right )}{2 e^{5}} + \frac {3 x \log {\relax (3 )}}{2 e^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________