Integrand size = 175, antiderivative size = 19 \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=x^3+\frac {1}{2+\log \left (x \left (3-e^4+x\right )\right )} \]
[Out]
Time = 0.54 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.023, Rules used = {6, 6820, 6874, 6818} \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=x^3+\frac {1}{\log \left (x \left (x-e^4+3\right )\right )+2} \]
[In]
[Out]
Rule 6
Rule 6818
Rule 6820
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{\left (-12+4 e^4\right ) x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx \\ & = \int \frac {-3-2 x+36 x^3+12 x^4+e^4 \left (1-12 x^3\right )+12 x^3 \left (3-e^4+x\right ) \log \left (x \left (3-e^4+x\right )\right )+3 x^3 \left (3-e^4+x\right ) \log ^2\left (x \left (3-e^4+x\right )\right )}{x \left (3-e^4+x\right ) \left (2+\log \left (x \left (3-e^4+x\right )\right )\right )^2} \, dx \\ & = \int \left (3 x^2+\frac {3-e^4+2 x}{\left (-3+e^4-x\right ) x \left (2+\log \left (x \left (3-e^4+x\right )\right )\right )^2}\right ) \, dx \\ & = x^3+\int \frac {3-e^4+2 x}{\left (-3+e^4-x\right ) x \left (2+\log \left (x \left (3-e^4+x\right )\right )\right )^2} \, dx \\ & = x^3+\frac {1}{2+\log \left (x \left (3-e^4+x\right )\right )} \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.00 \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=x^3+\frac {1}{2+\log \left (x \left (3-e^4+x\right )\right )} \]
[In]
[Out]
Time = 1.82 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.16
method | result | size |
risch | \(x^{3}+\frac {1}{\ln \left (-x \,{\mathrm e}^{4}+x^{2}+3 x \right )+2}\) | \(22\) |
parallelrisch | \(\frac {\ln \left (-x \left ({\mathrm e}^{4}-x -3\right )\right ) x^{3}+1+2 x^{3}}{\ln \left (-x \left ({\mathrm e}^{4}-x -3\right )\right )+2}\) | \(39\) |
norman | \(\frac {x^{3} \ln \left (-x \,{\mathrm e}^{4}+x^{2}+3 x \right )+2 x^{3}+1}{\ln \left (-x \,{\mathrm e}^{4}+x^{2}+3 x \right )+2}\) | \(43\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 42 vs. \(2 (18) = 36\).
Time = 0.26 (sec) , antiderivative size = 42, normalized size of antiderivative = 2.21 \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=\frac {x^{3} \log \left (x^{2} - x e^{4} + 3 \, x\right ) + 2 \, x^{3} + 1}{\log \left (x^{2} - x e^{4} + 3 \, x\right ) + 2} \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.00 \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=x^{3} + \frac {1}{\log {\left (x^{2} - x e^{4} + 3 x \right )} + 2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 40 vs. \(2 (18) = 36\).
Time = 0.27 (sec) , antiderivative size = 40, normalized size of antiderivative = 2.11 \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=\frac {x^{3} \log \left (x - e^{4} + 3\right ) + x^{3} \log \left (x\right ) + 2 \, x^{3} + 1}{\log \left (x - e^{4} + 3\right ) + \log \left (x\right ) + 2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 42 vs. \(2 (18) = 36\).
Time = 0.37 (sec) , antiderivative size = 42, normalized size of antiderivative = 2.21 \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=\frac {x^{3} \log \left (x^{2} - x e^{4} + 3 \, x\right ) + 2 \, x^{3} + 1}{\log \left (x^{2} - x e^{4} + 3 \, x\right ) + 2} \]
[In]
[Out]
Time = 15.63 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.11 \[ \int \frac {3+2 x-36 x^3-12 x^4+e^4 \left (-1+12 x^3\right )+\left (-36 x^3+12 e^4 x^3-12 x^4\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-9 x^3+3 e^4 x^3-3 x^4\right ) \log ^2\left (3 x-e^4 x+x^2\right )}{-12 x+4 e^4 x-4 x^2+\left (-12 x+4 e^4 x-4 x^2\right ) \log \left (3 x-e^4 x+x^2\right )+\left (-3 x+e^4 x-x^2\right ) \log ^2\left (3 x-e^4 x+x^2\right )} \, dx=\frac {1}{\ln \left (3\,x-x\,{\mathrm {e}}^4+x^2\right )+2}+x^3 \]
[In]
[Out]