Optimal. Leaf size=15 \[ x \left (6+x+e^{2-x} \log (2)\right ) \]
________________________________________________________________________________________
Rubi [B] time = 0.02, antiderivative size = 33, normalized size of antiderivative = 2.20, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2176, 2194} \begin {gather*} x^2+6 x+e^{2-x} \log (2)-e^{2-x} (1-x) \log (2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2194
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=6 x+x^2+\log (2) \int e^{2-x} (1-x) \, dx\\ &=6 x+x^2-e^{2-x} (1-x) \log (2)-\log (2) \int e^{2-x} \, dx\\ &=6 x+x^2+e^{2-x} \log (2)-e^{2-x} (1-x) \log (2)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 18, normalized size = 1.20 \begin {gather*} 6 x+x^2+e^{2-x} x \log (2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 17, normalized size = 1.13 \begin {gather*} x e^{\left (-x + 2\right )} \log \relax (2) + x^{2} + 6 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 17, normalized size = 1.13 \begin {gather*} x e^{\left (-x + 2\right )} \log \relax (2) + x^{2} + 6 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 18, normalized size = 1.20
method | result | size |
default | \(6 x +{\mathrm e}^{2-x} \ln \relax (2) x +x^{2}\) | \(18\) |
norman | \(6 x +{\mathrm e}^{2-x} \ln \relax (2) x +x^{2}\) | \(18\) |
risch | \(6 x +{\mathrm e}^{2-x} \ln \relax (2) x +x^{2}\) | \(18\) |
derivativedivides | \(\left (2-x \right )^{2}-20+10 x -\ln \relax (2) {\mathrm e}^{2-x} \left (2-x \right )+2 \,{\mathrm e}^{2-x} \ln \relax (2)\) | \(38\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.53, size = 17, normalized size = 1.13 \begin {gather*} x e^{\left (-x + 2\right )} \log \relax (2) + x^{2} + 6 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.17, size = 14, normalized size = 0.93 \begin {gather*} x\,\left (x+{\mathrm {e}}^{2-x}\,\ln \relax (2)+6\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 15, normalized size = 1.00 \begin {gather*} x^{2} + x e^{2 - x} \log {\relax (2 )} + 6 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________