Optimal. Leaf size=25 \[ 2-\log \left (\frac {5}{4}\right )+x \left (-e^{-x} x^2-\log (4)\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 16, normalized size of antiderivative = 0.64, number of steps
used = 9, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6874, 2207,
2225} \begin {gather*} -e^{-x} x^3-x \log (4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2207
Rule 2225
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-3 e^{-x} x^2+e^{-x} x^3-\log (4)\right ) \, dx\\ &=-x \log (4)-3 \int e^{-x} x^2 \, dx+\int e^{-x} x^3 \, dx\\ &=3 e^{-x} x^2-e^{-x} x^3-x \log (4)+3 \int e^{-x} x^2 \, dx-6 \int e^{-x} x \, dx\\ &=6 e^{-x} x-e^{-x} x^3-x \log (4)-6 \int e^{-x} \, dx+6 \int e^{-x} x \, dx\\ &=6 e^{-x}-e^{-x} x^3-x \log (4)+6 \int e^{-x} \, dx\\ &=-e^{-x} x^3-x \log (4)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 16, normalized size = 0.64 \begin {gather*} -e^{-x} x^3-x \log (4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.25, size = 16, normalized size = 0.64
method | result | size |
default | \(-x^{3} {\mathrm e}^{-x}-2 x \ln \left (2\right )\) | \(16\) |
risch | \(-x^{3} {\mathrm e}^{-x}-2 x \ln \left (2\right )\) | \(16\) |
norman | \(\left (-x^{3}-2 x \ln \left (2\right ) {\mathrm e}^{x}\right ) {\mathrm e}^{-x}\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 39, normalized size = 1.56 \begin {gather*} -{\left (x^{3} + 3 \, x^{2} + 6 \, x + 6\right )} e^{\left (-x\right )} + 3 \, {\left (x^{2} + 2 \, x + 2\right )} e^{\left (-x\right )} - 2 \, x \log \left (2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 17, normalized size = 0.68 \begin {gather*} -{\left (x^{3} + 2 \, x e^{x} \log \left (2\right )\right )} e^{\left (-x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 14, normalized size = 0.56 \begin {gather*} - x^{3} e^{- x} - 2 x \log {\left (2 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.39, size = 15, normalized size = 0.60 \begin {gather*} -x^{3} e^{\left (-x\right )} - 2 \, x \log \left (2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.33, size = 15, normalized size = 0.60 \begin {gather*} -2\,x\,\ln \left (2\right )-x^3\,{\mathrm {e}}^{-x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________