Optimal. Leaf size=18 \[ -6+\frac {2}{25 \left (5-\frac {5 e^x}{x}\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.41, antiderivative size = 16, normalized size of antiderivative = 0.89, number of steps
used = 5, number of rules used = 5, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {1607, 6820, 12,
6844, 32} \begin {gather*} \frac {2}{625 \left (1-\frac {e^x}{x}\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 32
Rule 1607
Rule 6820
Rule 6844
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {e^x (4-4 x) x}{625 e^{3 x}-1875 e^{2 x} x+1875 e^x x^2-625 x^3} \, dx\\ &=\int \frac {4 e^x (1-x) x}{625 \left (e^x-x\right )^3} \, dx\\ &=\frac {4}{625} \int \frac {e^x (1-x) x}{\left (e^x-x\right )^3} \, dx\\ &=-\left (\frac {4}{625} \text {Subst}\left (\int \frac {1}{(-1+x)^3} \, dx,x,\frac {e^x}{x}\right )\right )\\ &=\frac {2}{625 \left (1-\frac {e^x}{x}\right )^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.28, size = 16, normalized size = 0.89 \begin {gather*} \frac {2 x^2}{625 \left (e^x-x\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 14, normalized size = 0.78
method | result | size |
risch | \(\frac {2 x^{2}}{625 \left (x -{\mathrm e}^{x}\right )^{2}}\) | \(14\) |
norman | \(\frac {-\frac {2 \,{\mathrm e}^{2 x}}{625}+\frac {4 \,{\mathrm e}^{x} x}{625}}{\left (x -{\mathrm e}^{x}\right )^{2}}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 20, normalized size = 1.11 \begin {gather*} \frac {2 \, x^{2}}{625 \, {\left (x^{2} - 2 \, x e^{x} + e^{\left (2 \, x\right )}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 20, normalized size = 1.11 \begin {gather*} \frac {2 \, x^{2}}{625 \, {\left (x^{2} - 2 \, x e^{x} + e^{\left (2 \, x\right )}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 22, normalized size = 1.22 \begin {gather*} \frac {2 x^{2}}{625 x^{2} - 1250 x e^{x} + 625 e^{2 x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 20, normalized size = 1.11 \begin {gather*} \frac {2 \, x^{2}}{625 \, {\left (x^{2} - 2 \, x e^{x} + e^{\left (2 \, x\right )}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.11, size = 13, normalized size = 0.72 \begin {gather*} \frac {2\,x^2}{625\,{\left (x-{\mathrm {e}}^x\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________