Integrand size = 98, antiderivative size = 32 \[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=4-e^{-\frac {2}{x^2}} \left (-1+\frac {3}{3+e^x}-\frac {4}{3 x}-x\right ) \] Output:
4-(3/(3+exp(x))-x-1-4/3/x)/exp(2/x^2)
Time = 5.04 (sec) , antiderivative size = 30, normalized size of antiderivative = 0.94 \[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=\frac {1}{3} e^{-\frac {2}{x^2}} \left (3-\frac {9}{3+e^x}+\frac {4}{x}+3 x\right ) \] Input:
Integrate[(144 + 72*x^2 + 27*x^4 + E^(2*x)*(16 + 12*x + 8*x^2 + 3*x^4) + E ^x*(96 + 36*x + 48*x^2 + 27*x^4))/(27*E^(2/x^2)*x^4 + 18*E^(2/x^2 + x)*x^4 + 3*E^(2/x^2 + 2*x)*x^4),x]
Output:
(3 - 9/(3 + E^x) + 4/x + 3*x)/(3*E^(2/x^2))
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 {27 x^4+72 x^2+e^{2 x} \left (3 x^4+8 x^2+12 x+16\right )+e^x \left (27 x^4+48 x^2+36 x+96\right )+144}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx\) |
\(\Big \downarrow \) 7292 |
\(\displaystyle \int \frac {e^{-\frac {2}{x^2}} \left (27 x^4+72 x^2+e^{2 x} \left (3 x^4+8 x^2+12 x+16\right )+e^x \left (27 x^4+48 x^2+36 x+96\right )+144\right )}{3 \left (e^x+3\right )^2 x^4}dx\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{3} \int \frac {e^{-\frac {2}{x^2}} \left (27 x^4+72 x^2+e^{2 x} \left (3 x^4+8 x^2+12 x+16\right )+3 e^x \left (9 x^4+16 x^2+12 x+32\right )+144\right )}{\left (3+e^x\right )^2 x^4}dx\) |
\(\Big \downarrow \) 7293 |
\(\displaystyle \frac {1}{3} \int \left (\frac {9 e^{-\frac {2}{x^2}} \left (x^3-4\right )}{\left (3+e^x\right ) x^3}+\frac {e^{-\frac {2}{x^2}} \left (3 x^4+8 x^2+12 x+16\right )}{x^4}-\frac {27 e^{-\frac {2}{x^2}}}{\left (3+e^x\right )^2}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{3} \left (-27 \int \frac {e^{-\frac {2}{x^2}}}{\left (3+e^x\right )^2}dx+9 \int \frac {e^{-\frac {2}{x^2}}}{3+e^x}dx-36 \int \frac {e^{-\frac {2}{x^2}}}{\left (3+e^x\right ) x^3}dx+3 e^{-\frac {2}{x^2}} x+3 e^{-\frac {2}{x^2}}+\frac {4 e^{-\frac {2}{x^2}}}{x}\right )\) |
Input:
Int[(144 + 72*x^2 + 27*x^4 + E^(2*x)*(16 + 12*x + 8*x^2 + 3*x^4) + E^x*(96 + 36*x + 48*x^2 + 27*x^4))/(27*E^(2/x^2)*x^4 + 18*E^(2/x^2 + x)*x^4 + 3*E ^(2/x^2 + 2*x)*x^4),x]
Output:
$Aborted
Time = 0.56 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.28
method | result | size |
risch | \(\frac {\left (3 \,{\mathrm e}^{x} x^{2}+9 x^{2}+3 \,{\mathrm e}^{x} x +4 \,{\mathrm e}^{x}+12\right ) {\mathrm e}^{-\frac {2}{x^{2}}}}{3 x \left (3+{\mathrm e}^{x}\right )}\) | \(41\) |
parallelrisch | \(-\frac {\left (-6 \,{\mathrm e}^{x} x^{3}-18 x^{3}-6 \,{\mathrm e}^{x} x^{2}-8 \,{\mathrm e}^{x} x -24 x \right ) {\mathrm e}^{-\frac {2}{x^{2}}}}{6 x^{2} \left (3+{\mathrm e}^{x}\right )}\) | \(48\) |
norman | \(\frac {\left ({\mathrm e}^{x} x^{3}+{\mathrm e}^{x} x^{4}+4 x^{2}+3 x^{4}+\frac {4 \,{\mathrm e}^{x} x^{2}}{3}\right ) {\mathrm e}^{-\frac {2}{x^{2}}}}{x^{3} \left (3+{\mathrm e}^{x}\right )}\) | \(49\) |
Input:
int(((3*x^4+8*x^2+12*x+16)*exp(x)^2+(27*x^4+48*x^2+36*x+96)*exp(x)+27*x^4+ 72*x^2+144)/(3*x^4*exp(2/x^2)*exp(x)^2+18*x^4*exp(2/x^2)*exp(x)+27*x^4*exp (2/x^2)),x,method=_RETURNVERBOSE)
Output:
1/3*(3*exp(x)*x^2+9*x^2+3*exp(x)*x+4*exp(x)+12)/x/(3+exp(x))*exp(-2/x^2)
Leaf count of result is larger than twice the leaf count of optimal. 96 vs. \(2 (28) = 56\).
Time = 0.08 (sec) , antiderivative size = 96, normalized size of antiderivative = 3.00 \[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=\frac {3 \, {\left (3 \, x^{2} + 4\right )} e^{\left (\frac {x^{3} + 2}{x^{2}} + \frac {2 \, {\left (x^{3} + 1\right )}}{x^{2}}\right )} + {\left (3 \, x^{2} + 3 \, x + 4\right )} e^{\left (\frac {4 \, {\left (x^{3} + 1\right )}}{x^{2}}\right )}}{3 \, {\left (3 \, x e^{\left (\frac {3 \, {\left (x^{3} + 2\right )}}{x^{2}}\right )} + x e^{\left (\frac {2 \, {\left (x^{3} + 2\right )}}{x^{2}} + \frac {2 \, {\left (x^{3} + 1\right )}}{x^{2}}\right )}\right )}} \] Input:
integrate(((3*x^4+8*x^2+12*x+16)*exp(x)^2+(27*x^4+48*x^2+36*x+96)*exp(x)+2 7*x^4+72*x^2+144)/(3*x^4*exp(2/x^2)*exp(x)^2+18*x^4*exp(2/x^2)*exp(x)+27*x ^4*exp(2/x^2)),x, algorithm="fricas")
Output:
1/3*(3*(3*x^2 + 4)*e^((x^3 + 2)/x^2 + 2*(x^3 + 1)/x^2) + (3*x^2 + 3*x + 4) *e^(4*(x^3 + 1)/x^2))/(3*x*e^(3*(x^3 + 2)/x^2) + x*e^(2*(x^3 + 2)/x^2 + 2* (x^3 + 1)/x^2))
Time = 0.11 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.22 \[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=- \frac {3}{e^{\frac {2}{x^{2}}} e^{x} + 3 e^{\frac {2}{x^{2}}}} + \frac {\left (3 x^{2} + 3 x + 4\right ) e^{- \frac {2}{x^{2}}}}{3 x} \] Input:
integrate(((3*x**4+8*x**2+12*x+16)*exp(x)**2+(27*x**4+48*x**2+36*x+96)*exp (x)+27*x**4+72*x**2+144)/(3*x**4*exp(2/x**2)*exp(x)**2+18*x**4*exp(2/x**2) *exp(x)+27*x**4*exp(2/x**2)),x)
Output:
-3/(exp(2/x**2)*exp(x) + 3*exp(2/x**2)) + (3*x**2 + 3*x + 4)*exp(-2/x**2)/ (3*x)
\[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=\int { \frac {27 \, x^{4} + 72 \, x^{2} + {\left (3 \, x^{4} + 8 \, x^{2} + 12 \, x + 16\right )} e^{\left (2 \, x\right )} + 3 \, {\left (9 \, x^{4} + 16 \, x^{2} + 12 \, x + 32\right )} e^{x} + 144}{3 \, {\left (x^{4} e^{\left (2 \, x + \frac {2}{x^{2}}\right )} + 6 \, x^{4} e^{\left (x + \frac {2}{x^{2}}\right )} + 9 \, x^{4} e^{\left (\frac {2}{x^{2}}\right )}\right )}} \,d x } \] Input:
integrate(((3*x^4+8*x^2+12*x+16)*exp(x)^2+(27*x^4+48*x^2+36*x+96)*exp(x)+2 7*x^4+72*x^2+144)/(3*x^4*exp(2/x^2)*exp(x)^2+18*x^4*exp(2/x^2)*exp(x)+27*x ^4*exp(2/x^2)),x, algorithm="maxima")
Output:
1/3*integrate((27*x^4 + 72*x^2 + (3*x^4 + 8*x^2 + 12*x + 16)*e^(2*x) + 3*( 9*x^4 + 16*x^2 + 12*x + 32)*e^x + 144)/(x^4*e^(2*x + 2/x^2) + 6*x^4*e^(x + 2/x^2) + 9*x^4*e^(2/x^2)), x)
Leaf count of result is larger than twice the leaf count of optimal. 92 vs. \(2 (28) = 56\).
Time = 0.12 (sec) , antiderivative size = 92, normalized size of antiderivative = 2.88 \[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=\frac {3 \, x^{2} e^{\left (\frac {x^{3} + 2}{x^{2}}\right )} + 9 \, x^{2} e^{\left (\frac {2}{x^{2}}\right )} + 3 \, x e^{\left (\frac {x^{3} + 2}{x^{2}}\right )} + 4 \, e^{\left (\frac {x^{3} + 2}{x^{2}}\right )} + 12 \, e^{\left (\frac {2}{x^{2}}\right )}}{3 \, {\left (x e^{\left (\frac {x^{3} + 2}{x^{2}} + \frac {2}{x^{2}}\right )} + 3 \, x e^{\left (\frac {4}{x^{2}}\right )}\right )}} \] Input:
integrate(((3*x^4+8*x^2+12*x+16)*exp(x)^2+(27*x^4+48*x^2+36*x+96)*exp(x)+2 7*x^4+72*x^2+144)/(3*x^4*exp(2/x^2)*exp(x)^2+18*x^4*exp(2/x^2)*exp(x)+27*x ^4*exp(2/x^2)),x, algorithm="giac")
Output:
1/3*(3*x^2*e^((x^3 + 2)/x^2) + 9*x^2*e^(2/x^2) + 3*x*e^((x^3 + 2)/x^2) + 4 *e^((x^3 + 2)/x^2) + 12*e^(2/x^2))/(x*e^((x^3 + 2)/x^2 + 2/x^2) + 3*x*e^(4 /x^2))
Time = 1.96 (sec) , antiderivative size = 40, normalized size of antiderivative = 1.25 \[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=\frac {{\mathrm {e}}^{-\frac {2}{x^2}}\,\left (4\,{\mathrm {e}}^x+3\,x^2\,{\mathrm {e}}^x+3\,x\,{\mathrm {e}}^x+9\,x^2+12\right )}{3\,x\,\left ({\mathrm {e}}^x+3\right )} \] Input:
int((exp(2*x)*(12*x + 8*x^2 + 3*x^4 + 16) + 72*x^2 + 27*x^4 + exp(x)*(36*x + 48*x^2 + 27*x^4 + 96) + 144)/(27*x^4*exp(2/x^2) + 3*x^4*exp(2*x)*exp(2/ x^2) + 18*x^4*exp(2/x^2)*exp(x)),x)
Output:
(exp(-2/x^2)*(4*exp(x) + 3*x^2*exp(x) + 3*x*exp(x) + 9*x^2 + 12))/(3*x*(ex p(x) + 3))
Time = 0.30 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.47 \[ \int \frac {144+72 x^2+27 x^4+e^{2 x} \left (16+12 x+8 x^2+3 x^4\right )+e^x \left (96+36 x+48 x^2+27 x^4\right )}{27 e^{\frac {2}{x^2}} x^4+18 e^{\frac {2}{x^2}+x} x^4+3 e^{\frac {2}{x^2}+2 x} x^4} \, dx=\frac {3 e^{x} x^{2}+3 e^{x} x +4 e^{x}+9 x^{2}+12}{3 e^{\frac {2}{x^{2}}} x \left (e^{x}+3\right )} \] Input:
int(((3*x^4+8*x^2+12*x+16)*exp(x)^2+(27*x^4+48*x^2+36*x+96)*exp(x)+27*x^4+ 72*x^2+144)/(3*x^4*exp(2/x^2)*exp(x)^2+18*x^4*exp(2/x^2)*exp(x)+27*x^4*exp (2/x^2)),x)
Output:
(3*e**x*x**2 + 3*e**x*x + 4*e**x + 9*x**2 + 12)/(3*e**(2/x**2)*x*(e**x + 3 ))