Optimal. Leaf size=30 \[ -x+\log \left (\frac {e^{-5+e^{-5+e x}} x}{2 x^2-\log (x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.98, antiderivative size = 26, normalized size of antiderivative = 0.87, number of steps
used = 9, number of rules used = 5, integrand size = 54, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.093, Rules used = {2641, 6874,
2225, 45, 6816} \begin {gather*} -\log \left (2 x^2-\log (x)\right )-x+e^{e x-5}+\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 2225
Rule 2641
Rule 6816
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-1+2 x^2+2 x^3-2 e^{-4+e x} x^3+\left (1-x+e^{-4+e x} x\right ) \log (x)}{x \left (-2 x^2+\log (x)\right )} \, dx\\ &=\int \left (e^{-4+e x}+\frac {1-2 x^2-2 x^3-\log (x)+x \log (x)}{x \left (2 x^2-\log (x)\right )}\right ) \, dx\\ &=\int e^{-4+e x} \, dx+\int \frac {1-2 x^2-2 x^3-\log (x)+x \log (x)}{x \left (2 x^2-\log (x)\right )} \, dx\\ &=e^{-5+e x}+\int \left (\frac {1-x}{x}+\frac {1-4 x^2}{x \left (2 x^2-\log (x)\right )}\right ) \, dx\\ &=e^{-5+e x}+\int \frac {1-x}{x} \, dx+\int \frac {1-4 x^2}{x \left (2 x^2-\log (x)\right )} \, dx\\ &=e^{-5+e x}-\log \left (2 x^2-\log (x)\right )+\int \left (-1+\frac {1}{x}\right ) \, dx\\ &=e^{-5+e x}-x+\log (x)-\log \left (2 x^2-\log (x)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.28, size = 26, normalized size = 0.87 \begin {gather*} e^{-5+e x}-x+\log (x)-\log \left (2 x^2-\log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.52, size = 25, normalized size = 0.83
method | result | size |
default | \(-x +\ln \left (x \right )-\ln \left (-2 x^{2}+\ln \left (x \right )\right )+{\mathrm e}^{x \,{\mathrm e}-5}\) | \(25\) |
risch | \(-x +\ln \left (x \right )-\ln \left (-2 x^{2}+\ln \left (x \right )\right )+{\mathrm e}^{x \,{\mathrm e}-5}\) | \(25\) |
norman | \(\ln \left (x \right )-x +{\mathrm e}^{x \,{\mathrm e}-5}-\ln \left (2 x^{2}-\ln \left (x \right )\right )\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 30, normalized size = 1.00 \begin {gather*} -{\left (x e^{5} - e^{\left (x e\right )}\right )} e^{\left (-5\right )} - \log \left (-2 \, x^{2} + \log \left (x\right )\right ) + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 36, normalized size = 1.20 \begin {gather*} -{\left (x e + e \log \left (-2 \, x^{2} + \log \left (x\right )\right ) - e \log \left (x\right ) - e^{\left (x e - 4\right )}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.13, size = 22, normalized size = 0.73 \begin {gather*} - x + e^{e x - 5} + \log {\left (x \right )} - \log {\left (- 2 x^{2} + \log {\left (x \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 36, normalized size = 1.20 \begin {gather*} -{\left (x e^{5} + e^{5} \log \left (2 \, x^{2} - \log \left (x\right )\right ) - e^{5} \log \left (x\right ) - e^{\left (x e\right )}\right )} e^{\left (-5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.66, size = 24, normalized size = 0.80 \begin {gather*} {\mathrm {e}}^{x\,\mathrm {e}-5}-x+\ln \left (x\right )-\ln \left (\ln \left (x\right )-2\,x^2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________