Optimal. Leaf size=26 \[ -e^5+\left (-\frac {1}{2 x^2}+x-6 e^{-1+x} x\right ) \log (4) \]
________________________________________________________________________________________
Rubi [A] time = 0.22, antiderivative size = 35, normalized size of antiderivative = 1.35, number of steps used = 5, number of rules used = 4, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {6688, 12, 2176, 2194} \begin {gather*} -\frac {\log (4)}{2 x^2}+x \log (4)+6 e^{x-1} \log (4)-6 e^{x-1} (x+1) \log (4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2176
Rule 2194
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (1+\frac {1}{x^3}-6 e^{-1+x} (1+x)\right ) \log (4) \, dx\\ &=\log (4) \int \left (1+\frac {1}{x^3}-6 e^{-1+x} (1+x)\right ) \, dx\\ &=-\frac {\log (4)}{2 x^2}+x \log (4)-(6 \log (4)) \int e^{-1+x} (1+x) \, dx\\ &=-\frac {\log (4)}{2 x^2}+x \log (4)-6 e^{-1+x} (1+x) \log (4)+(6 \log (4)) \int e^{-1+x} \, dx\\ &=6 e^{-1+x} \log (4)-\frac {\log (4)}{2 x^2}+x \log (4)-6 e^{-1+x} (1+x) \log (4)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 20, normalized size = 0.77 \begin {gather*} \left (-\frac {1}{2 x^2}+x-6 e^{-1+x} x\right ) \log (4) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 28, normalized size = 1.08 \begin {gather*} -\frac {12 \, x^{3} e^{\left (x - 1\right )} \log \relax (2) - {\left (2 \, x^{3} - 1\right )} \log \relax (2)}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 31, normalized size = 1.19 \begin {gather*} \frac {{\left (2 \, x^{3} e \log \relax (2) - 12 \, x^{3} e^{x} \log \relax (2) - e \log \relax (2)\right )} e^{\left (-1\right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.13, size = 23, normalized size = 0.88
method | result | size |
risch | \(2 x \ln \relax (2)-\frac {\ln \relax (2)}{x^{2}}-12 x \ln \relax (2) {\mathrm e}^{x -1}\) | \(23\) |
derivativedivides | \(-\frac {\ln \relax (2)}{x^{2}}-2 \left (1-x \right ) \ln \relax (2)-12 \ln \relax (2) {\mathrm e}^{x -1}+12 \ln \relax (2) {\mathrm e}^{x -1} \left (1-x \right )\) | \(39\) |
default | \(-\frac {\ln \relax (2)}{x^{2}}-2 \left (1-x \right ) \ln \relax (2)-12 \ln \relax (2) {\mathrm e}^{x -1}+12 \ln \relax (2) {\mathrm e}^{x -1} \left (1-x \right )\) | \(39\) |
norman | \(\frac {\left (-12 x^{3} \ln \relax (2)-\ln \relax (2) {\mathrm e}^{1-x}+2 x^{3} \ln \relax (2) {\mathrm e}^{1-x}\right ) {\mathrm e}^{x -1}}{x^{2}}\) | \(44\) |
meijerg | \(2 \,{\mathrm e}^{-{\mathrm e}^{-1} x +x -2} \left (1-{\mathrm e}\right )^{2} \ln \relax (2) \left (-\frac {{\mathrm e}^{2}}{2 x^{2} \left (1-{\mathrm e}\right )^{2}}-\frac {{\mathrm e}}{x \left (1-{\mathrm e}\right )}-\frac {5}{4}+\frac {\ln \relax (x )}{2}+\frac {i \pi }{2}+\frac {\ln \left (1-{\mathrm e}\right )}{2}+\frac {{\mathrm e}^{2} \left (9 x^{2} {\mathrm e}^{-2} \left (1-{\mathrm e}\right )^{2}+12 x \,{\mathrm e}^{-1} \left (1-{\mathrm e}\right )+6\right )}{12 x^{2} \left (1-{\mathrm e}\right )^{2}}-\frac {{\mathrm e}^{2+x \,{\mathrm e}^{-1} \left (1-{\mathrm e}\right )} \left (3+3 x \,{\mathrm e}^{-1} \left (1-{\mathrm e}\right )\right )}{6 x^{2} \left (1-{\mathrm e}\right )^{2}}-\frac {\ln \left (-x \,{\mathrm e}^{-1} \left (1-{\mathrm e}\right )\right )}{2}-\frac {\expIntegralEi \left (1, -x \,{\mathrm e}^{-1} \left (1-{\mathrm e}\right )\right )}{2}\right )-\frac {2 \ln \relax (2) {\mathrm e}^{-{\mathrm e}^{-1} x +x +1} \left (1-{\mathrm e}^{x \,{\mathrm e}^{-1} \left (1-{\mathrm e}\right )}\right )}{1-{\mathrm e}}-12 \ln \relax (2) {\mathrm e}^{-{\mathrm e}^{-1} x +x +1} \left (1-\frac {\left (2-2 \,{\mathrm e}^{-1} x \right ) {\mathrm e}^{{\mathrm e}^{-1} x}}{2}\right )+12 \ln \relax (2) {\mathrm e}^{-{\mathrm e}^{-1} x +x} \left (1-{\mathrm e}^{{\mathrm e}^{-1} x}\right )\) | \(269\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 32, normalized size = 1.23 \begin {gather*} -12 \, {\left (x - 1\right )} e^{\left (x - 1\right )} \log \relax (2) + 2 \, x \log \relax (2) - 12 \, e^{\left (x - 1\right )} \log \relax (2) - \frac {\log \relax (2)}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.11, size = 23, normalized size = 0.88 \begin {gather*} x\,{\mathrm {e}}^{-1}\,\ln \relax (2)\,\left (2\,\mathrm {e}-12\,{\mathrm {e}}^x\right )-\frac {\ln \relax (2)}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 24, normalized size = 0.92 \begin {gather*} - 12 x e^{x - 1} \log {\relax (2 )} + 2 x \log {\relax (2 )} - \frac {\log {\relax (2 )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________