Optimal. Leaf size=28 \[ \frac {e^{4 \log ^2(x)} x}{2+e^{e^{1+2 x}+x}-x} \]
________________________________________________________________________________________
Rubi [F] time = 26.42, 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 {e^{4 \log ^2(x)} \left (2+(16-8 x) \log (x)+e^{e^{1+2 x}+x} \left (1-x-2 e^{1+2 x} x+8 \log (x)\right )\right )}{4+e^{2 e^{1+2 x}+2 x}+e^{e^{1+2 x}+x} (4-2 x)-4 x+x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {e^{4 \log ^2(x)} \left (2+(16-8 x) \log (x)+e^{e^{1+2 x}+x} \left (1-x-2 e^{1+2 x} x+8 \log (x)\right )\right )}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx\\ &=\int \left (-2 e^{1-e^{1+2 x}+x+4 \log ^2(x)} x-4 e^{1-2 e^{1+2 x}+4 \log ^2(x)} (-2+x) x-\frac {e^{-2 e^{1+2 x}+4 \log ^2(x)} x \left (-16 e-3 e^{2 e^{1+2 x}}+24 e x+e^{2 e^{1+2 x}} x-12 e x^2+2 e x^3\right )}{\left (2+e^{e^{1+2 x}+x}-x\right )^2}-\frac {e^{-2 e^{1+2 x}+4 \log ^2(x)} \left (-e^{2 e^{1+2 x}}+24 e x+e^{2 e^{1+2 x}} x-24 e x^2+6 e x^3-8 e^{2 e^{1+2 x}} \log (x)\right )}{2+e^{e^{1+2 x}+x}-x}\right ) \, dx\\ &=-\left (2 \int e^{1-e^{1+2 x}+x+4 \log ^2(x)} x \, dx\right )-4 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} (-2+x) x \, dx-\int \frac {e^{-2 e^{1+2 x}+4 \log ^2(x)} x \left (-16 e-3 e^{2 e^{1+2 x}}+24 e x+e^{2 e^{1+2 x}} x-12 e x^2+2 e x^3\right )}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-\int \frac {e^{-2 e^{1+2 x}+4 \log ^2(x)} \left (-e^{2 e^{1+2 x}}+24 e x+e^{2 e^{1+2 x}} x-24 e x^2+6 e x^3-8 e^{2 e^{1+2 x}} \log (x)\right )}{2+e^{e^{1+2 x}+x}-x} \, dx\\ &=-\left (2 \int e^{1-e^{1+2 x}+x+4 \log ^2(x)} x \, dx\right )-4 \int \left (-2 e^{1-2 e^{1+2 x}+4 \log ^2(x)} x+e^{1-2 e^{1+2 x}+4 \log ^2(x)} x^2\right ) \, dx-\int \frac {e^{-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} \left (e^{2 e^{1+2 x}} (-3+x)+2 e (-2+x)^3\right ) x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-\int \frac {e^{-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} \left (-e^{2 e^{1+2 x}}+24 e x+e^{2 e^{1+2 x}} x-24 e x^2+6 e x^3-8 e^{2 e^{1+2 x}} \log (x)\right )}{2+e^{e^{1+2 x}+x}-x} \, dx\\ &=-\left (2 \int e^{1-e^{1+2 x}+x+4 \log ^2(x)} x \, dx\right )-4 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x^2 \, dx+8 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x \, dx-\int \left (-\frac {16 e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2}-\frac {3 \exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2}+\frac {24 e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2}+\frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2}-\frac {12 e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^3}{\left (2+e^{e^{1+2 x}+x}-x\right )^2}+\frac {2 e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^4}{\left (2+e^{e^{1+2 x}+x}-x\right )^2}\right ) \, dx-\int \frac {e^{-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} \left (e^{2 e^{1+2 x}} (-1+x)+6 e (-2+x)^2 x-8 e^{2 e^{1+2 x}} \log (x)\right )}{2+e^{e^{1+2 x}+x}-x} \, dx\\ &=-\left (2 \int e^{1-e^{1+2 x}+x+4 \log ^2(x)} x \, dx\right )-2 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^4}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+3 \int \frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-4 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x^2 \, dx+8 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x \, dx+12 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^3}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+16 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-24 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-\int \frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-\int \left (-\frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right )}{2+e^{e^{1+2 x}+x}-x}+\frac {24 e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x}{2+e^{e^{1+2 x}+x}-x}+\frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) x}{2+e^{e^{1+2 x}+x}-x}-\frac {24 e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^2}{2+e^{e^{1+2 x}+x}-x}+\frac {6 e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^3}{2+e^{e^{1+2 x}+x}-x}-\frac {8 \exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) \log (x)}{2+e^{e^{1+2 x}+x}-x}\right ) \, dx\\ &=-\left (2 \int e^{1-e^{1+2 x}+x+4 \log ^2(x)} x \, dx\right )-2 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^4}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+3 \int \frac {e^{4 \log ^2(x)} x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-4 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x^2 \, dx-6 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^3}{2+e^{e^{1+2 x}+x}-x} \, dx+8 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x \, dx+8 \int \frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) \log (x)}{2+e^{e^{1+2 x}+x}-x} \, dx+12 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^3}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+16 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-24 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x}{2+e^{e^{1+2 x}+x}-x} \, dx-24 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+24 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^2}{2+e^{e^{1+2 x}+x}-x} \, dx+\int \frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right )}{2+e^{e^{1+2 x}+x}-x} \, dx-\int \frac {\exp \left (2 e^{1+2 x}-2 \left (e^{1+2 x}-2 \log ^2(x)\right )\right ) x}{2+e^{e^{1+2 x}+x}-x} \, dx-\int \frac {e^{4 \log ^2(x)} x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx\\ &=-\left (2 \int e^{1-e^{1+2 x}+x+4 \log ^2(x)} x \, dx\right )-2 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^4}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+3 \int \frac {e^{4 \log ^2(x)} x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-4 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x^2 \, dx-6 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^3}{2+e^{e^{1+2 x}+x}-x} \, dx+8 \int e^{1-2 e^{1+2 x}+4 \log ^2(x)} x \, dx+8 \int \frac {e^{4 \log ^2(x)} \log (x)}{2+e^{e^{1+2 x}+x}-x} \, dx+12 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^3}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+16 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx-24 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x}{2+e^{e^{1+2 x}+x}-x} \, dx-24 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx+24 \int \frac {e^{1-2 \left (e^{1+2 x}-2 \log ^2(x)\right )} x^2}{2+e^{e^{1+2 x}+x}-x} \, dx+\int \frac {e^{4 \log ^2(x)}}{2+e^{e^{1+2 x}+x}-x} \, dx-\int \frac {e^{4 \log ^2(x)} x}{2+e^{e^{1+2 x}+x}-x} \, dx-\int \frac {e^{4 \log ^2(x)} x^2}{\left (2+e^{e^{1+2 x}+x}-x\right )^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.14, size = 28, normalized size = 1.00 \begin {gather*} \frac {e^{4 \log ^2(x)} x}{2+e^{e^{1+2 x}+x}-x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.59, size = 26, normalized size = 0.93 \begin {gather*} -\frac {x e^{\left (4 \, \log \relax (x)^{2}\right )}}{x - e^{\left (x + e^{\left (2 \, x + 1\right )}\right )} - 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.86, size = 146, normalized size = 5.21 \begin {gather*} -\frac {x^{2} e^{\left (4 \, \log \relax (x)^{2}\right )} + 2 \, x^{2} e^{\left (4 \, \log \relax (x)^{2} + 2 \, x + 1\right )} - 3 \, x e^{\left (4 \, \log \relax (x)^{2}\right )} - 4 \, x e^{\left (4 \, \log \relax (x)^{2} + 2 \, x + 1\right )}}{2 \, x^{2} e^{\left (2 \, x + 1\right )} + x^{2} - 2 \, x e^{\left (3 \, x + e^{\left (2 \, x + 1\right )} + 1\right )} - 8 \, x e^{\left (2 \, x + 1\right )} - x e^{\left (x + e^{\left (2 \, x + 1\right )}\right )} - 5 \, x + 4 \, e^{\left (3 \, x + e^{\left (2 \, x + 1\right )} + 1\right )} + 8 \, e^{\left (2 \, x + 1\right )} + 3 \, e^{\left (x + e^{\left (2 \, x + 1\right )}\right )} + 6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 27, normalized size = 0.96
method | result | size |
risch | \(-\frac {x \,{\mathrm e}^{4 \ln \relax (x )^{2}}}{x -{\mathrm e}^{{\mathrm e}^{2 x +1}+x}-2}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 26, normalized size = 0.93 \begin {gather*} -\frac {x e^{\left (4 \, \log \relax (x)^{2}\right )}}{x - e^{\left (x + e^{\left (2 \, x + 1\right )}\right )} - 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.17, size = 91, normalized size = 3.25 \begin {gather*} -\frac {x\,\left (3\,{\mathrm {e}}^{4\,{\ln \relax (x)}^2}+4\,{\mathrm {e}}^{4\,{\ln \relax (x)}^2+2\,x+1}-2\,x\,{\mathrm {e}}^{4\,{\ln \relax (x)}^2+2\,x+1}-x\,{\mathrm {e}}^{4\,{\ln \relax (x)}^2}\right )}{\left ({\mathrm {e}}^{x+{\mathrm {e}}^{2\,x}\,\mathrm {e}}-x+2\right )\,\left (x-4\,{\mathrm {e}}^{2\,x+1}+2\,x\,{\mathrm {e}}^{2\,x+1}-3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.48, size = 22, normalized size = 0.79 \begin {gather*} \frac {x e^{4 \log {\relax (x )}^{2}}}{- x + e^{x + e^{2 x + 1}} + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________