Integrand size = 73, antiderivative size = 18 \begin {dmath*} \int \left (18+2 x+e^3 \left (-18-42 x-6 x^2\right )+e^6 \left (4 x+10 x^2+4 x^3\right )+\left (e^3 (18+4 x)+e^6 \left (-6 x-6 x^2\right )\right ) \log (x)+2 e^6 x \log ^2(x)\right ) \, dx=\left (9+x-e^3 x (2+x-\log (x))\right )^2 \end {dmath*}
Leaf count is larger than twice the leaf count of optimal. \(101\) vs. \(2(18)=36\).
Time = 0.02 (sec) , antiderivative size = 101, normalized size of antiderivative = 5.61 \begin {dmath*} \int \left (18+2 x+e^3 \left (-18-42 x-6 x^2\right )+e^6 \left (4 x+10 x^2+4 x^3\right )+\left (e^3 (18+4 x)+e^6 \left (-6 x-6 x^2\right )\right ) \log (x)+2 e^6 x \log ^2(x)\right ) \, dx=18 x-36 e^3 x+x^2-22 e^3 x^2+4 e^6 x^2-2 e^3 x^3+4 e^6 x^3+e^6 x^4+18 e^3 x \log (x)+2 e^3 x^2 \log (x)-4 e^6 x^2 \log (x)-2 e^6 x^3 \log (x)+e^6 x^2 \log ^2(x) \end {dmath*}
Integrate[18 + 2*x + E^3*(-18 - 42*x - 6*x^2) + E^6*(4*x + 10*x^2 + 4*x^3) + (E^3*(18 + 4*x) + E^6*(-6*x - 6*x^2))*Log[x] + 2*E^6*x*Log[x]^2,x]
18*x - 36*E^3*x + x^2 - 22*E^3*x^2 + 4*E^6*x^2 - 2*E^3*x^3 + 4*E^6*x^3 + E ^6*x^4 + 18*E^3*x*Log[x] + 2*E^3*x^2*Log[x] - 4*E^6*x^2*Log[x] - 2*E^6*x^3 *Log[x] + E^6*x^2*Log[x]^2
Leaf count is larger than twice the leaf count of optimal. \(126\) vs. \(2(18)=36\).
Time = 0.27 (sec) , antiderivative size = 126, normalized size of antiderivative = 7.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.014, Rules used = {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 \left (e^3 \left (-6 x^2-42 x-18\right )+\left (e^6 \left (-6 x^2-6 x\right )+e^3 (4 x+18)\right ) \log (x)+e^6 \left (4 x^3+10 x^2+4 x\right )+2 x+2 e^6 x \log ^2(x)+18\right ) \, dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle e^6 x^4+4 e^6 x^3-2 e^3 x^3-2 e^6 x^3 \log (x)-\frac {1}{2} e^3 \left (2-3 e^3\right ) x^2+\frac {5 e^6 x^2}{2}-21 e^3 x^2+x^2+e^6 x^2 \log ^2(x)+e^3 \left (2-3 e^3\right ) x^2 \log (x)-e^6 x^2 \log (x)-36 e^3 x+18 x+18 e^3 x \log (x)\) |
Int[18 + 2*x + E^3*(-18 - 42*x - 6*x^2) + E^6*(4*x + 10*x^2 + 4*x^3) + (E^ 3*(18 + 4*x) + E^6*(-6*x - 6*x^2))*Log[x] + 2*E^6*x*Log[x]^2,x]
18*x - 36*E^3*x + x^2 - 21*E^3*x^2 + (5*E^6*x^2)/2 - (E^3*(2 - 3*E^3)*x^2) /2 - 2*E^3*x^3 + 4*E^6*x^3 + E^6*x^4 + 18*E^3*x*Log[x] - E^6*x^2*Log[x] + E^3*(2 - 3*E^3)*x^2*Log[x] - 2*E^6*x^3*Log[x] + E^6*x^2*Log[x]^2
3.10.84.3.1 Defintions of rubi rules used
Leaf count of result is larger than twice the leaf count of optimal. \(90\) vs. \(2(17)=34\).
Time = 0.22 (sec) , antiderivative size = 91, normalized size of antiderivative = 5.06
method | result | size |
risch | \({\mathrm e}^{6} x^{2} \ln \left (x \right )^{2}-2 x^{3} {\mathrm e}^{6} \ln \left (x \right )+{\mathrm e}^{6} x^{4}-4 \ln \left (x \right ) {\mathrm e}^{6} x^{2}+4 x^{3} {\mathrm e}^{6}+2 \ln \left (x \right ) {\mathrm e}^{3} x^{2}+4 x^{2} {\mathrm e}^{6}-2 x^{3} {\mathrm e}^{3}+18 x \,{\mathrm e}^{3} \ln \left (x \right )-22 x^{2} {\mathrm e}^{3}-36 x \,{\mathrm e}^{3}+x^{2}+18 x\) | \(91\) |
norman | \({\mathrm e}^{6} x^{4}+\left (18-36 \,{\mathrm e}^{3}\right ) x +\left (4 \,{\mathrm e}^{6}-2 \,{\mathrm e}^{3}\right ) x^{3}+\left (1+4 \,{\mathrm e}^{6}-22 \,{\mathrm e}^{3}\right ) x^{2}+{\mathrm e}^{6} x^{2} \ln \left (x \right )^{2}+\left (-4 \,{\mathrm e}^{6}+2 \,{\mathrm e}^{3}\right ) x^{2} \ln \left (x \right )+18 x \,{\mathrm e}^{3} \ln \left (x \right )-2 x^{3} {\mathrm e}^{6} \ln \left (x \right )\) | \(96\) |
parallelrisch | \({\mathrm e}^{6} x^{2} \ln \left (x \right )^{2}-2 x^{3} {\mathrm e}^{6} \ln \left (x \right )+{\mathrm e}^{6} x^{4}-4 \ln \left (x \right ) {\mathrm e}^{6} x^{2}+4 x^{3} {\mathrm e}^{6}+2 \ln \left (x \right ) {\mathrm e}^{3} x^{2}+4 x^{2} {\mathrm e}^{6}-2 x^{3} {\mathrm e}^{3}+18 x \,{\mathrm e}^{3} \ln \left (x \right )-22 x^{2} {\mathrm e}^{3}-36 x \,{\mathrm e}^{3}+x^{2}+18 x\) | \(103\) |
default | \(18 x -6 \,{\mathrm e}^{6} \left (\frac {x^{3} \ln \left (x \right )}{3}-\frac {x^{3}}{9}\right )-6 \,{\mathrm e}^{6} \left (\frac {x^{2} \ln \left (x \right )}{2}-\frac {x^{2}}{4}\right )+4 \,{\mathrm e}^{3} \left (\frac {x^{2} \ln \left (x \right )}{2}-\frac {x^{2}}{4}\right )+18 \,{\mathrm e}^{3} \left (x \ln \left (x \right )-x \right )+6 \,{\mathrm e}^{3} \left (-\frac {1}{3} x^{3}-\frac {7}{2} x^{2}-3 x \right )+2 \,{\mathrm e}^{6} \left (\frac {1}{2} x^{4}+\frac {5}{3} x^{3}+x^{2}\right )+x^{2}+2 \,{\mathrm e}^{6} \left (\frac {x^{2} \ln \left (x \right )^{2}}{2}-\frac {x^{2} \ln \left (x \right )}{2}+\frac {x^{2}}{4}\right )\) | \(141\) |
parts | \(18 x -6 \,{\mathrm e}^{6} \left (\frac {x^{3} \ln \left (x \right )}{3}-\frac {x^{3}}{9}\right )-6 \,{\mathrm e}^{6} \left (\frac {x^{2} \ln \left (x \right )}{2}-\frac {x^{2}}{4}\right )+4 \,{\mathrm e}^{3} \left (\frac {x^{2} \ln \left (x \right )}{2}-\frac {x^{2}}{4}\right )+18 \,{\mathrm e}^{3} \left (x \ln \left (x \right )-x \right )+x^{2}-21 x^{2} {\mathrm e}^{3}+2 x^{2} {\mathrm e}^{6}-2 x^{3} {\mathrm e}^{3}+\frac {10 x^{3} {\mathrm e}^{6}}{3}+{\mathrm e}^{6} x^{4}+2 \,{\mathrm e}^{6} \left (\frac {x^{2} \ln \left (x \right )^{2}}{2}-\frac {x^{2} \ln \left (x \right )}{2}+\frac {x^{2}}{4}\right )-18 x \,{\mathrm e}^{3}\) | \(148\) |
int(2*x*exp(3)^2*ln(x)^2+((-6*x^2-6*x)*exp(3)^2+(4*x+18)*exp(3))*ln(x)+(4* x^3+10*x^2+4*x)*exp(3)^2+(-6*x^2-42*x-18)*exp(3)+2*x+18,x,method=_RETURNVE RBOSE)
exp(6)*x^2*ln(x)^2-2*x^3*exp(6)*ln(x)+exp(6)*x^4-4*ln(x)*exp(6)*x^2+4*x^3* exp(6)+2*ln(x)*exp(3)*x^2+4*x^2*exp(6)-2*x^3*exp(3)+18*x*exp(3)*ln(x)-22*x ^2*exp(3)-36*x*exp(3)+x^2+18*x
Leaf count of result is larger than twice the leaf count of optimal. 78 vs. \(2 (18) = 36\).
Time = 0.28 (sec) , antiderivative size = 78, normalized size of antiderivative = 4.33 \begin {dmath*} \int \left (18+2 x+e^3 \left (-18-42 x-6 x^2\right )+e^6 \left (4 x+10 x^2+4 x^3\right )+\left (e^3 (18+4 x)+e^6 \left (-6 x-6 x^2\right )\right ) \log (x)+2 e^6 x \log ^2(x)\right ) \, dx=x^{2} e^{6} \log \left (x\right )^{2} + x^{2} + {\left (x^{4} + 4 \, x^{3} + 4 \, x^{2}\right )} e^{6} - 2 \, {\left (x^{3} + 11 \, x^{2} + 18 \, x\right )} e^{3} - 2 \, {\left ({\left (x^{3} + 2 \, x^{2}\right )} e^{6} - {\left (x^{2} + 9 \, x\right )} e^{3}\right )} \log \left (x\right ) + 18 \, x \end {dmath*}
integrate(2*x*exp(3)^2*log(x)^2+((-6*x^2-6*x)*exp(3)^2+(4*x+18)*exp(3))*lo g(x)+(4*x^3+10*x^2+4*x)*exp(3)^2+(-6*x^2-42*x-18)*exp(3)+2*x+18,x, algorit hm=\
x^2*e^6*log(x)^2 + x^2 + (x^4 + 4*x^3 + 4*x^2)*e^6 - 2*(x^3 + 11*x^2 + 18* x)*e^3 - 2*((x^3 + 2*x^2)*e^6 - (x^2 + 9*x)*e^3)*log(x) + 18*x
Leaf count of result is larger than twice the leaf count of optimal. 90 vs. \(2 (15) = 30\).
Time = 0.13 (sec) , antiderivative size = 90, normalized size of antiderivative = 5.00 \begin {dmath*} \int \left (18+2 x+e^3 \left (-18-42 x-6 x^2\right )+e^6 \left (4 x+10 x^2+4 x^3\right )+\left (e^3 (18+4 x)+e^6 \left (-6 x-6 x^2\right )\right ) \log (x)+2 e^6 x \log ^2(x)\right ) \, dx=x^{4} e^{6} + x^{3} \left (- 2 e^{3} + 4 e^{6}\right ) + x^{2} e^{6} \log {\left (x \right )}^{2} + x^{2} \left (- 22 e^{3} + 1 + 4 e^{6}\right ) + x \left (18 - 36 e^{3}\right ) + \left (- 2 x^{3} e^{6} - 4 x^{2} e^{6} + 2 x^{2} e^{3} + 18 x e^{3}\right ) \log {\left (x \right )} \end {dmath*}
integrate(2*x*exp(3)**2*ln(x)**2+((-6*x**2-6*x)*exp(3)**2+(4*x+18)*exp(3)) *ln(x)+(4*x**3+10*x**2+4*x)*exp(3)**2+(-6*x**2-42*x-18)*exp(3)+2*x+18,x)
x**4*exp(6) + x**3*(-2*exp(3) + 4*exp(6)) + x**2*exp(6)*log(x)**2 + x**2*( -22*exp(3) + 1 + 4*exp(6)) + x*(18 - 36*exp(3)) + (-2*x**3*exp(6) - 4*x**2 *exp(6) + 2*x**2*exp(3) + 18*x*exp(3))*log(x)
Leaf count of result is larger than twice the leaf count of optimal. 120 vs. \(2 (18) = 36\).
Time = 0.19 (sec) , antiderivative size = 120, normalized size of antiderivative = 6.67 \begin {dmath*} \int \left (18+2 x+e^3 \left (-18-42 x-6 x^2\right )+e^6 \left (4 x+10 x^2+4 x^3\right )+\left (e^3 (18+4 x)+e^6 \left (-6 x-6 x^2\right )\right ) \log (x)+2 e^6 x \log ^2(x)\right ) \, dx=\frac {1}{2} \, {\left (2 \, \log \left (x\right )^{2} - 2 \, \log \left (x\right ) + 1\right )} x^{2} e^{6} + \frac {2}{3} \, x^{3} e^{6} + \frac {1}{2} \, x^{2} {\left (3 \, e^{6} - 2 \, e^{3}\right )} + x^{2} + \frac {1}{3} \, {\left (3 \, x^{4} + 10 \, x^{3} + 6 \, x^{2}\right )} e^{6} - {\left (2 \, x^{3} + 21 \, x^{2} + 18 \, x\right )} e^{3} - 18 \, x e^{3} - {\left ({\left (2 \, x^{3} + 3 \, x^{2}\right )} e^{6} - 2 \, {\left (x^{2} + 9 \, x\right )} e^{3}\right )} \log \left (x\right ) + 18 \, x \end {dmath*}
integrate(2*x*exp(3)^2*log(x)^2+((-6*x^2-6*x)*exp(3)^2+(4*x+18)*exp(3))*lo g(x)+(4*x^3+10*x^2+4*x)*exp(3)^2+(-6*x^2-42*x-18)*exp(3)+2*x+18,x, algorit hm=\
1/2*(2*log(x)^2 - 2*log(x) + 1)*x^2*e^6 + 2/3*x^3*e^6 + 1/2*x^2*(3*e^6 - 2 *e^3) + x^2 + 1/3*(3*x^4 + 10*x^3 + 6*x^2)*e^6 - (2*x^3 + 21*x^2 + 18*x)*e ^3 - 18*x*e^3 - ((2*x^3 + 3*x^2)*e^6 - 2*(x^2 + 9*x)*e^3)*log(x) + 18*x
Leaf count of result is larger than twice the leaf count of optimal. 129 vs. \(2 (18) = 36\).
Time = 0.28 (sec) , antiderivative size = 129, normalized size of antiderivative = 7.17 \begin {dmath*} \int \left (18+2 x+e^3 \left (-18-42 x-6 x^2\right )+e^6 \left (4 x+10 x^2+4 x^3\right )+\left (e^3 (18+4 x)+e^6 \left (-6 x-6 x^2\right )\right ) \log (x)+2 e^6 x \log ^2(x)\right ) \, dx=-2 \, x^{3} e^{6} \log \left (x\right ) + \frac {2}{3} \, x^{3} e^{6} - 3 \, x^{2} e^{6} \log \left (x\right ) + 2 \, x^{2} e^{3} \log \left (x\right ) + \frac {3}{2} \, x^{2} e^{6} - x^{2} e^{3} + 18 \, x e^{3} \log \left (x\right ) + x^{2} + \frac {1}{3} \, {\left (3 \, x^{4} + 10 \, x^{3} + 6 \, x^{2}\right )} e^{6} + \frac {1}{2} \, {\left (2 \, x^{2} \log \left (x\right )^{2} - 2 \, x^{2} \log \left (x\right ) + x^{2}\right )} e^{6} - {\left (2 \, x^{3} + 21 \, x^{2} + 18 \, x\right )} e^{3} - 18 \, x e^{3} + 18 \, x \end {dmath*}
integrate(2*x*exp(3)^2*log(x)^2+((-6*x^2-6*x)*exp(3)^2+(4*x+18)*exp(3))*lo g(x)+(4*x^3+10*x^2+4*x)*exp(3)^2+(-6*x^2-42*x-18)*exp(3)+2*x+18,x, algorit hm=\
-2*x^3*e^6*log(x) + 2/3*x^3*e^6 - 3*x^2*e^6*log(x) + 2*x^2*e^3*log(x) + 3/ 2*x^2*e^6 - x^2*e^3 + 18*x*e^3*log(x) + x^2 + 1/3*(3*x^4 + 10*x^3 + 6*x^2) *e^6 + 1/2*(2*x^2*log(x)^2 - 2*x^2*log(x) + x^2)*e^6 - (2*x^3 + 21*x^2 + 1 8*x)*e^3 - 18*x*e^3 + 18*x
Time = 15.22 (sec) , antiderivative size = 74, normalized size of antiderivative = 4.11 \begin {dmath*} \int \left (18+2 x+e^3 \left (-18-42 x-6 x^2\right )+e^6 \left (4 x+10 x^2+4 x^3\right )+\left (e^3 (18+4 x)+e^6 \left (-6 x-6 x^2\right )\right ) \log (x)+2 e^6 x \log ^2(x)\right ) \, dx=x^2\,\left ({\mathrm {e}}^6\,{\ln \left (x\right )}^2+\left (2\,{\mathrm {e}}^3-4\,{\mathrm {e}}^6\right )\,\ln \left (x\right )-22\,{\mathrm {e}}^3+4\,{\mathrm {e}}^6+1\right )+x^4\,{\mathrm {e}}^6+x\,\left (18\,{\mathrm {e}}^3\,\ln \left (x\right )-36\,{\mathrm {e}}^3+18\right )-x^3\,\left (2\,{\mathrm {e}}^3-4\,{\mathrm {e}}^6+2\,{\mathrm {e}}^6\,\ln \left (x\right )\right ) \end {dmath*}
int(2*x - exp(3)*(42*x + 6*x^2 + 18) + exp(6)*(4*x + 10*x^2 + 4*x^3) - log (x)*(exp(6)*(6*x + 6*x^2) - exp(3)*(4*x + 18)) + 2*x*exp(6)*log(x)^2 + 18, x)