Optimal. Leaf size=23 \[ x+\log ^2\left (\frac {4}{5} e^{-x-x^2} x \log (4)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {14, 76, 6686} \begin {gather*} \log ^2\left (\frac {4}{5} e^{-x^2-x} x \log (4)\right )+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 76
Rule 6686
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (1+\frac {2 (1-2 x) (1+x) \log \left (\frac {4}{5} e^{-x-x^2} x \log (4)\right )}{x}\right ) \, dx\\ &=x+2 \int \frac {(1-2 x) (1+x) \log \left (\frac {4}{5} e^{-x-x^2} x \log (4)\right )}{x} \, dx\\ &=x+\log ^2\left (\frac {4}{5} e^{-x-x^2} x \log (4)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 20, normalized size = 0.87 \begin {gather*} x+\log ^2\left (\frac {4}{5} e^{-x (1+x)} x \log (4)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 20, normalized size = 0.87 \begin {gather*} \log \left (\frac {8}{5} \, x e^{\left (-x^{2} - x\right )} \log \relax (2)\right )^{2} + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.15, size = 74, normalized size = 3.22 \begin {gather*} x^{4} + 2 \, x^{3} + x^{2} {\left (2 \, \log \relax (5) - 6 \, \log \relax (2) - 2 \, \log \left (\log \relax (2)\right ) + 1\right )} + x {\left (2 \, \log \relax (5) - 6 \, \log \relax (2) - 2 \, \log \left (\log \relax (2)\right ) + 1\right )} - 2 \, {\left (x^{2} + x\right )} \log \relax (x) - 2 \, {\left (\log \relax (5) - 3 \, \log \relax (2) - \log \left (\log \relax (2)\right )\right )} \log \relax (x) + \log \relax (x)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.27, size = 135, normalized size = 5.87
method | result | size |
default | \(x -2 \ln \left (x \,{\mathrm e}^{-\left (x +1\right ) x}\right ) x^{2}+2 \ln \left (x \,{\mathrm e}^{-\left (x +1\right ) x}\right ) \ln \relax (x )-2 \ln \left (x \,{\mathrm e}^{-\left (x +1\right ) x}\right ) x +2 x^{2} \ln \relax (x )-x^{2}+2 x \ln \relax (x )-\ln \relax (x )^{2}-x^{4}-2 x^{3}+2 x^{2} \ln \relax (5)-6 x^{2} \ln \relax (2)-2 x^{2} \ln \left (\ln \relax (2)\right )-2 \ln \relax (5) \ln \relax (x )+2 x \ln \relax (5)+6 \ln \relax (2) \ln \relax (x )-6 x \ln \relax (2)+2 \ln \relax (x ) \ln \left (\ln \relax (2)\right )-2 x \ln \left (\ln \relax (2)\right )\) | \(135\) |
risch | \(x -2 x^{2} \ln \left (\ln \relax (2)\right )+2 \ln \relax (x ) \ln \left (\ln \relax (2)\right )+2 x^{2} \ln \relax (5)+\ln \relax (x )^{2}-x^{4}-2 x^{3}-x^{2}+6 \ln \relax (2) \ln \relax (x )+2 x \ln \relax (5)-6 x \ln \relax (2)-6 x^{2} \ln \relax (2)-i \ln \relax (x ) \pi \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{3}+i \pi \,x^{2} \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{3}+i \pi x \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{3}-i \ln \relax (x ) \pi \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{3}+i \pi \,x^{2} \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{3}+i \pi x \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{3}+2 x \ln \left ({\mathrm e}^{x}\right )-2 \ln \relax (5) \ln \relax (x )-2 x \ln \left (\ln \relax (2)\right )+2 x^{2} \ln \left ({\mathrm e}^{x}\right )+i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{2}-i \pi \,x^{2} \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{2}-i \pi \,x^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{2}-i \pi x \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x^{2}}\right )-i \pi x \,\mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{2}-i \pi x \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{2}-i \pi \,x^{2} \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x^{2}}\right )+\left (2 x^{2}+2 x -2 \ln \relax (x )\right ) \ln \left ({\mathrm e}^{x^{2}}\right )-i \pi \,x^{2} \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{2}-i \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{2}+i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )^{2}+i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{2}+i \ln \relax (x ) \pi \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right )^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x^{2}}\right )-i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )-i \ln \relax (x ) \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x^{2}}\right )+i \pi \,x^{2} \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )+i \pi \,x^{2} \mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x^{2}}\right )+i \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i x \,{\mathrm e}^{-\left (x +1\right ) x}\right )+i \pi x \,\mathrm {csgn}\left (i {\mathrm e}^{-x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-\left (x +1\right ) x}\right ) \mathrm {csgn}\left (i {\mathrm e}^{-x^{2}}\right )-2 \ln \relax (x ) \ln \left ({\mathrm e}^{x}\right )\) | \(779\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.43, size = 167, normalized size = 7.26 \begin {gather*} -2 \, x^{2} \log \left (\frac {8}{5} \, x e^{\left (-x^{2} - x\right )} \log \relax (2)\right ) - 2 \, x \log \left (\frac {8}{5} \, x e^{\left (-x^{2} - x\right )} \log \relax (2)\right ) + 2 \, \log \left (\frac {8}{5} \, x e^{\left (-x^{2} - x\right )} \log \relax (2)\right ) \log \relax (x) + x + \frac {2 \, {\left (x^{2} \log \relax (2) + x \log \relax (2) - \log \relax (2) \log \relax (x)\right )} \log \relax (x)}{\log \relax (2)} - \frac {3 \, x^{4} \log \relax (2) + 2 \, x^{3} \log \relax (2) - 3 \, x^{2} \log \relax (2)}{3 \, \log \relax (2)} - \frac {4 \, x^{3} \log \relax (2) + 3 \, x^{2} \log \relax (2) - 6 \, x \log \relax (2)}{3 \, \log \relax (2)} - \frac {x^{2} \log \relax (2) - \log \relax (2) \log \relax (x)^{2} + 2 \, x \log \relax (2)}{\log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.35, size = 24, normalized size = 1.04 \begin {gather*} x+{\left (x+\ln \relax (5)-\ln \relax (8)-\ln \left (\ln \relax (2)\right )-\ln \relax (x)+x^2\right )}^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.24, size = 20, normalized size = 0.87 \begin {gather*} x + \log {\left (\frac {8 x e^{- x} e^{- x^{2}} \log {\relax (2 )}}{5} \right )}^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________