Optimal. Leaf size=21 \[ \log (x) \log \left (3 e^{-e^x} (x-x (1+x))\right ) \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.06, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {\left (2-e^x x\right ) \log (x)+\log \left (-3 e^{-e^x} x^2\right )}{x} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-e^x \log (x)+\frac {2 \log (x)+\log \left (-3 e^{-e^x} x^2\right )}{x}\right ) \, dx\\ &=-\int e^x \log (x) \, dx+\int \frac {2 \log (x)+\log \left (-3 e^{-e^x} x^2\right )}{x} \, dx\\ &=-e^x \log (x)+\int \frac {e^x}{x} \, dx+\int \left (\frac {2 \log (x)}{x}+\frac {\log \left (-3 e^{-e^x} x^2\right )}{x}\right ) \, dx\\ &=\text {Ei}(x)-e^x \log (x)+2 \int \frac {\log (x)}{x} \, dx+\int \frac {\log \left (-3 e^{-e^x} x^2\right )}{x} \, dx\\ &=\text {Ei}(x)-e^x \log (x)+\log ^2(x)+\int \frac {\log \left (-3 e^{-e^x} x^2\right )}{x} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 16, normalized size = 0.76 \begin {gather*} \log (x) \log \left (-3 e^{-e^x} x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(49\) vs.
\(2(19)=38\).
time = 0.85, size = 50, normalized size = 2.38
method | result | size |
default | \(-{\mathrm e}^{x} \ln \left (x \right )-\left (\ln \left ({\mathrm e}^{{\mathrm e}^{x}}\right )-{\mathrm e}^{x}\right ) \ln \left (x \right )+\left (\ln \left (-3 \,{\mathrm e}^{-{\mathrm e}^{x}} x^{2}\right )-2 \ln \left (x \right )+\ln \left ({\mathrm e}^{{\mathrm e}^{x}}\right )\right ) \ln \left (x \right )+2 \ln \left (x \right )^{2}\) | \(50\) |
risch | \(-\ln \left (x \right ) \ln \left ({\mathrm e}^{{\mathrm e}^{x}}\right )+2 \ln \left (x \right )^{2}-\frac {i \ln \left (x \right ) \pi \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )}{2}+i \ln \left (x \right ) \pi \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}-\frac {i \ln \left (x \right ) \pi \mathrm {csgn}\left (i x^{2}\right )^{3}}{2}-\frac {i \pi \ln \left (x \right ) \mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-{\mathrm e}^{x}}\right ) \mathrm {csgn}\left (i x^{2} {\mathrm e}^{-{\mathrm e}^{x}}\right )}{2}+\frac {i \pi \ln \left (x \right ) \mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x^{2} {\mathrm e}^{-{\mathrm e}^{x}}\right )^{2}}{2}+\frac {i \pi \ln \left (x \right ) \mathrm {csgn}\left (i {\mathrm e}^{-{\mathrm e}^{x}}\right ) \mathrm {csgn}\left (i x^{2} {\mathrm e}^{-{\mathrm e}^{x}}\right )^{2}}{2}+\frac {i \pi \ln \left (x \right ) \mathrm {csgn}\left (i x^{2} {\mathrm e}^{-{\mathrm e}^{x}}\right )^{3}}{2}-i \pi \ln \left (x \right ) \mathrm {csgn}\left (i x^{2} {\mathrm e}^{-{\mathrm e}^{x}}\right )^{2}+i \pi \ln \left (x \right )+\ln \left (3\right ) \ln \left (x \right )\) | \(212\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains complex when optimal does not.
time = 0.48, size = 20, normalized size = 0.95 \begin {gather*} {\left (i \, \pi - e^{x} + \log \left (3\right )\right )} \log \left (x\right ) + 2 \, \log \left (x\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.18, size = 22, normalized size = 1.05 \begin {gather*} - e^{x} \log {\left (x \right )} + 2 \log {\left (x \right )}^{2} + \left (\log {\left (3 \right )} + i \pi \right ) \log {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 33, normalized size = 1.57 \begin {gather*} \frac {3}{2} \, \pi ^{2} \mathrm {sgn}\left (x\right ) - \frac {3}{2} \, \pi ^{2} - e^{x} \log \left ({\left | x \right |}\right ) + \log \left (3\right ) \log \left ({\left | x \right |}\right ) + 2 \, \log \left ({\left | x \right |}\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.35, size = 18, normalized size = 0.86 \begin {gather*} \ln \left (x\right )\,\left (\ln \left (3\,x^2\right )-{\mathrm {e}}^x+\pi \,1{}\mathrm {i}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________