Integrand size = 160, antiderivative size = 27 \begin {dmath*} \int \frac {-768+448 x-64 x^2-4 x^3+x^4+\left (-192+112 x-20 x^2+x^3\right ) \log (2)+e^{-\frac {4 x}{-4+x}} \left (64-32 x+20 x^2+\left (16-8 x+x^2\right ) \log (2)\right )+\left (-384 x+224 x^2-40 x^3+2 x^4+e^{-\frac {4 x}{-4+x}} \left (32 x-16 x^2+2 x^3\right )\right ) \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )}{-192+112 x-20 x^2+x^3+e^{-\frac {4 x}{-4+x}} \left (16-8 x+x^2\right )} \, dx=x (4+\log (2))+x^2 \log \left (-12+e^{\frac {4 x}{4-x}}+x\right ) \end {dmath*}
Time = 0.18 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.81 \begin {dmath*} \int \frac {-768+448 x-64 x^2-4 x^3+x^4+\left (-192+112 x-20 x^2+x^3\right ) \log (2)+e^{-\frac {4 x}{-4+x}} \left (64-32 x+20 x^2+\left (16-8 x+x^2\right ) \log (2)\right )+\left (-384 x+224 x^2-40 x^3+2 x^4+e^{-\frac {4 x}{-4+x}} \left (32 x-16 x^2+2 x^3\right )\right ) \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )}{-192+112 x-20 x^2+x^3+e^{-\frac {4 x}{-4+x}} \left (16-8 x+x^2\right )} \, dx=x \left (4+\log (2)+x \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )\right ) \end {dmath*}
Integrate[(-768 + 448*x - 64*x^2 - 4*x^3 + x^4 + (-192 + 112*x - 20*x^2 + x^3)*Log[2] + (64 - 32*x + 20*x^2 + (16 - 8*x + x^2)*Log[2])/E^((4*x)/(-4 + x)) + (-384*x + 224*x^2 - 40*x^3 + 2*x^4 + (32*x - 16*x^2 + 2*x^3)/E^((4 *x)/(-4 + x)))*Log[-12 + E^((-4*x)/(-4 + x)) + x])/(-192 + 112*x - 20*x^2 + x^3 + (16 - 8*x + x^2)/E^((4*x)/(-4 + x))),x]
Time = 5.32 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.11, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.012, Rules used = {7293, 2009}
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 {x^4-4 x^3-64 x^2+e^{-\frac {4 x}{x-4}} \left (20 x^2+\left (x^2-8 x+16\right ) \log (2)-32 x+64\right )+\left (x^3-20 x^2+112 x-192\right ) \log (2)+\left (2 x^4-40 x^3+224 x^2+e^{-\frac {4 x}{x-4}} \left (2 x^3-16 x^2+32 x\right )-384 x\right ) \log \left (x+e^{-\frac {4 x}{x-4}}-12\right )+448 x-768}{x^3-20 x^2+e^{-\frac {4 x}{x-4}} \left (x^2-8 x+16\right )+112 x-192} \, dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \int \left (\frac {-x^2-2 x^2 \log \left (x+e^{-\frac {4 x}{x-4}}-12\right )+24 x \log \left (x+e^{-\frac {4 x}{x-4}}-12\right )-4 x \left (1+\frac {\log (2)}{4}\right )+48 \left (1+\frac {\log (2)}{4}\right )}{12-x}-\frac {x^2 \left (x^2-24 x+208\right )}{(x-12) (x-4)^2 \left (e^{\frac {4 x}{x-4}} x-12 e^{\frac {4 x}{x-4}}+1\right )}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle x^2 \log \left (x+e^{\frac {4 x}{4-x}}-12\right )-12 x+x (16+\log (2))\) |
Int[(-768 + 448*x - 64*x^2 - 4*x^3 + x^4 + (-192 + 112*x - 20*x^2 + x^3)*L og[2] + (64 - 32*x + 20*x^2 + (16 - 8*x + x^2)*Log[2])/E^((4*x)/(-4 + x)) + (-384*x + 224*x^2 - 40*x^3 + 2*x^4 + (32*x - 16*x^2 + 2*x^3)/E^((4*x)/(- 4 + x)))*Log[-12 + E^((-4*x)/(-4 + x)) + x])/(-192 + 112*x - 20*x^2 + x^3 + (16 - 8*x + x^2)/E^((4*x)/(-4 + x))),x]
3.4.44.3.1 Defintions of rubi rules used
Time = 1.72 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.96
method | result | size |
risch | \(\ln \left ({\mathrm e}^{-\frac {4 x}{x -4}}+x -12\right ) x^{2}+x \ln \left (2\right )+4 x\) | \(26\) |
parallelrisch | \(\ln \left ({\mathrm e}^{-\frac {4 x}{x -4}}+x -12\right ) x^{2}+x \ln \left (2\right )+16 \ln \left (2\right )+4 x +64\) | \(31\) |
norman | \(\frac {\left (4+\ln \left (2\right )\right ) x^{2}+\ln \left ({\mathrm e}^{-\frac {4 x}{x -4}}+x -12\right ) x^{3}-64-4 \ln \left ({\mathrm e}^{-\frac {4 x}{x -4}}+x -12\right ) x^{2}-16 \ln \left (2\right )}{x -4}\) | \(56\) |
int((((2*x^3-16*x^2+32*x)*exp(-4*x/(x-4))+2*x^4-40*x^3+224*x^2-384*x)*ln(e xp(-4*x/(x-4))+x-12)+((x^2-8*x+16)*ln(2)+20*x^2-32*x+64)*exp(-4*x/(x-4))+( x^3-20*x^2+112*x-192)*ln(2)+x^4-4*x^3-64*x^2+448*x-768)/((x^2-8*x+16)*exp( -4*x/(x-4))+x^3-20*x^2+112*x-192),x,method=_RETURNVERBOSE)
Time = 0.25 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.93 \begin {dmath*} \int \frac {-768+448 x-64 x^2-4 x^3+x^4+\left (-192+112 x-20 x^2+x^3\right ) \log (2)+e^{-\frac {4 x}{-4+x}} \left (64-32 x+20 x^2+\left (16-8 x+x^2\right ) \log (2)\right )+\left (-384 x+224 x^2-40 x^3+2 x^4+e^{-\frac {4 x}{-4+x}} \left (32 x-16 x^2+2 x^3\right )\right ) \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )}{-192+112 x-20 x^2+x^3+e^{-\frac {4 x}{-4+x}} \left (16-8 x+x^2\right )} \, dx=x^{2} \log \left (x + e^{\left (-\frac {4 \, x}{x - 4}\right )} - 12\right ) + x \log \left (2\right ) + 4 \, x \end {dmath*}
integrate((((2*x^3-16*x^2+32*x)*exp(-4*x/(x-4))+2*x^4-40*x^3+224*x^2-384*x )*log(exp(-4*x/(x-4))+x-12)+((x^2-8*x+16)*log(2)+20*x^2-32*x+64)*exp(-4*x/ (x-4))+(x^3-20*x^2+112*x-192)*log(2)+x^4-4*x^3-64*x^2+448*x-768)/((x^2-8*x +16)*exp(-4*x/(x-4))+x^3-20*x^2+112*x-192),x, algorithm=\
Time = 0.22 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.89 \begin {dmath*} \int \frac {-768+448 x-64 x^2-4 x^3+x^4+\left (-192+112 x-20 x^2+x^3\right ) \log (2)+e^{-\frac {4 x}{-4+x}} \left (64-32 x+20 x^2+\left (16-8 x+x^2\right ) \log (2)\right )+\left (-384 x+224 x^2-40 x^3+2 x^4+e^{-\frac {4 x}{-4+x}} \left (32 x-16 x^2+2 x^3\right )\right ) \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )}{-192+112 x-20 x^2+x^3+e^{-\frac {4 x}{-4+x}} \left (16-8 x+x^2\right )} \, dx=x^{2} \log {\left (x - 12 + e^{- \frac {4 x}{x - 4}} \right )} + x \left (\log {\left (2 \right )} + 4\right ) \end {dmath*}
integrate((((2*x**3-16*x**2+32*x)*exp(-4*x/(x-4))+2*x**4-40*x**3+224*x**2- 384*x)*ln(exp(-4*x/(x-4))+x-12)+((x**2-8*x+16)*ln(2)+20*x**2-32*x+64)*exp( -4*x/(x-4))+(x**3-20*x**2+112*x-192)*ln(2)+x**4-4*x**3-64*x**2+448*x-768)/ ((x**2-8*x+16)*exp(-4*x/(x-4))+x**3-20*x**2+112*x-192),x)
Leaf count of result is larger than twice the leaf count of optimal. 62 vs. \(2 (24) = 48\).
Time = 0.37 (sec) , antiderivative size = 62, normalized size of antiderivative = 2.30 \begin {dmath*} \int \frac {-768+448 x-64 x^2-4 x^3+x^4+\left (-192+112 x-20 x^2+x^3\right ) \log (2)+e^{-\frac {4 x}{-4+x}} \left (64-32 x+20 x^2+\left (16-8 x+x^2\right ) \log (2)\right )+\left (-384 x+224 x^2-40 x^3+2 x^4+e^{-\frac {4 x}{-4+x}} \left (32 x-16 x^2+2 x^3\right )\right ) \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )}{-192+112 x-20 x^2+x^3+e^{-\frac {4 x}{-4+x}} \left (16-8 x+x^2\right )} \, dx=-\frac {4 \, x^{3} - x^{2} {\left (\log \left (2\right ) + 4\right )} + 4 \, x {\left (\log \left (2\right ) - 12\right )} - {\left (x^{3} - 4 \, x^{2}\right )} \log \left ({\left (x e^{4} - 12 \, e^{4}\right )} e^{\left (\frac {16}{x - 4}\right )} + 1\right ) + 256}{x - 4} \end {dmath*}
integrate((((2*x^3-16*x^2+32*x)*exp(-4*x/(x-4))+2*x^4-40*x^3+224*x^2-384*x )*log(exp(-4*x/(x-4))+x-12)+((x^2-8*x+16)*log(2)+20*x^2-32*x+64)*exp(-4*x/ (x-4))+(x^3-20*x^2+112*x-192)*log(2)+x^4-4*x^3-64*x^2+448*x-768)/((x^2-8*x +16)*exp(-4*x/(x-4))+x^3-20*x^2+112*x-192),x, algorithm=\
-(4*x^3 - x^2*(log(2) + 4) + 4*x*(log(2) - 12) - (x^3 - 4*x^2)*log((x*e^4 - 12*e^4)*e^(16/(x - 4)) + 1) + 256)/(x - 4)
Time = 0.55 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.93 \begin {dmath*} \int \frac {-768+448 x-64 x^2-4 x^3+x^4+\left (-192+112 x-20 x^2+x^3\right ) \log (2)+e^{-\frac {4 x}{-4+x}} \left (64-32 x+20 x^2+\left (16-8 x+x^2\right ) \log (2)\right )+\left (-384 x+224 x^2-40 x^3+2 x^4+e^{-\frac {4 x}{-4+x}} \left (32 x-16 x^2+2 x^3\right )\right ) \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )}{-192+112 x-20 x^2+x^3+e^{-\frac {4 x}{-4+x}} \left (16-8 x+x^2\right )} \, dx=x^{2} \log \left (x + e^{\left (-\frac {4 \, x}{x - 4}\right )} - 12\right ) + x \log \left (2\right ) + 4 \, x \end {dmath*}
integrate((((2*x^3-16*x^2+32*x)*exp(-4*x/(x-4))+2*x^4-40*x^3+224*x^2-384*x )*log(exp(-4*x/(x-4))+x-12)+((x^2-8*x+16)*log(2)+20*x^2-32*x+64)*exp(-4*x/ (x-4))+(x^3-20*x^2+112*x-192)*log(2)+x^4-4*x^3-64*x^2+448*x-768)/((x^2-8*x +16)*exp(-4*x/(x-4))+x^3-20*x^2+112*x-192),x, algorithm=\
Time = 12.85 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.41 \begin {dmath*} \int \frac {-768+448 x-64 x^2-4 x^3+x^4+\left (-192+112 x-20 x^2+x^3\right ) \log (2)+e^{-\frac {4 x}{-4+x}} \left (64-32 x+20 x^2+\left (16-8 x+x^2\right ) \log (2)\right )+\left (-384 x+224 x^2-40 x^3+2 x^4+e^{-\frac {4 x}{-4+x}} \left (32 x-16 x^2+2 x^3\right )\right ) \log \left (-12+e^{-\frac {4 x}{-4+x}}+x\right )}{-192+112 x-20 x^2+x^3+e^{-\frac {4 x}{-4+x}} \left (16-8 x+x^2\right )} \, dx=x\,\left (\ln \left (2\right )+4\right )-\frac {\ln \left (x+{\mathrm {e}}^{-\frac {4\,x}{x-4}}-12\right )\,\left (4\,x^2-x^3\right )}{x-4} \end {dmath*}
int((448*x + log(2)*(112*x - 20*x^2 + x^3 - 192) + exp(-(4*x)/(x - 4))*(20 *x^2 - 32*x + log(2)*(x^2 - 8*x + 16) + 64) + log(x + exp(-(4*x)/(x - 4)) - 12)*(exp(-(4*x)/(x - 4))*(32*x - 16*x^2 + 2*x^3) - 384*x + 224*x^2 - 40* x^3 + 2*x^4) - 64*x^2 - 4*x^3 + x^4 - 768)/(112*x - 20*x^2 + x^3 + exp(-(4 *x)/(x - 4))*(x^2 - 8*x + 16) - 192),x)