Optimal. Leaf size=22 \[ e^{e^{2 x}}-x-\frac {\log ^2\left (x^2\right )}{x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {14, 2282, 2194, 2304, 2305} \begin {gather*} -\frac {\log ^2\left (x^2\right )}{x^2}+e^{e^{2 x}}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2194
Rule 2282
Rule 2304
Rule 2305
Rubi steps
\begin {gather*} \begin {aligned} \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+\operatorname {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 {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 22, normalized size = 1.00 \begin {gather*} e^{e^{2 x}}-x-\frac {\log ^2\left (x^2\right )}{x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.56, size = 43, normalized size = 1.95 \begin {gather*} -\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}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.46, size = 43, normalized size = 1.95 \begin {gather*} -\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}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 44, normalized size = 2.00
method | result | size |
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\) |
risch | \(-\frac {4 \ln \relax (x )^{2}}{x^{2}}+\frac {2 i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \left (\mathrm {csgn}\left (i x \right )^{2}-2 \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x \right )+\mathrm {csgn}\left (i x^{2}\right )^{2}\right ) \ln \relax (x )}{x^{2}}+\frac {\pi ^{2} \mathrm {csgn}\left (i x \right )^{4} \mathrm {csgn}\left (i x^{2}\right )^{2}-4 \pi ^{2} \mathrm {csgn}\left (i x \right )^{3} \mathrm {csgn}\left (i x^{2}\right )^{3}+6 \pi ^{2} \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )^{4}-4 \pi ^{2} \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{5}+\pi ^{2} \mathrm {csgn}\left (i x^{2}\right )^{6}-4 x^{3}}{4 x^{2}}+{\mathrm e}^{{\mathrm e}^{2 x}}\) | \(168\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 20, normalized size = 0.91 \begin {gather*} -x - \frac {\log \left (x^{2}\right )^{2}}{x^{2}} + e^{\left (e^{\left (2 \, x\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.97, size = 20, normalized size = 0.91 \begin {gather*} {\mathrm {e}}^{{\mathrm {e}}^{2\,x}}-x-\frac {{\ln \left (x^2\right )}^2}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.33, size = 17, normalized size = 0.77 \begin {gather*} - x + e^{e^{2 x}} - \frac {\log {\left (x^{2} \right )}^{2}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________