Optimal. Leaf size=29 \[ \log \left (e^2+\frac {4+7 e^{-x}+x-\frac {2+x}{x}+\log (x)}{e}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 6.73, 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 {-7 x^2+e^x \left (2+x+x^2\right )}{7 x^2+e^x \left (-2 x+3 x^2+e^3 x^2+x^3\right )+e^x x^2 \log (x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-2-x-x^2}{x \left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right )}+\frac {7 \left (-2+x-4 \left (1+\frac {e^3}{4}\right ) x^2-x^3-x^2 \log (x)\right )}{\left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )}\right ) \, dx\\ &=7 \int \frac {-2+x-4 \left (1+\frac {e^3}{4}\right ) x^2-x^3-x^2 \log (x)}{\left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx+\int \frac {-2-x-x^2}{x \left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right )} \, dx\\ &=7 \int \left (\frac {x}{\left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )}+\frac {\left (-4-e^3\right ) x^2}{\left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )}+\frac {2}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )}+\frac {x^3}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )}+\frac {x^2 \log (x)}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )}\right ) \, dx+\int \left (\frac {1}{-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)}+\frac {2}{x \left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right )}+\frac {x}{-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)}\right ) \, dx\\ &=2 \int \frac {1}{x \left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right )} \, dx+7 \int \frac {x}{\left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx+7 \int \frac {x^3}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx+7 \int \frac {x^2 \log (x)}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx+14 \int \frac {1}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx-\left (7 \left (4+e^3\right )\right ) \int \frac {x^2}{\left (2-3 \left (1+\frac {e^3}{3}\right ) x-x^2-x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx+\int \frac {1}{-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)} \, dx+\int \frac {x}{-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)} \, dx\\ &=2 \int \frac {1}{x \left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right )} \, dx+7 \int \frac {x^3}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx+7 \int \frac {x^2 \log (x)}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx+7 \int \frac {x}{\left (-2+\left (3+e^3\right ) x+x^2+x \log (x)\right ) \left (7 x+e^{3+x} x+e^x \left (-2+3 x+x^2\right )+e^x x \log (x)\right )} \, dx+14 \int \frac {1}{\left (-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)\right ) \left (2 e^x-7 x-3 e^x \left (1+\frac {e^3}{3}\right ) x-e^x x^2-e^x x \log (x)\right )} \, dx-\left (7 \left (4+e^3\right )\right ) \int \frac {x^2}{\left (-2+\left (3+e^3\right ) x+x^2+x \log (x)\right ) \left (7 x+e^{3+x} x+e^x \left (-2+3 x+x^2\right )+e^x x \log (x)\right )} \, dx+\int \frac {1}{-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)} \, dx+\int \frac {x}{-2+3 \left (1+\frac {e^3}{3}\right ) x+x^2+x \log (x)} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.98, size = 45, normalized size = 1.55 \begin {gather*} -x-\log (x)+\log \left (-2 e^x+7 x+3 e^x x+e^{3+x} x+e^x x^2+e^x x \log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 34, normalized size = 1.17 \begin {gather*} \log \left (\frac {{\left (x e^{x} \log \relax (x) + {\left (x^{2} + x e^{3} + 3 \, x - 2\right )} e^{x} + 7 \, x\right )} e^{\left (-x\right )}}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.98, size = 40, normalized size = 1.38 \begin {gather*} -x + \log \left (x^{2} e^{x} + x e^{x} \log \relax (x) + x e^{\left (x + 3\right )} + 3 \, x e^{x} + 7 \, x - 2 \, e^{x}\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 38, normalized size = 1.31
method | result | size |
risch | \(\ln \left (\ln \relax (x )+\frac {\left ({\mathrm e}^{3+x} x +{\mathrm e}^{x} x^{2}+3 \,{\mathrm e}^{x} x +7 x -2 \,{\mathrm e}^{x}\right ) {\mathrm e}^{-x}}{x}\right )\) | \(38\) |
norman | \(-\ln \relax (x )-x +\ln \left ({\mathrm e}^{2} {\mathrm e} \,{\mathrm e}^{x} x +x \,{\mathrm e}^{x} \ln \relax (x )+{\mathrm e}^{x} x^{2}+3 \,{\mathrm e}^{x} x -2 \,{\mathrm e}^{x}+7 x \right )\) | \(43\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.40, size = 65, normalized size = 2.24 \begin {gather*} -x + \log \left (\frac {{\left (x^{2} + x {\left (e^{3} + 3\right )} + x \log \relax (x) - 2\right )} e^{x} + 7 \, x}{x^{2} + x {\left (e^{3} + 3\right )} + x \log \relax (x) - 2}\right ) + \log \left (\frac {x^{2} + x {\left (e^{3} + 3\right )} + x \log \relax (x) - 2}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.46, size = 19, normalized size = 0.66 \begin {gather*} \ln \left (x+7\,{\mathrm {e}}^{-x}+{\mathrm {e}}^3+\ln \relax (x)-\frac {2}{x}+3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.46, size = 48, normalized size = 1.66 \begin {gather*} - x + \log {\left (\frac {7 x}{x^{2} + x \log {\relax (x )} + 3 x + x e^{3} - 2} + e^{x} \right )} + \log {\left (\log {\relax (x )} + \frac {x^{2} + 3 x + x e^{3} - 2}{x} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________