Optimal. Leaf size=18 \[ \frac {1}{-2-\frac {4 x}{2-e^2}+\log (x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.16, antiderivative size = 35, normalized size of antiderivative = 1.94, number of steps
used = 4, number of rules used = 4, integrand size = 106, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {6, 6820, 12,
6818} \begin {gather*} -\frac {2-e^2}{4 x-\left (2-e^2\right ) \log (x)+2 \left (2-e^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rule 12
Rule 6818
Rule 6820
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-4-e^4+e^2 (4-4 x)+8 x}{\left (16+4 e^4\right ) x+32 x^2+16 x^3+e^2 \left (-16 x-16 x^2\right )+\left (-16 x-4 e^4 x-16 x^2+e^2 \left (16 x+8 x^2\right )\right ) \log (x)+\left (4 x-4 e^2 x+e^4 x\right ) \log ^2(x)} \, dx\\ &=\int \frac {\left (2-e^2\right ) \left (-2+e^2+4 x\right )}{x \left (4 \left (1-\frac {e^2}{2}\right )+4 x+\left (-2+e^2\right ) \log (x)\right )^2} \, dx\\ &=\left (2-e^2\right ) \int \frac {-2+e^2+4 x}{x \left (4 \left (1-\frac {e^2}{2}\right )+4 x+\left (-2+e^2\right ) \log (x)\right )^2} \, dx\\ &=-\frac {2-e^2}{2 \left (2-e^2\right )+4 x-\left (2-e^2\right ) \log (x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 26, normalized size = 1.44 \begin {gather*} \frac {-2+e^2}{4-2 e^2+4 x+\left (-2+e^2\right ) \log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.62, size = 29, normalized size = 1.61
method | result | size |
norman | \(\frac {{\mathrm e}^{2}-2}{{\mathrm e}^{2} \ln \left (x \right )-2 \,{\mathrm e}^{2}-2 \ln \left (x \right )+4 x +4}\) | \(26\) |
default | \(-\frac {2-{\mathrm e}^{2}}{{\mathrm e}^{2} \ln \left (x \right )-2 \,{\mathrm e}^{2}-2 \ln \left (x \right )+4 x +4}\) | \(29\) |
risch | \(\frac {{\mathrm e}^{2}}{{\mathrm e}^{2} \ln \left (x \right )-2 \,{\mathrm e}^{2}-2 \ln \left (x \right )+4 x +4}-\frac {2}{{\mathrm e}^{2} \ln \left (x \right )-2 \,{\mathrm e}^{2}-2 \ln \left (x \right )+4 x +4}\) | \(47\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 23, normalized size = 1.28 \begin {gather*} \frac {e^{2} - 2}{{\left (e^{2} - 2\right )} \log \left (x\right ) + 4 \, x - 2 \, e^{2} + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 23, normalized size = 1.28 \begin {gather*} \frac {e^{2} - 2}{{\left (e^{2} - 2\right )} \log \left (x\right ) + 4 \, x - 2 \, e^{2} + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.08, size = 22, normalized size = 1.22 \begin {gather*} \frac {-2 + e^{2}}{4 x + \left (-2 + e^{2}\right ) \log {\left (x \right )} - 2 e^{2} + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 25, normalized size = 1.39 \begin {gather*} \frac {e^{2} - 2}{e^{2} \log \left (x\right ) + 4 \, x - 2 \, e^{2} - 2 \, \log \left (x\right ) + 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.31, size = 25, normalized size = 1.39 \begin {gather*} \frac {{\mathrm {e}}^2-2}{4\,x-2\,{\mathrm {e}}^2-2\,\ln \left (x\right )+{\mathrm {e}}^2\,\ln \left (x\right )+4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________