Integrand size = 158, antiderivative size = 24 \[ \int \frac {-4 x+8 x^2+e^4 \left (x+2 x^2\right )+e^2 \left (4 x+8 x^2\right )+\left (-4+4 x+4 e^2 x+e^4 x\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )}{-4 x^2+4 x^3+4 e^2 x^3+e^4 x^3+\left (8-8 x-8 e^2 x-2 e^4 x\right ) \log (5)+\left (-4 x+4 x^2+4 e^2 x^2+e^4 x^2\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )} \, dx=\log \left (2-\frac {x \left (x+\log \left (-4+\left (2+e^2\right )^2 x\right )\right )}{\log (5)}\right ) \]
Time = 0.06 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.96 \[ \int \frac {-4 x+8 x^2+e^4 \left (x+2 x^2\right )+e^2 \left (4 x+8 x^2\right )+\left (-4+4 x+4 e^2 x+e^4 x\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )}{-4 x^2+4 x^3+4 e^2 x^3+e^4 x^3+\left (8-8 x-8 e^2 x-2 e^4 x\right ) \log (5)+\left (-4 x+4 x^2+4 e^2 x^2+e^4 x^2\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )} \, dx=\log \left (x^2-2 \log (5)+x \log \left (-4+\left (2+e^2\right )^2 x\right )\right ) \]
Integrate[(-4*x + 8*x^2 + E^4*(x + 2*x^2) + E^2*(4*x + 8*x^2) + (-4 + 4*x + 4*E^2*x + E^4*x)*Log[-4 + 4*x + 4*E^2*x + E^4*x])/(-4*x^2 + 4*x^3 + 4*E^ 2*x^3 + E^4*x^3 + (8 - 8*x - 8*E^2*x - 2*E^4*x)*Log[5] + (-4*x + 4*x^2 + 4 *E^2*x^2 + E^4*x^2)*Log[-4 + 4*x + 4*E^2*x + E^4*x]),x]
Time = 0.55 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.96, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.025, Rules used = {6, 6, 7239, 7235}
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 {8 x^2+e^4 \left (2 x^2+x\right )+e^2 \left (8 x^2+4 x\right )-4 x+\left (e^4 x+4 e^2 x+4 x-4\right ) \log \left (e^4 x+4 e^2 x+4 x-4\right )}{e^4 x^3+4 e^2 x^3+4 x^3-4 x^2+\left (e^4 x^2+4 e^2 x^2+4 x^2-4 x\right ) \log \left (e^4 x+4 e^2 x+4 x-4\right )+\left (-2 e^4 x-8 e^2 x-8 x+8\right ) \log (5)} \, dx\) |
\(\Big \downarrow \) 6 |
\(\displaystyle \int \frac {8 x^2+e^4 \left (2 x^2+x\right )+e^2 \left (8 x^2+4 x\right )-4 x+\left (e^4 x+4 e^2 x+4 x-4\right ) \log \left (e^4 x+4 e^2 x+4 x-4\right )}{\left (4+4 e^2\right ) x^3+e^4 x^3-4 x^2+\left (e^4 x^2+4 e^2 x^2+4 x^2-4 x\right ) \log \left (e^4 x+4 e^2 x+4 x-4\right )+\left (-2 e^4 x-8 e^2 x-8 x+8\right ) \log (5)}dx\) |
\(\Big \downarrow \) 6 |
\(\displaystyle \int \frac {8 x^2+e^4 \left (2 x^2+x\right )+e^2 \left (8 x^2+4 x\right )-4 x+\left (e^4 x+4 e^2 x+4 x-4\right ) \log \left (e^4 x+4 e^2 x+4 x-4\right )}{\left (4+4 e^2+e^4\right ) x^3-4 x^2+\left (e^4 x^2+4 e^2 x^2+4 x^2-4 x\right ) \log \left (e^4 x+4 e^2 x+4 x-4\right )+\left (-2 e^4 x-8 e^2 x-8 x+8\right ) \log (5)}dx\) |
\(\Big \downarrow \) 7239 |
\(\displaystyle \int \frac {-x \left (8 x+e^4 (2 x+1)+e^2 (8 x+4)-4\right )-\left (\left (2+e^2\right )^2 x-4\right ) \log \left (\left (2+e^2\right )^2 x-4\right )}{\left (4-\left (2+e^2\right )^2 x\right ) \left (x^2+x \log \left (\left (2+e^2\right )^2 x-4\right )-2 \log (5)\right )}dx\) |
\(\Big \downarrow \) 7235 |
\(\displaystyle \log \left (x^2+x \log \left (\left (2+e^2\right )^2 x-4\right )-2 \log (5)\right )\) |
Int[(-4*x + 8*x^2 + E^4*(x + 2*x^2) + E^2*(4*x + 8*x^2) + (-4 + 4*x + 4*E^ 2*x + E^4*x)*Log[-4 + 4*x + 4*E^2*x + E^4*x])/(-4*x^2 + 4*x^3 + 4*E^2*x^3 + E^4*x^3 + (8 - 8*x - 8*E^2*x - 2*E^4*x)*Log[5] + (-4*x + 4*x^2 + 4*E^2*x ^2 + E^4*x^2)*Log[-4 + 4*x + 4*E^2*x + E^4*x]),x]
3.26.48.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_)/(y_), x_Symbol] :> With[{q = DerivativeDivides[y, u, x]}, Simp[q*L og[RemoveContent[y, x]], x] /; !FalseQ[q]]
Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; Simpl erIntegrandQ[v, u, x]]
Time = 0.63 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.21
method | result | size |
parallelrisch | \(\ln \left (\ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right ) x +x^{2}-2 \ln \left (5\right )\right )\) | \(29\) |
norman | \(\ln \left (-\ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right ) x -x^{2}+2 \ln \left (5\right )\right )\) | \(32\) |
risch | \(\ln \left (x \right )+\ln \left (\ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right )-\frac {-x^{2}+2 \ln \left (5\right )}{x}\right )\) | \(36\) |
default | \(\ln \left (-2 \,{\mathrm e}^{8} \ln \left (5\right )+\left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right ) {\mathrm e}^{4} \ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right )-16 \,{\mathrm e}^{6} \ln \left (5\right )+4 \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right ) {\mathrm e}^{2} \ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right )-48 \,{\mathrm e}^{4} \ln \left (5\right )+4 \ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right ) {\mathrm e}^{4}+\left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right )^{2}+4 \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right ) \ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right )-64 \,{\mathrm e}^{2} \ln \left (5\right )+16 \ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right ) {\mathrm e}^{2}+8 x \,{\mathrm e}^{4}+32 \,{\mathrm e}^{2} x +32 x -16-32 \ln \left (5\right )+16 \ln \left (x \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2} x +4 x -4\right )\right )\) | \(244\) |
int(((x*exp(2)^2+4*exp(2)*x+4*x-4)*ln(x*exp(2)^2+4*exp(2)*x+4*x-4)+(2*x^2+ x)*exp(2)^2+(8*x^2+4*x)*exp(2)+8*x^2-4*x)/((x^2*exp(2)^2+4*x^2*exp(2)+4*x^ 2-4*x)*ln(x*exp(2)^2+4*exp(2)*x+4*x-4)+(-2*x*exp(2)^2-8*exp(2)*x-8*x+8)*ln (5)+x^3*exp(2)^2+4*x^3*exp(2)+4*x^3-4*x^2),x,method=_RETURNVERBOSE)
Time = 0.26 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.38 \[ \int \frac {-4 x+8 x^2+e^4 \left (x+2 x^2\right )+e^2 \left (4 x+8 x^2\right )+\left (-4+4 x+4 e^2 x+e^4 x\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )}{-4 x^2+4 x^3+4 e^2 x^3+e^4 x^3+\left (8-8 x-8 e^2 x-2 e^4 x\right ) \log (5)+\left (-4 x+4 x^2+4 e^2 x^2+e^4 x^2\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )} \, dx=\log \left (x\right ) + \log \left (\frac {x^{2} + x \log \left (x e^{4} + 4 \, x e^{2} + 4 \, x - 4\right ) - 2 \, \log \left (5\right )}{x}\right ) \]
integrate(((x*exp(2)^2+4*exp(2)*x+4*x-4)*log(x*exp(2)^2+4*exp(2)*x+4*x-4)+ (2*x^2+x)*exp(2)^2+(8*x^2+4*x)*exp(2)+8*x^2-4*x)/((x^2*exp(2)^2+4*x^2*exp( 2)+4*x^2-4*x)*log(x*exp(2)^2+4*exp(2)*x+4*x-4)+(-2*x*exp(2)^2-8*exp(2)*x-8 *x+8)*log(5)+x^3*exp(2)^2+4*x^3*exp(2)+4*x^3-4*x^2),x, algorithm=\
Time = 0.41 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.33 \[ \int \frac {-4 x+8 x^2+e^4 \left (x+2 x^2\right )+e^2 \left (4 x+8 x^2\right )+\left (-4+4 x+4 e^2 x+e^4 x\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )}{-4 x^2+4 x^3+4 e^2 x^3+e^4 x^3+\left (8-8 x-8 e^2 x-2 e^4 x\right ) \log (5)+\left (-4 x+4 x^2+4 e^2 x^2+e^4 x^2\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )} \, dx=\log {\left (x \right )} + \log {\left (\log {\left (4 x + 4 x e^{2} + x e^{4} - 4 \right )} + \frac {x^{2} - 2 \log {\left (5 \right )}}{x} \right )} \]
integrate(((x*exp(2)**2+4*exp(2)*x+4*x-4)*ln(x*exp(2)**2+4*exp(2)*x+4*x-4) +(2*x**2+x)*exp(2)**2+(8*x**2+4*x)*exp(2)+8*x**2-4*x)/((x**2*exp(2)**2+4*x **2*exp(2)+4*x**2-4*x)*ln(x*exp(2)**2+4*exp(2)*x+4*x-4)+(-2*x*exp(2)**2-8* exp(2)*x-8*x+8)*ln(5)+x**3*exp(2)**2+4*x**3*exp(2)+4*x**3-4*x**2),x)
Time = 0.30 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.29 \[ \int \frac {-4 x+8 x^2+e^4 \left (x+2 x^2\right )+e^2 \left (4 x+8 x^2\right )+\left (-4+4 x+4 e^2 x+e^4 x\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )}{-4 x^2+4 x^3+4 e^2 x^3+e^4 x^3+\left (8-8 x-8 e^2 x-2 e^4 x\right ) \log (5)+\left (-4 x+4 x^2+4 e^2 x^2+e^4 x^2\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )} \, dx=\log \left (x\right ) + \log \left (\frac {x^{2} + x \log \left (x {\left (e^{4} + 4 \, e^{2} + 4\right )} - 4\right ) - 2 \, \log \left (5\right )}{x}\right ) \]
integrate(((x*exp(2)^2+4*exp(2)*x+4*x-4)*log(x*exp(2)^2+4*exp(2)*x+4*x-4)+ (2*x^2+x)*exp(2)^2+(8*x^2+4*x)*exp(2)+8*x^2-4*x)/((x^2*exp(2)^2+4*x^2*exp( 2)+4*x^2-4*x)*log(x*exp(2)^2+4*exp(2)*x+4*x-4)+(-2*x*exp(2)^2-8*exp(2)*x-8 *x+8)*log(5)+x^3*exp(2)^2+4*x^3*exp(2)+4*x^3-4*x^2),x, algorithm=\
Time = 0.32 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.21 \[ \int \frac {-4 x+8 x^2+e^4 \left (x+2 x^2\right )+e^2 \left (4 x+8 x^2\right )+\left (-4+4 x+4 e^2 x+e^4 x\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )}{-4 x^2+4 x^3+4 e^2 x^3+e^4 x^3+\left (8-8 x-8 e^2 x-2 e^4 x\right ) \log (5)+\left (-4 x+4 x^2+4 e^2 x^2+e^4 x^2\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )} \, dx=\log \left (-x^{2} - x \log \left (x e^{4} + 4 \, x e^{2} + 4 \, x - 4\right ) + 2 \, \log \left (5\right )\right ) \]
integrate(((x*exp(2)^2+4*exp(2)*x+4*x-4)*log(x*exp(2)^2+4*exp(2)*x+4*x-4)+ (2*x^2+x)*exp(2)^2+(8*x^2+4*x)*exp(2)+8*x^2-4*x)/((x^2*exp(2)^2+4*x^2*exp( 2)+4*x^2-4*x)*log(x*exp(2)^2+4*exp(2)*x+4*x-4)+(-2*x*exp(2)^2-8*exp(2)*x-8 *x+8)*log(5)+x^3*exp(2)^2+4*x^3*exp(2)+4*x^3-4*x^2),x, algorithm=\
Time = 12.57 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.38 \[ \int \frac {-4 x+8 x^2+e^4 \left (x+2 x^2\right )+e^2 \left (4 x+8 x^2\right )+\left (-4+4 x+4 e^2 x+e^4 x\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )}{-4 x^2+4 x^3+4 e^2 x^3+e^4 x^3+\left (8-8 x-8 e^2 x-2 e^4 x\right ) \log (5)+\left (-4 x+4 x^2+4 e^2 x^2+e^4 x^2\right ) \log \left (-4+4 x+4 e^2 x+e^4 x\right )} \, dx=\ln \left (\frac {x^2-\ln \left (25\right )+x\,\ln \left (4\,x+4\,x\,{\mathrm {e}}^2+x\,{\mathrm {e}}^4-4\right )}{x}\right )+\ln \left (x\right ) \]
int((log(4*x + 4*x*exp(2) + x*exp(4) - 4)*(4*x + 4*x*exp(2) + x*exp(4) - 4 ) - 4*x + exp(2)*(4*x + 8*x^2) + exp(4)*(x + 2*x^2) + 8*x^2)/(log(4*x + 4* x*exp(2) + x*exp(4) - 4)*(4*x^2*exp(2) - 4*x + x^2*exp(4) + 4*x^2) - log(5 )*(8*x + 8*x*exp(2) + 2*x*exp(4) - 8) + 4*x^3*exp(2) + x^3*exp(4) - 4*x^2 + 4*x^3),x)