Optimal. Leaf size=20 \[ 4-7 \left (x-e^{-x} x\right )-\log ^2(5) \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 12, normalized size of antiderivative = 0.60, number of steps used = 7, number of rules used = 5, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.312, Rules used = {6741, 12, 6742, 2194, 2176} \begin {gather*} 7 e^{-x} x-7 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2176
Rule 2194
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int 7 e^{-x} \left (1-e^x-x\right ) \, dx\\ &=7 \int e^{-x} \left (1-e^x-x\right ) \, dx\\ &=7 \int \left (-1+e^{-x}-e^{-x} x\right ) \, dx\\ &=-7 x+7 \int e^{-x} \, dx-7 \int e^{-x} x \, dx\\ &=-7 e^{-x}-7 x+7 e^{-x} x-7 \int e^{-x} \, dx\\ &=-7 x+7 e^{-x} x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 12, normalized size = 0.60 \begin {gather*} -7 \left (x-e^{-x} x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 14, normalized size = 0.70 \begin {gather*} -7 \, {\left (x e^{x} - x\right )} e^{\left (-x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 11, normalized size = 0.55 \begin {gather*} 7 \, x e^{\left (-x\right )} - 7 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 12, normalized size = 0.60
method | result | size |
default | \(7 x \,{\mathrm e}^{-x}-7 x\) | \(12\) |
risch | \(7 x \,{\mathrm e}^{-x}-7 x\) | \(12\) |
norman | \(\left (7 x -7 \,{\mathrm e}^{x} x \right ) {\mathrm e}^{-x}\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.61, size = 19, normalized size = 0.95 \begin {gather*} 7 \, {\left (x + 1\right )} e^{\left (-x\right )} - 7 \, x - 7 \, e^{\left (-x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 9, normalized size = 0.45 \begin {gather*} 7\,x\,\left ({\mathrm {e}}^{-x}-1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 8, normalized size = 0.40 \begin {gather*} - 7 x + 7 x e^{- x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________