Optimal. Leaf size=27 \[ -e^x-x (4+x)+3 \left (1+e^{2 x}+x-\log (\log (x))\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 26, normalized size of antiderivative = 0.96, number of steps
used = 6, number of rules used = 4, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6820, 2225,
2339, 29} \begin {gather*} -x^2-x-e^x+3 e^{2 x}-3 \log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 2225
Rule 2339
Rule 6820
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-1-e^x+6 e^{2 x}-2 x-\frac {3}{x \log (x)}\right ) \, dx\\ &=-x-x^2-3 \int \frac {1}{x \log (x)} \, dx+6 \int e^{2 x} \, dx-\int e^x \, dx\\ &=-e^x+3 e^{2 x}-x-x^2-3 \text {Subst}\left (\int \frac {1}{x} \, dx,x,\log (x)\right )\\ &=-e^x+3 e^{2 x}-x-x^2-3 \log (\log (x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 26, normalized size = 0.96 \begin {gather*} -e^x+3 e^{2 x}-x-x^2-3 \log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.25, size = 25, normalized size = 0.93
method | result | size |
default | \(-x^{2}-x +3 \,{\mathrm e}^{2 x}-3 \ln \left (\ln \left (x \right )\right )-{\mathrm e}^{x}\) | \(25\) |
norman | \(-x^{2}-x +3 \,{\mathrm e}^{2 x}-3 \ln \left (\ln \left (x \right )\right )-{\mathrm e}^{x}\) | \(25\) |
risch | \(-x^{2}-x +3 \,{\mathrm e}^{2 x}-3 \ln \left (\ln \left (x \right )\right )-{\mathrm e}^{x}\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 24, normalized size = 0.89 \begin {gather*} -x^{2} - x + 3 \, e^{\left (2 \, x\right )} - e^{x} - 3 \, \log \left (\log \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 24, normalized size = 0.89 \begin {gather*} -x^{2} - x + 3 \, e^{\left (2 \, x\right )} - e^{x} - 3 \, \log \left (\log \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.08, size = 20, normalized size = 0.74 \begin {gather*} - x^{2} - x + 3 e^{2 x} - e^{x} - 3 \log {\left (\log {\left (x \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 24, normalized size = 0.89 \begin {gather*} -x^{2} - x + 3 \, e^{\left (2 \, x\right )} - e^{x} - 3 \, \log \left (\log \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.94, size = 24, normalized size = 0.89 \begin {gather*} 3\,{\mathrm {e}}^{2\,x}-x-3\,\ln \left (\ln \left (x\right )\right )-{\mathrm {e}}^x-x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________