Integrand size = 143, antiderivative size = 30 \[ \int \frac {e^5 (4-2 x)+5 x^2+e^{x^2} \left (-10 x^3+e^5 \left (1+2 x^2\right )\right )-e^5 (i \pi +\log (25))}{16 x^2+e^{2 x^2} x^2-8 x^3+x^4+\left (-8 x^2+2 x^3\right ) (i \pi +\log (25))+x^2 (i \pi +\log (25))^2+e^{x^2} \left (8 x^2-2 x^3-2 x^2 (i \pi +\log (25))\right )} \, dx=\frac {e^5-5 x}{x \left (-4-e^{x^2}+i \pi +x+\log (25)\right )} \]
Time = 5.08 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00 \[ \int \frac {e^5 (4-2 x)+5 x^2+e^{x^2} \left (-10 x^3+e^5 \left (1+2 x^2\right )\right )-e^5 (i \pi +\log (25))}{16 x^2+e^{2 x^2} x^2-8 x^3+x^4+\left (-8 x^2+2 x^3\right ) (i \pi +\log (25))+x^2 (i \pi +\log (25))^2+e^{x^2} \left (8 x^2-2 x^3-2 x^2 (i \pi +\log (25))\right )} \, dx=\frac {e^5-5 x}{x \left (-4-e^{x^2}+i \pi +x+\log (25)\right )} \]
Integrate[(E^5*(4 - 2*x) + 5*x^2 + E^x^2*(-10*x^3 + E^5*(1 + 2*x^2)) - E^5 *(I*Pi + Log[25]))/(16*x^2 + E^(2*x^2)*x^2 - 8*x^3 + x^4 + (-8*x^2 + 2*x^3 )*(I*Pi + Log[25]) + x^2*(I*Pi + Log[25])^2 + E^x^2*(8*x^2 - 2*x^3 - 2*x^2 *(I*Pi + Log[25]))),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 {5 x^2+e^{x^2} \left (e^5 \left (2 x^2+1\right )-10 x^3\right )+e^5 (4-2 x)-e^5 (\log (25)+i \pi )}{x^4-8 x^3+e^{2 x^2} x^2+16 x^2+x^2 (\log (25)+i \pi )^2+e^{x^2} \left (-2 x^3+8 x^2-2 x^2 (\log (25)+i \pi )\right )+\left (2 x^3-8 x^2\right ) (\log (25)+i \pi )} \, dx\) |
\(\Big \downarrow \) 6 |
\(\displaystyle \int \frac {5 x^2+e^{x^2} \left (e^5 \left (2 x^2+1\right )-10 x^3\right )+e^5 (4-2 x)-e^5 (\log (25)+i \pi )}{x^4-8 x^3+e^{2 x^2} x^2+x^2 \left (16+(\log (25)+i \pi )^2\right )+e^{x^2} \left (-2 x^3+8 x^2-2 x^2 (\log (25)+i \pi )\right )+\left (2 x^3-8 x^2\right ) (\log (25)+i \pi )}dx\) |
\(\Big \downarrow \) 7239 |
\(\displaystyle \int \frac {5 x^2+e^{x^2+5} \left (2 x^2+1\right )-10 e^{x^2} x^3+e^5 (-2 x-i \pi +4-\log (25))}{x^2 \left (e^{x^2}-x+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )^2}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (\frac {\left (e^5-5 x\right ) \left (2 x^2-x (8-2 i \pi -\log (625))-1\right )}{x \left (e^{x^2}-x+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )^2}+\frac {-10 x^3+2 e^5 x^2+e^5}{x^2 \left (e^{x^2}-x+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle 10 \int \frac {x}{x-e^{x^2}-4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )}dx-\left (5-e^5 (8-2 i \pi -\log (625))\right ) \int \frac {1}{\left (-i x+i e^{x^2}+4 i \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )^2}dx-e^5 \int \frac {1}{x \left (-x+e^{x^2}+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )^2}dx+\left (40+2 e^5-10 i \pi -5 \log (625)\right ) \int \frac {x}{\left (-x+e^{x^2}+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )^2}dx-10 \int \frac {x^2}{\left (-x+e^{x^2}+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )^2}dx+2 e^5 \int \frac {1}{-x+e^{x^2}+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )}dx+e^5 \int \frac {1}{x^2 \left (-x+e^{x^2}+4 \left (1-\frac {1}{4} i (\pi -2 i \log (5))\right )\right )}dx\) |
Int[(E^5*(4 - 2*x) + 5*x^2 + E^x^2*(-10*x^3 + E^5*(1 + 2*x^2)) - E^5*(I*Pi + Log[25]))/(16*x^2 + E^(2*x^2)*x^2 - 8*x^3 + x^4 + (-8*x^2 + 2*x^3)*(I*P i + Log[25]) + x^2*(I*Pi + Log[25])^2 + E^x^2*(8*x^2 - 2*x^3 - 2*x^2*(I*Pi + Log[25]))),x]
3.25.23.3.1 Defintions of rubi rules used
Int[(u_.)*((v_.) + (a_.)*(Fx_) + (b_.)*(Fx_))^(p_.), x_Symbol] :> Int[u*(v + (a + b)*Fx)^p, x] /; FreeQ[{a, b}, x] && !FreeQ[Fx, x]
Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; Simpl erIntegrandQ[v, u, x]]
Time = 0.41 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.00
method | result | size |
risch | \(\frac {{\mathrm e}^{5}-5 x}{x \left (2 \ln \left (5\right )+i \pi -4-{\mathrm e}^{x^{2}}+x \right )}\) | \(30\) |
parallelrisch | \(-\frac {i {\mathrm e}^{5}-5 i x}{x \left (-2 i \ln \left (5\right )-i x +i {\mathrm e}^{x^{2}}+\pi +4 i\right )}\) | \(38\) |
int((((2*x^2+1)*exp(5)-10*x^3)*exp(x^2)-exp(5)*(2*ln(5)+I*Pi)+(4-2*x)*exp( 5)+5*x^2)/(x^2*exp(x^2)^2+(-2*x^2*(2*ln(5)+I*Pi)-2*x^3+8*x^2)*exp(x^2)+x^2 *(2*ln(5)+I*Pi)^2+(2*x^3-8*x^2)*(2*ln(5)+I*Pi)+x^4-8*x^3+16*x^2),x,method= _RETURNVERBOSE)
Time = 0.27 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.17 \[ \int \frac {e^5 (4-2 x)+5 x^2+e^{x^2} \left (-10 x^3+e^5 \left (1+2 x^2\right )\right )-e^5 (i \pi +\log (25))}{16 x^2+e^{2 x^2} x^2-8 x^3+x^4+\left (-8 x^2+2 x^3\right ) (i \pi +\log (25))+x^2 (i \pi +\log (25))^2+e^{x^2} \left (8 x^2-2 x^3-2 x^2 (i \pi +\log (25))\right )} \, dx=\frac {5 \, x - e^{5}}{{\left (-i \, \pi + 4\right )} x - x^{2} + x e^{\left (x^{2}\right )} - 2 \, x \log \left (5\right )} \]
integrate((((2*x^2+1)*exp(5)-10*x^3)*exp(x^2)-exp(5)*(2*log(5)+I*pi)+(4-2* x)*exp(5)+5*x^2)/(x^2*exp(x^2)^2+(-2*x^2*(2*log(5)+I*pi)-2*x^3+8*x^2)*exp( x^2)+x^2*(2*log(5)+I*pi)^2+(2*x^3-8*x^2)*(2*log(5)+I*pi)+x^4-8*x^3+16*x^2) ,x, algorithm=\
Time = 3.77 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.03 \[ \int \frac {e^5 (4-2 x)+5 x^2+e^{x^2} \left (-10 x^3+e^5 \left (1+2 x^2\right )\right )-e^5 (i \pi +\log (25))}{16 x^2+e^{2 x^2} x^2-8 x^3+x^4+\left (-8 x^2+2 x^3\right ) (i \pi +\log (25))+x^2 (i \pi +\log (25))^2+e^{x^2} \left (8 x^2-2 x^3-2 x^2 (i \pi +\log (25))\right )} \, dx=\frac {5 x - e^{5}}{- x^{2} + x e^{x^{2}} - 2 x \log {\left (5 \right )} + 4 x - i \pi x} \]
integrate((((2*x**2+1)*exp(5)-10*x**3)*exp(x**2)-exp(5)*(2*ln(5)+I*pi)+(4- 2*x)*exp(5)+5*x**2)/(x**2*exp(x**2)**2+(-2*x**2*(2*ln(5)+I*pi)-2*x**3+8*x* *2)*exp(x**2)+x**2*(2*ln(5)+I*pi)**2+(2*x**3-8*x**2)*(2*ln(5)+I*pi)+x**4-8 *x**3+16*x**2),x)
Time = 1.81 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.13 \[ \int \frac {e^5 (4-2 x)+5 x^2+e^{x^2} \left (-10 x^3+e^5 \left (1+2 x^2\right )\right )-e^5 (i \pi +\log (25))}{16 x^2+e^{2 x^2} x^2-8 x^3+x^4+\left (-8 x^2+2 x^3\right ) (i \pi +\log (25))+x^2 (i \pi +\log (25))^2+e^{x^2} \left (8 x^2-2 x^3-2 x^2 (i \pi +\log (25))\right )} \, dx=\frac {5 \, x - e^{5}}{{\left (-i \, \pi - 2 \, \log \left (5\right ) + 4\right )} x - x^{2} + x e^{\left (x^{2}\right )}} \]
integrate((((2*x^2+1)*exp(5)-10*x^3)*exp(x^2)-exp(5)*(2*log(5)+I*pi)+(4-2* x)*exp(5)+5*x^2)/(x^2*exp(x^2)^2+(-2*x^2*(2*log(5)+I*pi)-2*x^3+8*x^2)*exp( x^2)+x^2*(2*log(5)+I*pi)^2+(2*x^3-8*x^2)*(2*log(5)+I*pi)+x^4-8*x^3+16*x^2) ,x, algorithm=\
Time = 0.30 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.17 \[ \int \frac {e^5 (4-2 x)+5 x^2+e^{x^2} \left (-10 x^3+e^5 \left (1+2 x^2\right )\right )-e^5 (i \pi +\log (25))}{16 x^2+e^{2 x^2} x^2-8 x^3+x^4+\left (-8 x^2+2 x^3\right ) (i \pi +\log (25))+x^2 (i \pi +\log (25))^2+e^{x^2} \left (8 x^2-2 x^3-2 x^2 (i \pi +\log (25))\right )} \, dx=\frac {5 i \, x - i \, e^{5}}{\pi x - i \, x^{2} + i \, x e^{\left (x^{2}\right )} - 2 i \, x \log \left (5\right ) + 4 i \, x} \]
integrate((((2*x^2+1)*exp(5)-10*x^3)*exp(x^2)-exp(5)*(2*log(5)+I*pi)+(4-2* x)*exp(5)+5*x^2)/(x^2*exp(x^2)^2+(-2*x^2*(2*log(5)+I*pi)-2*x^3+8*x^2)*exp( x^2)+x^2*(2*log(5)+I*pi)^2+(2*x^3-8*x^2)*(2*log(5)+I*pi)+x^4-8*x^3+16*x^2) ,x, algorithm=\
Timed out. \[ \int \frac {e^5 (4-2 x)+5 x^2+e^{x^2} \left (-10 x^3+e^5 \left (1+2 x^2\right )\right )-e^5 (i \pi +\log (25))}{16 x^2+e^{2 x^2} x^2-8 x^3+x^4+\left (-8 x^2+2 x^3\right ) (i \pi +\log (25))+x^2 (i \pi +\log (25))^2+e^{x^2} \left (8 x^2-2 x^3-2 x^2 (i \pi +\log (25))\right )} \, dx=\int \frac {{\mathrm {e}}^{x^2}\,\left ({\mathrm {e}}^5\,\left (2\,x^2+1\right )-10\,x^3\right )-{\mathrm {e}}^5\,\left (2\,\ln \left (5\right )+\Pi \,1{}\mathrm {i}\right )+5\,x^2-{\mathrm {e}}^5\,\left (2\,x-4\right )}{x^2\,{\mathrm {e}}^{2\,x^2}+x^2\,{\left (2\,\ln \left (5\right )+\Pi \,1{}\mathrm {i}\right )}^2-{\mathrm {e}}^{x^2}\,\left (2\,x^2\,\left (2\,\ln \left (5\right )+\Pi \,1{}\mathrm {i}\right )-8\,x^2+2\,x^3\right )-\left (8\,x^2-2\,x^3\right )\,\left (2\,\ln \left (5\right )+\Pi \,1{}\mathrm {i}\right )+16\,x^2-8\,x^3+x^4} \,d x \]
int((exp(x^2)*(exp(5)*(2*x^2 + 1) - 10*x^3) - exp(5)*(Pi*1i + 2*log(5)) + 5*x^2 - exp(5)*(2*x - 4))/(x^2*(Pi*1i + 2*log(5))^2 - (8*x^2 - 2*x^3)*(Pi* 1i + 2*log(5)) - exp(x^2)*(2*x^2*(Pi*1i + 2*log(5)) - 8*x^2 + 2*x^3) + x^2 *exp(2*x^2) + 16*x^2 - 8*x^3 + x^4),x)