Integrand size = 153, antiderivative size = 25 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=2 \left (-2+x-\frac {x}{e^{\frac {1}{x}}+x (3+x)-\log (x)}\right ) \] Output:
2*x-4-2*x/(exp(1/x)+(3+x)*x-ln(x))
Time = 0.05 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.04 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=2 \left (x+\frac {x}{-e^{\frac {1}{x}}-3 x-x^2+\log (x)}\right ) \] Input:
Integrate[(-2*x + 2*E^(2/x)*x + 20*x^3 + 12*x^4 + 2*x^5 + E^x^(-1)*(-2 - 2 *x + 12*x^2 + 4*x^3) + (2*x - 4*E^x^(-1)*x - 12*x^2 - 4*x^3)*Log[x] + 2*x* Log[x]^2)/(E^(2/x)*x + 9*x^3 + 6*x^4 + x^5 + E^x^(-1)*(6*x^2 + 2*x^3) + (- 2*E^x^(-1)*x - 6*x^2 - 2*x^3)*Log[x] + x*Log[x]^2),x]
Output:
2*(x + x/(-E^x^(-1) - 3*x - x^2 + Log[x]))
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {2 x^5+12 x^4+20 x^3+e^{\frac {1}{x}} \left (4 x^3+12 x^2-2 x-2\right )+\left (-4 x^3-12 x^2-4 e^{\frac {1}{x}} x+2 x\right ) \log (x)+2 e^{2/x} x-2 x+2 x \log ^2(x)}{x^5+6 x^4+9 x^3+e^{\frac {1}{x}} \left (2 x^3+6 x^2\right )+\left (-2 x^3-6 x^2-2 e^{\frac {1}{x}} x\right ) \log (x)+e^{2/x} x+x \log ^2(x)} \, dx\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle \int \frac {2 x^5+12 x^4+20 x^3+e^{\frac {1}{x}} \left (4 x^3+12 x^2-2 x-2\right )+\left (-4 x^3-12 x^2-4 e^{\frac {1}{x}} x+2 x\right ) \log (x)+2 e^{2/x} x-2 x+2 x \log ^2(x)}{x \left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )^2}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (-\frac {2 (x+1)}{x \left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )}+\frac {2 \left (2 x^3+4 x^2+2 x-\log (x)\right )}{x \left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )^2}+2\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle 4 \int \frac {1}{\left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )^2}dx+8 \int \frac {x}{\left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )^2}dx+4 \int \frac {x^2}{\left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )^2}dx-2 \int \frac {1}{x^2+3 x+e^{\frac {1}{x}}-\log (x)}dx-2 \int \frac {1}{x \left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )}dx-2 \int \frac {\log (x)}{x \left (x^2+3 x+e^{\frac {1}{x}}-\log (x)\right )^2}dx+2 x\) |
Input:
Int[(-2*x + 2*E^(2/x)*x + 20*x^3 + 12*x^4 + 2*x^5 + E^x^(-1)*(-2 - 2*x + 1 2*x^2 + 4*x^3) + (2*x - 4*E^x^(-1)*x - 12*x^2 - 4*x^3)*Log[x] + 2*x*Log[x] ^2)/(E^(2/x)*x + 9*x^3 + 6*x^4 + x^5 + E^x^(-1)*(6*x^2 + 2*x^3) + (-2*E^x^ (-1)*x - 6*x^2 - 2*x^3)*Log[x] + x*Log[x]^2),x]
Output:
$Aborted
Time = 22.50 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.00
method | result | size |
risch | \(2 x -\frac {2 x}{x^{2}+3 x +{\mathrm e}^{\frac {1}{x}}-\ln \left (x \right )}\) | \(25\) |
parallelrisch | \(\frac {2 x^{3}+6 x^{2}-2 x \ln \left (x \right )+2 x \,{\mathrm e}^{\frac {1}{x}}-2 x}{x^{2}+3 x +{\mathrm e}^{\frac {1}{x}}-\ln \left (x \right )}\) | \(45\) |
Input:
int((2*x*ln(x)^2+(-4*x*exp(1/x)-4*x^3-12*x^2+2*x)*ln(x)+2*x*exp(1/x)^2+(4* x^3+12*x^2-2*x-2)*exp(1/x)+2*x^5+12*x^4+20*x^3-2*x)/(x*ln(x)^2+(-2*x*exp(1 /x)-2*x^3-6*x^2)*ln(x)+x*exp(1/x)^2+(2*x^3+6*x^2)*exp(1/x)+x^5+6*x^4+9*x^3 ),x,method=_RETURNVERBOSE)
Output:
2*x-2*x/(x^2+3*x+exp(1/x)-ln(x))
Time = 0.10 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.68 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=\frac {2 \, {\left (x^{3} + 3 \, x^{2} + x e^{\frac {1}{x}} - x \log \left (x\right ) - x\right )}}{x^{2} + 3 \, x + e^{\frac {1}{x}} - \log \left (x\right )} \] Input:
integrate((2*x*log(x)^2+(-4*x*exp(1/x)-4*x^3-12*x^2+2*x)*log(x)+2*x*exp(1/ x)^2+(4*x^3+12*x^2-2*x-2)*exp(1/x)+2*x^5+12*x^4+20*x^3-2*x)/(x*log(x)^2+(- 2*x*exp(1/x)-2*x^3-6*x^2)*log(x)+x*exp(1/x)^2+(2*x^3+6*x^2)*exp(1/x)+x^5+6 *x^4+9*x^3),x, algorithm="fricas")
Output:
2*(x^3 + 3*x^2 + x*e^(1/x) - x*log(x) - x)/(x^2 + 3*x + e^(1/x) - log(x))
Time = 0.09 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.80 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=2 x - \frac {2 x}{x^{2} + 3 x + e^{\frac {1}{x}} - \log {\left (x \right )}} \] Input:
integrate((2*x*ln(x)**2+(-4*x*exp(1/x)-4*x**3-12*x**2+2*x)*ln(x)+2*x*exp(1 /x)**2+(4*x**3+12*x**2-2*x-2)*exp(1/x)+2*x**5+12*x**4+20*x**3-2*x)/(x*ln(x )**2+(-2*x*exp(1/x)-2*x**3-6*x**2)*ln(x)+x*exp(1/x)**2+(2*x**3+6*x**2)*exp (1/x)+x**5+6*x**4+9*x**3),x)
Output:
2*x - 2*x/(x**2 + 3*x + exp(1/x) - log(x))
Time = 0.08 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.68 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=\frac {2 \, {\left (x^{3} + 3 \, x^{2} + x e^{\frac {1}{x}} - x \log \left (x\right ) - x\right )}}{x^{2} + 3 \, x + e^{\frac {1}{x}} - \log \left (x\right )} \] Input:
integrate((2*x*log(x)^2+(-4*x*exp(1/x)-4*x^3-12*x^2+2*x)*log(x)+2*x*exp(1/ x)^2+(4*x^3+12*x^2-2*x-2)*exp(1/x)+2*x^5+12*x^4+20*x^3-2*x)/(x*log(x)^2+(- 2*x*exp(1/x)-2*x^3-6*x^2)*log(x)+x*exp(1/x)^2+(2*x^3+6*x^2)*exp(1/x)+x^5+6 *x^4+9*x^3),x, algorithm="maxima")
Output:
2*(x^3 + 3*x^2 + x*e^(1/x) - x*log(x) - x)/(x^2 + 3*x + e^(1/x) - log(x))
Time = 0.13 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.68 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=\frac {2 \, {\left (x^{3} + 3 \, x^{2} + x e^{\frac {1}{x}} - x \log \left (x\right ) - x\right )}}{x^{2} + 3 \, x + e^{\frac {1}{x}} - \log \left (x\right )} \] Input:
integrate((2*x*log(x)^2+(-4*x*exp(1/x)-4*x^3-12*x^2+2*x)*log(x)+2*x*exp(1/ x)^2+(4*x^3+12*x^2-2*x-2)*exp(1/x)+2*x^5+12*x^4+20*x^3-2*x)/(x*log(x)^2+(- 2*x*exp(1/x)-2*x^3-6*x^2)*log(x)+x*exp(1/x)^2+(2*x^3+6*x^2)*exp(1/x)+x^5+6 *x^4+9*x^3),x, algorithm="giac")
Output:
2*(x^3 + 3*x^2 + x*e^(1/x) - x*log(x) - x)/(x^2 + 3*x + e^(1/x) - log(x))
Time = 7.33 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.96 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=2\,x-\frac {2\,x}{3\,x+{\mathrm {e}}^{1/x}-\ln \left (x\right )+x^2} \] Input:
int((2*x*log(x)^2 - 2*x - exp(1/x)*(2*x - 12*x^2 - 4*x^3 + 2) + 2*x*exp(2/ x) + 20*x^3 + 12*x^4 + 2*x^5 - log(x)*(4*x*exp(1/x) - 2*x + 12*x^2 + 4*x^3 ))/(x*log(x)^2 - log(x)*(2*x*exp(1/x) + 6*x^2 + 2*x^3) + exp(1/x)*(6*x^2 + 2*x^3) + x*exp(2/x) + 9*x^3 + 6*x^4 + x^5),x)
Output:
2*x - (2*x)/(3*x + exp(1/x) - log(x) + x^2)
Time = 0.18 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.52 \[ \int \frac {-2 x+2 e^{2/x} x+20 x^3+12 x^4+2 x^5+e^{\frac {1}{x}} \left (-2-2 x+12 x^2+4 x^3\right )+\left (2 x-4 e^{\frac {1}{x}} x-12 x^2-4 x^3\right ) \log (x)+2 x \log ^2(x)}{e^{2/x} x+9 x^3+6 x^4+x^5+e^{\frac {1}{x}} \left (6 x^2+2 x^3\right )+\left (-2 e^{\frac {1}{x}} x-6 x^2-2 x^3\right ) \log (x)+x \log ^2(x)} \, dx=\frac {2 x \left (e^{\frac {1}{x}}-\mathrm {log}\left (x \right )+x^{2}+3 x -1\right )}{e^{\frac {1}{x}}-\mathrm {log}\left (x \right )+x^{2}+3 x} \] Input:
int((2*x*log(x)^2+(-4*x*exp(1/x)-4*x^3-12*x^2+2*x)*log(x)+2*x*exp(1/x)^2+( 4*x^3+12*x^2-2*x-2)*exp(1/x)+2*x^5+12*x^4+20*x^3-2*x)/(x*log(x)^2+(-2*x*ex p(1/x)-2*x^3-6*x^2)*log(x)+x*exp(1/x)^2+(2*x^3+6*x^2)*exp(1/x)+x^5+6*x^4+9 *x^3),x)
Output:
(2*x*(e**(1/x) - log(x) + x**2 + 3*x - 1))/(e**(1/x) - log(x) + x**2 + 3*x )