Integrand size = 156, antiderivative size = 31 \[ \int \frac {-1-4 x+e^{e^{10 x^2}-2 e^{5 x^2} x \log \left (\frac {1}{x+4 x^2}\right )+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (e^{5 x^2} (2+16 x)+e^{10 x^2} \left (20 x+80 x^2\right )+\left (-2 x-16 x^2+e^{5 x^2} \left (-2-8 x-20 x^2-80 x^3\right )\right ) \log \left (\frac {1}{x+4 x^2}\right )+\left (2 x+8 x^2\right ) \log ^2\left (\frac {1}{x+4 x^2}\right )\right )}{1+4 x} \, dx=-1+e^{\left (-e^{5 x^2}+x \log \left (\frac {1}{x+4 x^2}\right )\right )^2}-x \]
Time = 0.30 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.65 \[ \int \frac {-1-4 x+e^{e^{10 x^2}-2 e^{5 x^2} x \log \left (\frac {1}{x+4 x^2}\right )+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (e^{5 x^2} (2+16 x)+e^{10 x^2} \left (20 x+80 x^2\right )+\left (-2 x-16 x^2+e^{5 x^2} \left (-2-8 x-20 x^2-80 x^3\right )\right ) \log \left (\frac {1}{x+4 x^2}\right )+\left (2 x+8 x^2\right ) \log ^2\left (\frac {1}{x+4 x^2}\right )\right )}{1+4 x} \, dx=-x+e^{e^{10 x^2}+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (\frac {1}{x+4 x^2}\right )^{-2 e^{5 x^2} x} \]
Integrate[(-1 - 4*x + E^(E^(10*x^2) - 2*E^(5*x^2)*x*Log[(x + 4*x^2)^(-1)] + x^2*Log[(x + 4*x^2)^(-1)]^2)*(E^(5*x^2)*(2 + 16*x) + E^(10*x^2)*(20*x + 80*x^2) + (-2*x - 16*x^2 + E^(5*x^2)*(-2 - 8*x - 20*x^2 - 80*x^3))*Log[(x + 4*x^2)^(-1)] + (2*x + 8*x^2)*Log[(x + 4*x^2)^(-1)]^2))/(1 + 4*x),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 {\left (e^{5 x^2} (16 x+2)+e^{10 x^2} \left (80 x^2+20 x\right )+\left (8 x^2+2 x\right ) \log ^2\left (\frac {1}{4 x^2+x}\right )+\left (-16 x^2+e^{5 x^2} \left (-80 x^3-20 x^2-8 x-2\right )-2 x\right ) \log \left (\frac {1}{4 x^2+x}\right )\right ) \exp \left (e^{10 x^2}+x^2 \log ^2\left (\frac {1}{4 x^2+x}\right )-2 e^{5 x^2} x \log \left (\frac {1}{4 x^2+x}\right )\right )-4 x-1}{4 x+1} \, dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (\frac {2 \left (\frac {1}{x (4 x+1)}\right )^{-2 e^{5 x^2} x} e^{e^{10 x^2}+x^2 \log ^2\left (\frac {1}{4 x^2+x}\right )} \left (40 e^{5 x^2} x^2+10 e^{5 x^2} x-4 x \log \left (\frac {1}{4 x^2+x}\right )-\log \left (\frac {1}{4 x^2+x}\right )+8 x+1\right ) \left (e^{5 x^2}-x \log \left (\frac {1}{4 x^2+x}\right )\right )}{4 x+1}-1\right )dx\) |
\(\Big \downarrow \) 7299 |
\(\displaystyle \int \left (\frac {2 \left (\frac {1}{x (4 x+1)}\right )^{-2 e^{5 x^2} x} e^{e^{10 x^2}+x^2 \log ^2\left (\frac {1}{4 x^2+x}\right )} \left (40 e^{5 x^2} x^2+10 e^{5 x^2} x-4 x \log \left (\frac {1}{4 x^2+x}\right )-\log \left (\frac {1}{4 x^2+x}\right )+8 x+1\right ) \left (e^{5 x^2}-x \log \left (\frac {1}{4 x^2+x}\right )\right )}{4 x+1}-1\right )dx\) |
Int[(-1 - 4*x + E^(E^(10*x^2) - 2*E^(5*x^2)*x*Log[(x + 4*x^2)^(-1)] + x^2* Log[(x + 4*x^2)^(-1)]^2)*(E^(5*x^2)*(2 + 16*x) + E^(10*x^2)*(20*x + 80*x^2 ) + (-2*x - 16*x^2 + E^(5*x^2)*(-2 - 8*x - 20*x^2 - 80*x^3))*Log[(x + 4*x^ 2)^(-1)] + (2*x + 8*x^2)*Log[(x + 4*x^2)^(-1)]^2))/(1 + 4*x),x]
3.12.30.3.1 Defintions of rubi rules used
Time = 2.24 (sec) , antiderivative size = 55, normalized size of antiderivative = 1.77
method | result | size |
parallelrisch | \(\frac {1}{8}-x +{\mathrm e}^{x^{2} \ln \left (\frac {1}{\left (1+4 x \right ) x}\right )^{2}-2 x \,{\mathrm e}^{5 x^{2}} \ln \left (\frac {1}{\left (1+4 x \right ) x}\right )+{\mathrm e}^{10 x^{2}}}\) | \(55\) |
risch | \(\text {Expression too large to display}\) | \(863\) |
int((((8*x^2+2*x)*ln(1/(4*x^2+x))^2+((-80*x^3-20*x^2-8*x-2)*exp(5*x^2)-16* x^2-2*x)*ln(1/(4*x^2+x))+(80*x^2+20*x)*exp(5*x^2)^2+(16*x+2)*exp(5*x^2))*e xp(x^2*ln(1/(4*x^2+x))^2-2*x*exp(5*x^2)*ln(1/(4*x^2+x))+exp(5*x^2)^2)-4*x- 1)/(1+4*x),x,method=_RETURNVERBOSE)
Time = 0.27 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.52 \[ \int \frac {-1-4 x+e^{e^{10 x^2}-2 e^{5 x^2} x \log \left (\frac {1}{x+4 x^2}\right )+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (e^{5 x^2} (2+16 x)+e^{10 x^2} \left (20 x+80 x^2\right )+\left (-2 x-16 x^2+e^{5 x^2} \left (-2-8 x-20 x^2-80 x^3\right )\right ) \log \left (\frac {1}{x+4 x^2}\right )+\left (2 x+8 x^2\right ) \log ^2\left (\frac {1}{x+4 x^2}\right )\right )}{1+4 x} \, dx=-x + e^{\left (x^{2} \log \left (\frac {1}{4 \, x^{2} + x}\right )^{2} - 2 \, x e^{\left (5 \, x^{2}\right )} \log \left (\frac {1}{4 \, x^{2} + x}\right ) + e^{\left (10 \, x^{2}\right )}\right )} \]
integrate((((8*x^2+2*x)*log(1/(4*x^2+x))^2+((-80*x^3-20*x^2-8*x-2)*exp(5*x ^2)-16*x^2-2*x)*log(1/(4*x^2+x))+(80*x^2+20*x)*exp(5*x^2)^2+(16*x+2)*exp(5 *x^2))*exp(x^2*log(1/(4*x^2+x))^2-2*x*exp(5*x^2)*log(1/(4*x^2+x))+exp(5*x^ 2)^2)-4*x-1)/(1+4*x),x, algorithm=\
Time = 0.70 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.42 \[ \int \frac {-1-4 x+e^{e^{10 x^2}-2 e^{5 x^2} x \log \left (\frac {1}{x+4 x^2}\right )+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (e^{5 x^2} (2+16 x)+e^{10 x^2} \left (20 x+80 x^2\right )+\left (-2 x-16 x^2+e^{5 x^2} \left (-2-8 x-20 x^2-80 x^3\right )\right ) \log \left (\frac {1}{x+4 x^2}\right )+\left (2 x+8 x^2\right ) \log ^2\left (\frac {1}{x+4 x^2}\right )\right )}{1+4 x} \, dx=- x + e^{x^{2} \log {\left (\frac {1}{4 x^{2} + x} \right )}^{2} - 2 x e^{5 x^{2}} \log {\left (\frac {1}{4 x^{2} + x} \right )} + e^{10 x^{2}}} \]
integrate((((8*x**2+2*x)*ln(1/(4*x**2+x))**2+((-80*x**3-20*x**2-8*x-2)*exp (5*x**2)-16*x**2-2*x)*ln(1/(4*x**2+x))+(80*x**2+20*x)*exp(5*x**2)**2+(16*x +2)*exp(5*x**2))*exp(x**2*ln(1/(4*x**2+x))**2-2*x*exp(5*x**2)*ln(1/(4*x**2 +x))+exp(5*x**2)**2)-4*x-1)/(1+4*x),x)
Leaf count of result is larger than twice the leaf count of optimal. 71 vs. \(2 (29) = 58\).
Time = 0.34 (sec) , antiderivative size = 71, normalized size of antiderivative = 2.29 \[ \int \frac {-1-4 x+e^{e^{10 x^2}-2 e^{5 x^2} x \log \left (\frac {1}{x+4 x^2}\right )+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (e^{5 x^2} (2+16 x)+e^{10 x^2} \left (20 x+80 x^2\right )+\left (-2 x-16 x^2+e^{5 x^2} \left (-2-8 x-20 x^2-80 x^3\right )\right ) \log \left (\frac {1}{x+4 x^2}\right )+\left (2 x+8 x^2\right ) \log ^2\left (\frac {1}{x+4 x^2}\right )\right )}{1+4 x} \, dx=-x + e^{\left (x^{2} \log \left (4 \, x + 1\right )^{2} + 2 \, x^{2} \log \left (4 \, x + 1\right ) \log \left (x\right ) + x^{2} \log \left (x\right )^{2} + 2 \, x e^{\left (5 \, x^{2}\right )} \log \left (4 \, x + 1\right ) + 2 \, x e^{\left (5 \, x^{2}\right )} \log \left (x\right ) + e^{\left (10 \, x^{2}\right )}\right )} \]
integrate((((8*x^2+2*x)*log(1/(4*x^2+x))^2+((-80*x^3-20*x^2-8*x-2)*exp(5*x ^2)-16*x^2-2*x)*log(1/(4*x^2+x))+(80*x^2+20*x)*exp(5*x^2)^2+(16*x+2)*exp(5 *x^2))*exp(x^2*log(1/(4*x^2+x))^2-2*x*exp(5*x^2)*log(1/(4*x^2+x))+exp(5*x^ 2)^2)-4*x-1)/(1+4*x),x, algorithm=\
-x + e^(x^2*log(4*x + 1)^2 + 2*x^2*log(4*x + 1)*log(x) + x^2*log(x)^2 + 2* x*e^(5*x^2)*log(4*x + 1) + 2*x*e^(5*x^2)*log(x) + e^(10*x^2))
\[ \int \frac {-1-4 x+e^{e^{10 x^2}-2 e^{5 x^2} x \log \left (\frac {1}{x+4 x^2}\right )+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (e^{5 x^2} (2+16 x)+e^{10 x^2} \left (20 x+80 x^2\right )+\left (-2 x-16 x^2+e^{5 x^2} \left (-2-8 x-20 x^2-80 x^3\right )\right ) \log \left (\frac {1}{x+4 x^2}\right )+\left (2 x+8 x^2\right ) \log ^2\left (\frac {1}{x+4 x^2}\right )\right )}{1+4 x} \, dx=\int { \frac {2 \, {\left ({\left (4 \, x^{2} + x\right )} \log \left (\frac {1}{4 \, x^{2} + x}\right )^{2} + 10 \, {\left (4 \, x^{2} + x\right )} e^{\left (10 \, x^{2}\right )} + {\left (8 \, x + 1\right )} e^{\left (5 \, x^{2}\right )} - {\left (8 \, x^{2} + {\left (40 \, x^{3} + 10 \, x^{2} + 4 \, x + 1\right )} e^{\left (5 \, x^{2}\right )} + x\right )} \log \left (\frac {1}{4 \, x^{2} + x}\right )\right )} e^{\left (x^{2} \log \left (\frac {1}{4 \, x^{2} + x}\right )^{2} - 2 \, x e^{\left (5 \, x^{2}\right )} \log \left (\frac {1}{4 \, x^{2} + x}\right ) + e^{\left (10 \, x^{2}\right )}\right )} - 4 \, x - 1}{4 \, x + 1} \,d x } \]
integrate((((8*x^2+2*x)*log(1/(4*x^2+x))^2+((-80*x^3-20*x^2-8*x-2)*exp(5*x ^2)-16*x^2-2*x)*log(1/(4*x^2+x))+(80*x^2+20*x)*exp(5*x^2)^2+(16*x+2)*exp(5 *x^2))*exp(x^2*log(1/(4*x^2+x))^2-2*x*exp(5*x^2)*log(1/(4*x^2+x))+exp(5*x^ 2)^2)-4*x-1)/(1+4*x),x, algorithm=\
integrate((2*((4*x^2 + x)*log(1/(4*x^2 + x))^2 + 10*(4*x^2 + x)*e^(10*x^2) + (8*x + 1)*e^(5*x^2) - (8*x^2 + (40*x^3 + 10*x^2 + 4*x + 1)*e^(5*x^2) + x)*log(1/(4*x^2 + x)))*e^(x^2*log(1/(4*x^2 + x))^2 - 2*x*e^(5*x^2)*log(1/( 4*x^2 + x)) + e^(10*x^2)) - 4*x - 1)/(4*x + 1), x)
Time = 12.92 (sec) , antiderivative size = 50, normalized size of antiderivative = 1.61 \[ \int \frac {-1-4 x+e^{e^{10 x^2}-2 e^{5 x^2} x \log \left (\frac {1}{x+4 x^2}\right )+x^2 \log ^2\left (\frac {1}{x+4 x^2}\right )} \left (e^{5 x^2} (2+16 x)+e^{10 x^2} \left (20 x+80 x^2\right )+\left (-2 x-16 x^2+e^{5 x^2} \left (-2-8 x-20 x^2-80 x^3\right )\right ) \log \left (\frac {1}{x+4 x^2}\right )+\left (2 x+8 x^2\right ) \log ^2\left (\frac {1}{x+4 x^2}\right )\right )}{1+4 x} \, dx=\frac {{\mathrm {e}}^{{\mathrm {e}}^{10\,x^2}}\,{\mathrm {e}}^{x^2\,{\ln \left (\frac {1}{4\,x^2+x}\right )}^2}}{{\left (\frac {1}{4\,x^2+x}\right )}^{2\,x\,{\mathrm {e}}^{5\,x^2}}}-x \]