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 \] Output:
exp((x*ln(1/(4*x^2+x))-exp(5*x^2))^2)-1-x
Time = 0.18 (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} \] Input:
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]
Output:
-x + E^(E^(10*x^2) + x^2*Log[(x + 4*x^2)^(-1)]^2)/((x + 4*x^2)^(-1))^(2*E^ (5*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 {\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\) |
Input:
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]
Output:
$Aborted
Time = 20.71 (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}{x \left (1+4 x \right )}\right )^{2}-2 x \,{\mathrm e}^{5 x^{2}} \ln \left (\frac {1}{x \left (1+4 x \right )}\right )+{\mathrm e}^{10 x^{2}}}\) | \(55\) |
risch | \(\text {Expression too large to display}\) | \(863\) |
Input:
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)
Output:
1/8-x+exp(x^2*ln(1/x/(1+4*x))^2-2*x*exp(5*x^2)*ln(1/x/(1+4*x))+exp(5*x^2)^ 2)
Time = 0.10 (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 )} \] Input:
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="fricas")
Output:
-x + e^(x^2*log(1/(4*x^2 + x))^2 - 2*x*e^(5*x^2)*log(1/(4*x^2 + x)) + e^(1 0*x^2))
Time = 0.75 (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}}} \] Input:
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)
Output:
-x + exp(x**2*log(1/(4*x**2 + x))**2 - 2*x*exp(5*x**2)*log(1/(4*x**2 + x)) + exp(10*x**2))
Leaf count of result is larger than twice the leaf count of optimal. 71 vs. \(2 (29) = 58\).
Time = 0.20 (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 )} \] Input:
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="maxima")
Output:
-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 } \] Input:
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="giac")
Output:
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 = 2.87 (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 \] Input:
int(-(4*x - exp(exp(10*x^2) + x^2*log(1/(x + 4*x^2))^2 - 2*x*exp(5*x^2)*lo g(1/(x + 4*x^2)))*(log(1/(x + 4*x^2))^2*(2*x + 8*x^2) + exp(5*x^2)*(16*x + 2) - log(1/(x + 4*x^2))*(2*x + exp(5*x^2)*(8*x + 20*x^2 + 80*x^3 + 2) + 1 6*x^2) + exp(10*x^2)*(20*x + 80*x^2)) + 1)/(4*x + 1),x)
Output:
(exp(exp(10*x^2))*exp(x^2*log(1/(x + 4*x^2))^2))/(1/(x + 4*x^2))^(2*x*exp( 5*x^2)) - x
\[ \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 {\left (\left (8 x^{2}+2 x \right ) \mathrm {log}\left (\frac {1}{4 x^{2}+x}\right )^{2}+\left (\left (-80 x^{3}-20 x^{2}-8 x -2\right ) {\mathrm e}^{5 x^{2}}-16 x^{2}-2 x \right ) \mathrm {log}\left (\frac {1}{4 x^{2}+x}\right )+\left (80 x^{2}+20 x \right ) \left ({\mathrm e}^{5 x^{2}}\right )^{2}+\left (16 x +2\right ) {\mathrm e}^{5 x^{2}}\right ) {\mathrm e}^{x^{2} \mathrm {log}\left (\frac {1}{4 x^{2}+x}\right )^{2}-2 x \,{\mathrm e}^{5 x^{2}} \mathrm {log}\left (\frac {1}{4 x^{2}+x}\right )+\left ({\mathrm e}^{5 x^{2}}\right )^{2}}-4 x -1}{4 x +1}d x \] Input:
int((((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)
Output:
int((((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)