Integrand size = 40, antiderivative size = 22 \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx=e^{e^{2 x}}-x-\frac {\log ^2\left (x^2\right )}{x^2} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {14, 2320, 2225, 2341, 2342} \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx=-\frac {\log ^2\left (x^2\right )}{x^2}+e^{e^{2 x}}-x \]
[In]
[Out]
Rule 14
Rule 2225
Rule 2320
Rule 2341
Rule 2342
Rubi steps \begin{align*} \text {integral}& = \int \left (2 e^{e^{2 x}+2 x}+\frac {-x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3}\right ) \, dx \\ & = 2 \int e^{e^{2 x}+2 x} \, dx+\int \frac {-x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx \\ & = \int \left (-1-\frac {4 \log \left (x^2\right )}{x^3}+\frac {2 \log ^2\left (x^2\right )}{x^3}\right ) \, dx+\text {Subst}\left (\int e^x \, dx,x,e^{2 x}\right ) \\ & = e^{e^{2 x}}-x+2 \int \frac {\log ^2\left (x^2\right )}{x^3} \, dx-4 \int \frac {\log \left (x^2\right )}{x^3} \, dx \\ & = e^{e^{2 x}}+\frac {2}{x^2}-x+\frac {2 \log \left (x^2\right )}{x^2}-\frac {\log ^2\left (x^2\right )}{x^2}+4 \int \frac {\log \left (x^2\right )}{x^3} \, dx \\ & = e^{e^{2 x}}-x-\frac {\log ^2\left (x^2\right )}{x^2} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 22, normalized size of antiderivative = 1.00 \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx=e^{e^{2 x}}-x-\frac {\log ^2\left (x^2\right )}{x^2} \]
[In]
[Out]
Time = 0.13 (sec) , antiderivative size = 30, normalized size of antiderivative = 1.36
method | result | size |
parallelrisch | \(\frac {-2 x^{3}+2 x^{2} {\mathrm e}^{{\mathrm e}^{2 x}}-2 \ln \left (x^{2}\right )^{2}}{2 x^{2}}\) | \(30\) |
default | \(-x +\frac {2 \ln \left (x^{2}\right )}{x^{2}}+\frac {2}{x^{2}}+\frac {-2-\ln \left (x^{2}\right )^{2}-2 \ln \left (x^{2}\right )}{x^{2}}+{\mathrm e}^{{\mathrm e}^{2 x}}\) | \(44\) |
parts | \(-x +\frac {2 \ln \left (x^{2}\right )}{x^{2}}+\frac {2}{x^{2}}+\frac {-2-\ln \left (x^{2}\right )^{2}-2 \ln \left (x^{2}\right )}{x^{2}}+{\mathrm e}^{{\mathrm e}^{2 x}}\) | \(44\) |
risch | \(-\frac {4 \ln \left (x \right )^{2}}{x^{2}}+\frac {2 i \pi \,\operatorname {csgn}\left (i x^{2}\right ) \left (\operatorname {csgn}\left (i x \right )^{2}-2 \,\operatorname {csgn}\left (i x^{2}\right ) \operatorname {csgn}\left (i x \right )+\operatorname {csgn}\left (i x^{2}\right )^{2}\right ) \ln \left (x \right )}{x^{2}}+\frac {\pi ^{2} \operatorname {csgn}\left (i x \right )^{4} \operatorname {csgn}\left (i x^{2}\right )^{2}-4 \pi ^{2} \operatorname {csgn}\left (i x \right )^{3} \operatorname {csgn}\left (i x^{2}\right )^{3}+6 \pi ^{2} \operatorname {csgn}\left (i x \right )^{2} \operatorname {csgn}\left (i x^{2}\right )^{4}-4 \pi ^{2} \operatorname {csgn}\left (i x \right ) \operatorname {csgn}\left (i x^{2}\right )^{5}+\pi ^{2} \operatorname {csgn}\left (i x^{2}\right )^{6}-4 x^{3}}{4 x^{2}}+{\mathrm e}^{{\mathrm e}^{2 x}}\) | \(168\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 43 vs. \(2 (20) = 40\).
Time = 0.28 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.95 \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx=-\frac {{\left (x^{3} e^{\left (2 \, x\right )} - x^{2} e^{\left (2 \, x + e^{\left (2 \, x\right )}\right )} + e^{\left (2 \, x\right )} \log \left (x^{2}\right )^{2}\right )} e^{\left (-2 \, x\right )}}{x^{2}} \]
[In]
[Out]
Time = 0.11 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.77 \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx=- x + e^{e^{2 x}} - \frac {\log {\left (x^{2} \right )}^{2}}{x^{2}} \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.91 \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx=-x - \frac {\log \left (x^{2}\right )^{2}}{x^{2}} + e^{\left (e^{\left (2 \, x\right )}\right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 43 vs. \(2 (20) = 40\).
Time = 0.25 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.95 \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx=-\frac {{\left (x^{3} e^{\left (2 \, x\right )} - x^{2} e^{\left (2 \, x + e^{\left (2 \, x\right )}\right )} + e^{\left (2 \, x\right )} \log \left (x^{2}\right )^{2}\right )} e^{\left (-2 \, x\right )}}{x^{2}} \]
[In]
[Out]
Time = 8.75 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.91 \[ \int \frac {-x^3+2 e^{e^{2 x}+2 x} x^3-4 \log \left (x^2\right )+2 \log ^2\left (x^2\right )}{x^3} \, dx={\mathrm {e}}^{{\mathrm {e}}^{2\,x}}-x-\frac {{\ln \left (x^2\right )}^2}{x^2} \]
[In]
[Out]