Optimal. Leaf size=33 \[ \left (e^{-x+5 x \left (4-\left (8+x \log \left (e^{-x} x\right )\right )^2\right )}-x\right )^2 \]
________________________________________________________________________________________
Rubi [B] time = 2.73, antiderivative size = 208, normalized size of antiderivative = 6.30, number of steps used = 3, number of rules used = 2, integrand size = 177, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.011, Rules used = {6706, 2288} \begin {gather*} x^2+\left (e^{-x} x\right )^{-160 x^2} e^{-10 x^3 \log ^2\left (e^{-x} x\right )-602 x}-\frac {2 \left (e^{-x} x\right )^{-80 x^2} e^{-5 x^3 \log ^2\left (e^{-x} x\right )-301 x} \left (-80 x^3+15 x^3 \log ^2\left (e^{-x} x\right )+80 x^2+10 \left (-x^4+x^3+16 x^2\right ) \log \left (e^{-x} x\right )+301 x\right )}{15 x^2 \log ^2\left (e^{-x} x\right )+10 e^x \left (e^{-x}-e^{-x} x\right ) x^2 \log \left (e^{-x} x\right )+80 e^x \left (e^{-x}-e^{-x} x\right ) x+160 x \log \left (e^{-x} x\right )+301} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2288
Rule 6706
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=x^2+\int \exp \left (-602 x-160 x^2 \log \left (e^{-x} x\right )-10 x^3 \log ^2\left (e^{-x} x\right )\right ) \left (-602-160 x+160 x^2+\left (-320 x-20 x^2+20 x^3\right ) \log \left (e^{-x} x\right )-30 x^2 \log ^2\left (e^{-x} x\right )\right ) \, dx+\int \exp \left (-301 x-80 x^2 \log \left (e^{-x} x\right )-5 x^3 \log ^2\left (e^{-x} x\right )\right ) \left (-2+602 x+160 x^2-160 x^3+\left (320 x^2+20 x^3-20 x^4\right ) \log \left (e^{-x} x\right )+30 x^3 \log ^2\left (e^{-x} x\right )\right ) \, dx\\ &=x^2+e^{-602 x-10 x^3 \log ^2\left (e^{-x} x\right )} \left (e^{-x} x\right )^{-160 x^2}-\frac {2 e^{-301 x-5 x^3 \log ^2\left (e^{-x} x\right )} \left (e^{-x} x\right )^{-80 x^2} \left (301 x+80 x^2-80 x^3+10 \left (16 x^2+x^3-x^4\right ) \log \left (e^{-x} x\right )+15 x^3 \log ^2\left (e^{-x} x\right )\right )}{301+80 e^x x \left (e^{-x}-e^{-x} x\right )+160 x \log \left (e^{-x} x\right )+10 e^x x^2 \left (e^{-x}-e^{-x} x\right ) \log \left (e^{-x} x\right )+15 x^2 \log ^2\left (e^{-x} x\right )}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.41, size = 173, normalized size = 5.24 \begin {gather*} e^{-2 x \left (301+80 x^2+10 x^4+5 x^2 \log ^2\left (e^{-x} x\right )\right )} x^{20 x^4} \left (e^{-x} x\right )^{-20 x^2 \left (8+x^2\right )} \left (e^{10 x^3 \left (8+x \left (x-\log (x)+\log \left (e^{-x} x\right )\right )\right )}-e^{x \left (301+5 x^4+5 x^2 \log ^2(x)+80 x \left (x-\log (x)+\log \left (e^{-x} x\right )\right )+5 x^2 \left (x-\log (x)+\log \left (e^{-x} x\right )\right )^2\right )} x^{1+80 x^2+10 x^3 \left (-\log (x)+\log \left (e^{-x} x\right )\right )}\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.56, size = 69, normalized size = 2.09 \begin {gather*} x^{2} - 2 \, x e^{\left (-5 \, x^{3} \log \left (x e^{\left (-x\right )}\right )^{2} - 80 \, x^{2} \log \left (x e^{\left (-x\right )}\right ) - 301 \, x\right )} + e^{\left (-10 \, x^{3} \log \left (x e^{\left (-x\right )}\right )^{2} - 160 \, x^{2} \log \left (x e^{\left (-x\right )}\right ) - 602 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int 2 \, {\left (15 \, x^{3} \log \left (x e^{\left (-x\right )}\right )^{2} - 80 \, x^{3} + 80 \, x^{2} - 10 \, {\left (x^{4} - x^{3} - 16 \, x^{2}\right )} \log \left (x e^{\left (-x\right )}\right ) + 301 \, x - 1\right )} e^{\left (-5 \, x^{3} \log \left (x e^{\left (-x\right )}\right )^{2} - 80 \, x^{2} \log \left (x e^{\left (-x\right )}\right ) - 301 \, x\right )} - 2 \, {\left (15 \, x^{2} \log \left (x e^{\left (-x\right )}\right )^{2} - 80 \, x^{2} - 10 \, {\left (x^{3} - x^{2} - 16 \, x\right )} \log \left (x e^{\left (-x\right )}\right ) + 80 \, x + 301\right )} e^{\left (-10 \, x^{3} \log \left (x e^{\left (-x\right )}\right )^{2} - 160 \, x^{2} \log \left (x e^{\left (-x\right )}\right ) - 602 \, x\right )} + 2 \, x\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.31, size = 1157, normalized size = 35.06
method | result | size |
risch | \(\left ({\mathrm e}^{x}\right )^{-10 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) x^{3}} x^{10 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) x^{3}} \left ({\mathrm e}^{x}\right )^{10 i \pi \,\mathrm {csgn}\left (i x \right ) x^{3}} \left ({\mathrm e}^{x}\right )^{10 i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) x^{3}} x^{-10 i \pi \,\mathrm {csgn}\left (i x \right ) x^{3}} x^{-10 i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) x^{3}} \left ({\mathrm e}^{x}\right )^{20 x^{3} \ln \relax (x )} \left ({\mathrm e}^{x}\right )^{-10 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right ) x^{3}} x^{10 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right ) x^{3}} \left ({\mathrm e}^{x}\right )^{160 x^{2}} x^{-160 x^{2}} {\mathrm e}^{-\frac {x \left (-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{4} \mathrm {csgn}\left (i x \right )^{2}+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{3} \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i x \right )^{2}+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{5} \mathrm {csgn}\left (i x \right )-20 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{4} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right )+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{3} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i x \right )-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{6}+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{5} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{4} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )^{2}-160 i x \pi \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{3}-160 i x \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right )+160 i x \pi \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i x \right )+160 i x \pi \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )+20 x^{2} \ln \relax (x )^{2}+20 x^{2} \ln \left ({\mathrm e}^{x}\right )^{2}+1204\right )}{2}}-2 x \,x^{-80 x^{2}} \left ({\mathrm e}^{x}\right )^{80 x^{2}} x^{5 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right ) x^{3}} \left ({\mathrm e}^{x}\right )^{-5 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right ) x^{3}} \left ({\mathrm e}^{x}\right )^{10 x^{3} \ln \relax (x )} x^{-5 i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) x^{3}} x^{-5 i \pi \,\mathrm {csgn}\left (i x \right ) x^{3}} \left ({\mathrm e}^{x}\right )^{5 i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) x^{3}} \left ({\mathrm e}^{x}\right )^{5 i \pi \,\mathrm {csgn}\left (i x \right ) x^{3}} x^{5 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) x^{3}} \left ({\mathrm e}^{x}\right )^{-5 i \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) x^{3}} {\mathrm e}^{-\frac {x \left (-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{4} \mathrm {csgn}\left (i x \right )^{2}+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{3} \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i x \right )^{2}+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{5} \mathrm {csgn}\left (i x \right )-20 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{4} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right )+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{3} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i x \right )-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{6}+10 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{5} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )-5 x^{2} \pi ^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{4} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )^{2}-160 i x \pi \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{3}-160 i x \pi \,\mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i x \right )+160 i x \pi \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i x \right )+160 i x \pi \mathrm {csgn}\left (i x \,{\mathrm e}^{-x}\right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right )+20 x^{2} \ln \relax (x )^{2}+20 x^{2} \ln \left ({\mathrm e}^{x}\right )^{2}+1204\right )}{4}}+x^{2}\) | \(1157\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.67, size = 83, normalized size = 2.52 \begin {gather*} x^{2} - 2 \, x e^{\left (-5 \, x^{5} + 10 \, x^{4} \log \relax (x) - 5 \, x^{3} \log \relax (x)^{2} + 80 \, x^{3} - 80 \, x^{2} \log \relax (x) - 301 \, x\right )} + e^{\left (-10 \, x^{5} + 20 \, x^{4} \log \relax (x) - 10 \, x^{3} \log \relax (x)^{2} + 160 \, x^{3} - 160 \, x^{2} \log \relax (x) - 602 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.46, size = 92, normalized size = 2.79 \begin {gather*} x^2+\frac {x^{20\,x^4}\,{\mathrm {e}}^{-602\,x}\,{\mathrm {e}}^{-10\,x^5}\,{\mathrm {e}}^{160\,x^3}\,{\mathrm {e}}^{-10\,x^3\,{\ln \relax (x)}^2}}{x^{160\,x^2}}-\frac {2\,x\,x^{10\,x^4}\,{\mathrm {e}}^{-301\,x}\,{\mathrm {e}}^{-5\,x^5}\,{\mathrm {e}}^{80\,x^3}\,{\mathrm {e}}^{-5\,x^3\,{\ln \relax (x)}^2}}{x^{80\,x^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________