Integrand size = 36, antiderivative size = 16 \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=\frac {(3-x) x (111+x)^2}{\log (x)} \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(35\) vs. \(2(16)=32\).
Time = 0.22 (sec) , antiderivative size = 35, normalized size of antiderivative = 2.19, number of steps used = 25, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {6873, 6874, 2403, 2334, 2335, 2343, 2346, 2209} \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=-\frac {x^4}{\log (x)}-\frac {219 x^3}{\log (x)}-\frac {11655 x^2}{\log (x)}+\frac {36963 x}{\log (x)} \]
[In]
[Out]
Rule 2209
Rule 2334
Rule 2335
Rule 2343
Rule 2346
Rule 2403
Rule 6873
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \frac {(111+x) \left (-333+108 x+x^2+333 \log (x)-213 x \log (x)-4 x^2 \log (x)\right )}{\log ^2(x)} \, dx \\ & = \int \left (\frac {(-3+x) (111+x)^2}{\log ^2(x)}+\frac {36963-23310 x-657 x^2-4 x^3}{\log (x)}\right ) \, dx \\ & = \int \frac {(-3+x) (111+x)^2}{\log ^2(x)} \, dx+\int \frac {36963-23310 x-657 x^2-4 x^3}{\log (x)} \, dx \\ & = \int \left (-\frac {36963}{\log ^2(x)}+\frac {11655 x}{\log ^2(x)}+\frac {219 x^2}{\log ^2(x)}+\frac {x^3}{\log ^2(x)}\right ) \, dx+\int \left (\frac {36963}{\log (x)}-\frac {23310 x}{\log (x)}-\frac {657 x^2}{\log (x)}-\frac {4 x^3}{\log (x)}\right ) \, dx \\ & = -\left (4 \int \frac {x^3}{\log (x)} \, dx\right )+219 \int \frac {x^2}{\log ^2(x)} \, dx-657 \int \frac {x^2}{\log (x)} \, dx+11655 \int \frac {x}{\log ^2(x)} \, dx-23310 \int \frac {x}{\log (x)} \, dx-36963 \int \frac {1}{\log ^2(x)} \, dx+36963 \int \frac {1}{\log (x)} \, dx+\int \frac {x^3}{\log ^2(x)} \, dx \\ & = \frac {36963 x}{\log (x)}-\frac {11655 x^2}{\log (x)}-\frac {219 x^3}{\log (x)}-\frac {x^4}{\log (x)}+36963 \operatorname {LogIntegral}(x)+4 \int \frac {x^3}{\log (x)} \, dx-4 \text {Subst}\left (\int \frac {e^{4 x}}{x} \, dx,x,\log (x)\right )+657 \int \frac {x^2}{\log (x)} \, dx-657 \text {Subst}\left (\int \frac {e^{3 x}}{x} \, dx,x,\log (x)\right )+23310 \int \frac {x}{\log (x)} \, dx-23310 \text {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (x)\right )-36963 \int \frac {1}{\log (x)} \, dx \\ & = -23310 \operatorname {ExpIntegralEi}(2 \log (x))-657 \operatorname {ExpIntegralEi}(3 \log (x))-4 \operatorname {ExpIntegralEi}(4 \log (x))+\frac {36963 x}{\log (x)}-\frac {11655 x^2}{\log (x)}-\frac {219 x^3}{\log (x)}-\frac {x^4}{\log (x)}+4 \text {Subst}\left (\int \frac {e^{4 x}}{x} \, dx,x,\log (x)\right )+657 \text {Subst}\left (\int \frac {e^{3 x}}{x} \, dx,x,\log (x)\right )+23310 \text {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (x)\right ) \\ & = \frac {36963 x}{\log (x)}-\frac {11655 x^2}{\log (x)}-\frac {219 x^3}{\log (x)}-\frac {x^4}{\log (x)} \\ \end{align*}
Time = 0.13 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.94 \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=-\frac {(-3+x) x (111+x)^2}{\log (x)} \]
[In]
[Out]
Time = 0.11 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.31
method | result | size |
risch | \(-\frac {x \left (x^{3}+219 x^{2}+11655 x -36963\right )}{\ln \left (x \right )}\) | \(21\) |
norman | \(\frac {-x^{4}-219 x^{3}-11655 x^{2}+36963 x}{\ln \left (x \right )}\) | \(25\) |
parallelrisch | \(\frac {-x^{4}-219 x^{3}-11655 x^{2}+36963 x}{\ln \left (x \right )}\) | \(25\) |
default | \(-\frac {x^{4}}{\ln \left (x \right )}-\frac {219 x^{3}}{\ln \left (x \right )}-\frac {11655 x^{2}}{\ln \left (x \right )}+\frac {36963 x}{\ln \left (x \right )}\) | \(36\) |
parts | \(-\frac {x^{4}}{\ln \left (x \right )}-\frac {219 x^{3}}{\ln \left (x \right )}-\frac {11655 x^{2}}{\ln \left (x \right )}+\frac {36963 x}{\ln \left (x \right )}\) | \(36\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.44 \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=-\frac {x^{4} + 219 \, x^{3} + 11655 \, x^{2} - 36963 \, x}{\log \left (x\right )} \]
[In]
[Out]
Time = 0.04 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.19 \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=\frac {- x^{4} - 219 x^{3} - 11655 x^{2} + 36963 x}{\log {\left (x \right )}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 4 vs. order 3.
Time = 0.23 (sec) , antiderivative size = 59, normalized size of antiderivative = 3.69 \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=-4 \, {\rm Ei}\left (4 \, \log \left (x\right )\right ) - 657 \, {\rm Ei}\left (3 \, \log \left (x\right )\right ) - 23310 \, {\rm Ei}\left (2 \, \log \left (x\right )\right ) + 36963 \, {\rm Ei}\left (\log \left (x\right )\right ) - 36963 \, \Gamma \left (-1, -\log \left (x\right )\right ) + 23310 \, \Gamma \left (-1, -2 \, \log \left (x\right )\right ) + 657 \, \Gamma \left (-1, -3 \, \log \left (x\right )\right ) + 4 \, \Gamma \left (-1, -4 \, \log \left (x\right )\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 35 vs. \(2 (15) = 30\).
Time = 0.27 (sec) , antiderivative size = 35, normalized size of antiderivative = 2.19 \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=-\frac {x^{4}}{\log \left (x\right )} - \frac {219 \, x^{3}}{\log \left (x\right )} - \frac {11655 \, x^{2}}{\log \left (x\right )} + \frac {36963 \, x}{\log \left (x\right )} \]
[In]
[Out]
Time = 15.21 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.94 \[ \int \frac {-36963+11655 x+219 x^2+x^3+\left (36963-23310 x-657 x^2-4 x^3\right ) \log (x)}{\log ^2(x)} \, dx=-\frac {x\,\left (x-3\right )\,{\left (x+111\right )}^2}{\ln \left (x\right )} \]
[In]
[Out]