Integrand size = 199, antiderivative size = 28 \[ \int \frac {1242+3728 x+3730 x^2+1244 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x^3-2 x^4-x^5\right )+\left (-2 x-4 x^2-2 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (4 x^2-4 x^3-2 x^4\right )\right ) \log (x)+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x-2 x^2-x^3\right ) \log ^2(x)}{2 x^3+4 x^4+2 x^5+\left (4 x^2+8 x^3+4 x^4\right ) \log (x)+\left (2 x+4 x^2+2 x^3\right ) \log ^2(x)} \, dx=e^{x-\frac {3 x}{2+\frac {2}{x}}}-\frac {621+x}{x+\log (x)} \]
Time = 0.21 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.18 \[ \int \frac {1242+3728 x+3730 x^2+1244 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x^3-2 x^4-x^5\right )+\left (-2 x-4 x^2-2 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (4 x^2-4 x^3-2 x^4\right )\right ) \log (x)+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x-2 x^2-x^3\right ) \log ^2(x)}{2 x^3+4 x^4+2 x^5+\left (4 x^2+8 x^3+4 x^4\right ) \log (x)+\left (2 x+4 x^2+2 x^3\right ) \log ^2(x)} \, dx=\frac {1}{2} \left (2 e^{-\frac {(-2+x) x}{2 (1+x)}}-\frac {2 (621+x)}{x+\log (x)}\right ) \]
Integrate[(1242 + 3728*x + 3730*x^2 + 1244*x^3 + E^((2*x - x^2)/(2 + 2*x)) *(2*x^3 - 2*x^4 - x^5) + (-2*x - 4*x^2 - 2*x^3 + E^((2*x - x^2)/(2 + 2*x)) *(4*x^2 - 4*x^3 - 2*x^4))*Log[x] + E^((2*x - x^2)/(2 + 2*x))*(2*x - 2*x^2 - x^3)*Log[x]^2)/(2*x^3 + 4*x^4 + 2*x^5 + (4*x^2 + 8*x^3 + 4*x^4)*Log[x] + (2*x + 4*x^2 + 2*x^3)*Log[x]^2),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 {1244 x^3+3730 x^2+e^{\frac {2 x-x^2}{2 x+2}} \left (-x^3-2 x^2+2 x\right ) \log ^2(x)+\left (-2 x^3-4 x^2+e^{\frac {2 x-x^2}{2 x+2}} \left (-2 x^4-4 x^3+4 x^2\right )-2 x\right ) \log (x)+e^{\frac {2 x-x^2}{2 x+2}} \left (-x^5-2 x^4+2 x^3\right )+3728 x+1242}{2 x^5+4 x^4+2 x^3+\left (2 x^3+4 x^2+2 x\right ) \log ^2(x)+\left (4 x^4+8 x^3+4 x^2\right ) \log (x)} \, dx\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle \int \frac {1244 x^3+3730 x^2+e^{\frac {2 x-x^2}{2 x+2}} \left (-x^3-2 x^2+2 x\right ) \log ^2(x)+\left (-2 x^3-4 x^2+e^{\frac {2 x-x^2}{2 x+2}} \left (-2 x^4-4 x^3+4 x^2\right )-2 x\right ) \log (x)+e^{\frac {2 x-x^2}{2 x+2}} \left (-x^5-2 x^4+2 x^3\right )+3728 x+1242}{2 x (x+1)^2 (x+\log (x))^2}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{2} \int \frac {1244 x^3+3730 x^2+3728 x+e^{\frac {2 x-x^2}{2 (x+1)}} \left (-x^3-2 x^2+2 x\right ) \log ^2(x)+e^{\frac {2 x-x^2}{2 (x+1)}} \left (-x^5-2 x^4+2 x^3\right )-2 \left (x^3+2 x^2+x-e^{\frac {2 x-x^2}{2 (x+1)}} \left (-x^4-2 x^3+2 x^2\right )\right ) \log (x)+1242}{x (x+1)^2 (x+\log (x))^2}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \frac {1}{2} \int \left (-\frac {2 \log (x) x^2}{(x+1)^2 (x+\log (x))^2}+\frac {1244 x^2}{(x+1)^2 (x+\log (x))^2}-\frac {4 \log (x) x}{(x+1)^2 (x+\log (x))^2}+\frac {3730 x}{(x+1)^2 (x+\log (x))^2}-\frac {e^{-\frac {(x-2) x}{2 (x+1)}} \left (x^2+2 x-2\right )}{(x+1)^2}-\frac {2 \log (x)}{(x+1)^2 (x+\log (x))^2}+\frac {3728}{(x+1)^2 (x+\log (x))^2}+\frac {1242}{(x+1)^2 (x+\log (x))^2 x}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{2} \left (1244 \int \frac {1}{(x+\log (x))^2}dx+1242 \int \frac {1}{x (x+\log (x))^2}dx+2 \int \frac {x}{(x+\log (x))^2}dx-2 \int \frac {1}{x+\log (x)}dx+2 e^{\frac {(2-x) x}{2 (x+1)}}\right )\) |
Int[(1242 + 3728*x + 3730*x^2 + 1244*x^3 + E^((2*x - x^2)/(2 + 2*x))*(2*x^ 3 - 2*x^4 - x^5) + (-2*x - 4*x^2 - 2*x^3 + E^((2*x - x^2)/(2 + 2*x))*(4*x^ 2 - 4*x^3 - 2*x^4))*Log[x] + E^((2*x - x^2)/(2 + 2*x))*(2*x - 2*x^2 - x^3) *Log[x]^2)/(2*x^3 + 4*x^4 + 2*x^5 + (4*x^2 + 8*x^3 + 4*x^4)*Log[x] + (2*x + 4*x^2 + 2*x^3)*Log[x]^2),x]
3.19.19.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Time = 2.73 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.89
method | result | size |
risch | \({\mathrm e}^{-\frac {\left (-2+x \right ) x}{2 \left (1+x \right )}}-\frac {621+x}{x +\ln \left (x \right )}\) | \(25\) |
parallelrisch | \(-\frac {-8 \,{\mathrm e}^{\frac {-x^{2}+2 x}{2+2 x}} x +4968-8 \ln \left (x \right ) {\mathrm e}^{\frac {-x^{2}+2 x}{2+2 x}}+8 x}{8 \left (x +\ln \left (x \right )\right )}\) | \(55\) |
int(((-x^3-2*x^2+2*x)*exp((-x^2+2*x)/(2+2*x))*ln(x)^2+((-2*x^4-4*x^3+4*x^2 )*exp((-x^2+2*x)/(2+2*x))-2*x^3-4*x^2-2*x)*ln(x)+(-x^5-2*x^4+2*x^3)*exp((- x^2+2*x)/(2+2*x))+1244*x^3+3730*x^2+3728*x+1242)/((2*x^3+4*x^2+2*x)*ln(x)^ 2+(4*x^4+8*x^3+4*x^2)*ln(x)+2*x^5+4*x^4+2*x^3),x,method=_RETURNVERBOSE)
Time = 0.25 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.68 \[ \int \frac {1242+3728 x+3730 x^2+1244 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x^3-2 x^4-x^5\right )+\left (-2 x-4 x^2-2 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (4 x^2-4 x^3-2 x^4\right )\right ) \log (x)+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x-2 x^2-x^3\right ) \log ^2(x)}{2 x^3+4 x^4+2 x^5+\left (4 x^2+8 x^3+4 x^4\right ) \log (x)+\left (2 x+4 x^2+2 x^3\right ) \log ^2(x)} \, dx=\frac {x e^{\left (-\frac {x^{2} - 2 \, x}{2 \, {\left (x + 1\right )}}\right )} + e^{\left (-\frac {x^{2} - 2 \, x}{2 \, {\left (x + 1\right )}}\right )} \log \left (x\right ) - x - 621}{x + \log \left (x\right )} \]
integrate(((-x^3-2*x^2+2*x)*exp((-x^2+2*x)/(2+2*x))*log(x)^2+((-2*x^4-4*x^ 3+4*x^2)*exp((-x^2+2*x)/(2+2*x))-2*x^3-4*x^2-2*x)*log(x)+(-x^5-2*x^4+2*x^3 )*exp((-x^2+2*x)/(2+2*x))+1244*x^3+3730*x^2+3728*x+1242)/((2*x^3+4*x^2+2*x )*log(x)^2+(4*x^4+8*x^3+4*x^2)*log(x)+2*x^5+4*x^4+2*x^3),x, algorithm=\
(x*e^(-1/2*(x^2 - 2*x)/(x + 1)) + e^(-1/2*(x^2 - 2*x)/(x + 1))*log(x) - x - 621)/(x + log(x))
Time = 0.22 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.79 \[ \int \frac {1242+3728 x+3730 x^2+1244 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x^3-2 x^4-x^5\right )+\left (-2 x-4 x^2-2 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (4 x^2-4 x^3-2 x^4\right )\right ) \log (x)+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x-2 x^2-x^3\right ) \log ^2(x)}{2 x^3+4 x^4+2 x^5+\left (4 x^2+8 x^3+4 x^4\right ) \log (x)+\left (2 x+4 x^2+2 x^3\right ) \log ^2(x)} \, dx=\frac {- x - 621}{x + \log {\left (x \right )}} + e^{\frac {- x^{2} + 2 x}{2 x + 2}} \]
integrate(((-x**3-2*x**2+2*x)*exp((-x**2+2*x)/(2+2*x))*ln(x)**2+((-2*x**4- 4*x**3+4*x**2)*exp((-x**2+2*x)/(2+2*x))-2*x**3-4*x**2-2*x)*ln(x)+(-x**5-2* x**4+2*x**3)*exp((-x**2+2*x)/(2+2*x))+1244*x**3+3730*x**2+3728*x+1242)/((2 *x**3+4*x**2+2*x)*ln(x)**2+(4*x**4+8*x**3+4*x**2)*ln(x)+2*x**5+4*x**4+2*x* *3),x)
Time = 0.29 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.46 \[ \int \frac {1242+3728 x+3730 x^2+1244 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x^3-2 x^4-x^5\right )+\left (-2 x-4 x^2-2 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (4 x^2-4 x^3-2 x^4\right )\right ) \log (x)+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x-2 x^2-x^3\right ) \log ^2(x)}{2 x^3+4 x^4+2 x^5+\left (4 x^2+8 x^3+4 x^4\right ) \log (x)+\left (2 x+4 x^2+2 x^3\right ) \log ^2(x)} \, dx=-\frac {{\left ({\left (x + 621\right )} e^{\left (\frac {1}{2} \, x\right )} - {\left (x e^{\frac {3}{2}} + e^{\frac {3}{2}} \log \left (x\right )\right )} e^{\left (-\frac {3}{2 \, {\left (x + 1\right )}}\right )}\right )} e^{\left (-\frac {1}{2} \, x\right )}}{x + \log \left (x\right )} \]
integrate(((-x^3-2*x^2+2*x)*exp((-x^2+2*x)/(2+2*x))*log(x)^2+((-2*x^4-4*x^ 3+4*x^2)*exp((-x^2+2*x)/(2+2*x))-2*x^3-4*x^2-2*x)*log(x)+(-x^5-2*x^4+2*x^3 )*exp((-x^2+2*x)/(2+2*x))+1244*x^3+3730*x^2+3728*x+1242)/((2*x^3+4*x^2+2*x )*log(x)^2+(4*x^4+8*x^3+4*x^2)*log(x)+2*x^5+4*x^4+2*x^3),x, algorithm=\
-((x + 621)*e^(1/2*x) - (x*e^(3/2) + e^(3/2)*log(x))*e^(-3/2/(x + 1)))*e^( -1/2*x)/(x + log(x))
Time = 0.40 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.68 \[ \int \frac {1242+3728 x+3730 x^2+1244 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x^3-2 x^4-x^5\right )+\left (-2 x-4 x^2-2 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (4 x^2-4 x^3-2 x^4\right )\right ) \log (x)+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x-2 x^2-x^3\right ) \log ^2(x)}{2 x^3+4 x^4+2 x^5+\left (4 x^2+8 x^3+4 x^4\right ) \log (x)+\left (2 x+4 x^2+2 x^3\right ) \log ^2(x)} \, dx=\frac {x e^{\left (-\frac {x^{2} - 2 \, x}{2 \, {\left (x + 1\right )}}\right )} + e^{\left (-\frac {x^{2} - 2 \, x}{2 \, {\left (x + 1\right )}}\right )} \log \left (x\right ) - x - 621}{x + \log \left (x\right )} \]
integrate(((-x^3-2*x^2+2*x)*exp((-x^2+2*x)/(2+2*x))*log(x)^2+((-2*x^4-4*x^ 3+4*x^2)*exp((-x^2+2*x)/(2+2*x))-2*x^3-4*x^2-2*x)*log(x)+(-x^5-2*x^4+2*x^3 )*exp((-x^2+2*x)/(2+2*x))+1244*x^3+3730*x^2+3728*x+1242)/((2*x^3+4*x^2+2*x )*log(x)^2+(4*x^4+8*x^3+4*x^2)*log(x)+2*x^5+4*x^4+2*x^3),x, algorithm=\
(x*e^(-1/2*(x^2 - 2*x)/(x + 1)) + e^(-1/2*(x^2 - 2*x)/(x + 1))*log(x) - x - 621)/(x + log(x))
Time = 14.34 (sec) , antiderivative size = 60, normalized size of antiderivative = 2.14 \[ \int \frac {1242+3728 x+3730 x^2+1244 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x^3-2 x^4-x^5\right )+\left (-2 x-4 x^2-2 x^3+e^{\frac {2 x-x^2}{2+2 x}} \left (4 x^2-4 x^3-2 x^4\right )\right ) \log (x)+e^{\frac {2 x-x^2}{2+2 x}} \left (2 x-2 x^2-x^3\right ) \log ^2(x)}{2 x^3+4 x^4+2 x^5+\left (4 x^2+8 x^3+4 x^4\right ) \log (x)+\left (2 x+4 x^2+2 x^3\right ) \log ^2(x)} \, dx={\mathrm {e}}^{\frac {2\,x}{2\,x+2}-\frac {x^2}{2\,x+2}}+\frac {1}{x+1}-\frac {\frac {622\,x+621}{x+1}-\frac {x\,\ln \left (x\right )}{x+1}}{x+\ln \left (x\right )} \]
int((3728*x - log(x)*(2*x + exp((2*x - x^2)/(2*x + 2))*(4*x^3 - 4*x^2 + 2* x^4) + 4*x^2 + 2*x^3) - exp((2*x - x^2)/(2*x + 2))*(2*x^4 - 2*x^3 + x^5) + 3730*x^2 + 1244*x^3 - exp((2*x - x^2)/(2*x + 2))*log(x)^2*(2*x^2 - 2*x + x^3) + 1242)/(log(x)^2*(2*x + 4*x^2 + 2*x^3) + log(x)*(4*x^2 + 8*x^3 + 4*x ^4) + 2*x^3 + 4*x^4 + 2*x^5),x)