Optimal. Leaf size=22 \[ -e^x+\text {Ei}(x)-e^x \log (x)+e^x x \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.714, Rules used = {2207, 2225,
2634, 2230, 2209} \begin {gather*} \text {ExpIntegralEi}(x)-e^x-e^x \log (x)+e^x x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2207
Rule 2209
Rule 2225
Rule 2230
Rule 2634
Rubi steps
\begin {align*} \int e^x x \log (x) \, dx &=-e^x \log (x)+e^x x \log (x)-\int \frac {e^x (-1+x)}{x} \, dx\\ &=-e^x \log (x)+e^x x \log (x)-\int \left (e^x-\frac {e^x}{x}\right ) \, dx\\ &=-e^x \log (x)+e^x x \log (x)-\int e^x \, dx+\int \frac {e^x}{x} \, dx\\ &=-e^x+\text {Ei}(x)-e^x \log (x)+e^x x \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 17, normalized size = 0.77 \begin {gather*} -e^x+\text {Ei}(x)+e^x (-1+x) \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 21, normalized size = 0.95
method | result | size |
risch | \(\left (-1+x \right ) {\mathrm e}^{x} \ln \left (x \right )-\expIntegral \left (1, -x \right )-{\mathrm e}^{x}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 5.68, size = 15, normalized size = 0.68 \begin {gather*} {\left (x - 1\right )} e^{x} \log \left (x\right ) + {\rm Ei}\left (x\right ) - e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.46, size = 15, normalized size = 0.68 \begin {gather*} {\left (x - 1\right )} e^{x} \log \left (x\right ) + {\rm Ei}\left (x\right ) - e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.67, size = 17, normalized size = 0.77 \begin {gather*} \left (x e^{x} - e^{x}\right ) \log {\left (x \right )} - e^{x} + \operatorname {Ei}{\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.75, size = 15, normalized size = 0.68 \begin {gather*} {\left (x - 1\right )} e^{x} \log \left (x\right ) + {\rm Ei}\left (x\right ) - e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.22, size = 28, normalized size = 1.27 \begin {gather*} \mathrm {ei}\left (x\right )-\frac {x\,{\mathrm {e}}^x+x\,{\mathrm {e}}^x\,\ln \left (x\right )-x^2\,{\mathrm {e}}^x\,\ln \left (x\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________