Optimal. Leaf size=28 \[ \frac {4 \left (-5+\frac {5}{e^{5 x^2}-\frac {e^x}{x}+x}\right )}{x^2} \]
________________________________________________________________________________________
Rubi [F] time = 2.79, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {40 e^{2 x}+40 e^{10 x^2} x^2-60 x^3+40 x^4+e^x \left (20 x-60 x^2\right )+e^{5 x^2} \left (-80 e^x x-40 x^2+80 x^3-200 x^4\right )}{e^{2 x} x^3-2 e^x x^5+e^{10 x^2} x^5+x^7+e^{5 x^2} \left (-2 e^x x^4+2 x^6\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {40 e^{2 x}+40 e^{10 x^2} x^2-60 x^3+40 x^4+e^x \left (20 x-60 x^2\right )+e^{5 x^2} \left (-80 e^x x-40 x^2+80 x^3-200 x^4\right )}{x^3 \left (e^x-e^{5 x^2} x-x^2\right )^2} \, dx\\ &=\int \left (\frac {40}{x^3}-\frac {40 \left (1+5 x^2\right )}{x^2 \left (-e^x+e^{5 x^2} x+x^2\right )}+\frac {20 \left (-e^x+e^x x-x^2-10 e^x x^2+10 x^4\right )}{x^2 \left (-e^x+e^{5 x^2} x+x^2\right )^2}\right ) \, dx\\ &=-\frac {20}{x^2}+20 \int \frac {-e^x+e^x x-x^2-10 e^x x^2+10 x^4}{x^2 \left (-e^x+e^{5 x^2} x+x^2\right )^2} \, dx-40 \int \frac {1+5 x^2}{x^2 \left (-e^x+e^{5 x^2} x+x^2\right )} \, dx\\ &=-\frac {20}{x^2}+20 \int \left (-\frac {1}{\left (e^x-e^{5 x^2} x-x^2\right )^2}-\frac {10 e^x}{\left (e^x-e^{5 x^2} x-x^2\right )^2}-\frac {e^x}{x^2 \left (e^x-e^{5 x^2} x-x^2\right )^2}+\frac {e^x}{x \left (e^x-e^{5 x^2} x-x^2\right )^2}+\frac {10 x^2}{\left (-e^x+e^{5 x^2} x+x^2\right )^2}\right ) \, dx-40 \int \left (-\frac {5}{e^x-e^{5 x^2} x-x^2}+\frac {1}{x^2 \left (-e^x+e^{5 x^2} x+x^2\right )}\right ) \, dx\\ &=-\frac {20}{x^2}-20 \int \frac {1}{\left (e^x-e^{5 x^2} x-x^2\right )^2} \, dx-20 \int \frac {e^x}{x^2 \left (e^x-e^{5 x^2} x-x^2\right )^2} \, dx+20 \int \frac {e^x}{x \left (e^x-e^{5 x^2} x-x^2\right )^2} \, dx-40 \int \frac {1}{x^2 \left (-e^x+e^{5 x^2} x+x^2\right )} \, dx-200 \int \frac {e^x}{\left (e^x-e^{5 x^2} x-x^2\right )^2} \, dx+200 \int \frac {1}{e^x-e^{5 x^2} x-x^2} \, dx+200 \int \frac {x^2}{\left (-e^x+e^{5 x^2} x+x^2\right )^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 32, normalized size = 1.14 \begin {gather*} 20 \left (-\frac {1}{x^2}+\frac {1}{x \left (-e^x+e^{5 x^2} x+x^2\right )}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 44, normalized size = 1.57 \begin {gather*} -\frac {20 \, {\left (x^{2} + x e^{\left (5 \, x^{2}\right )} - x - e^{x}\right )}}{x^{4} + x^{3} e^{\left (5 \, x^{2}\right )} - x^{2} e^{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 44, normalized size = 1.57 \begin {gather*} -\frac {20 \, {\left (x^{2} + x e^{\left (5 \, x^{2}\right )} - x - e^{x}\right )}}{x^{4} + x^{3} e^{\left (5 \, x^{2}\right )} - x^{2} e^{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 30, normalized size = 1.07
method | result | size |
risch | \(-\frac {20}{x^{2}}+\frac {20}{x \left (x^{2}+x \,{\mathrm e}^{5 x^{2}}-{\mathrm e}^{x}\right )}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 44, normalized size = 1.57 \begin {gather*} -\frac {20 \, {\left (x^{2} + x e^{\left (5 \, x^{2}\right )} - x - e^{x}\right )}}{x^{4} + x^{3} e^{\left (5 \, x^{2}\right )} - x^{2} e^{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.60, size = 29, normalized size = 1.04 \begin {gather*} \frac {20}{x\,\left (x\,{\mathrm {e}}^{5\,x^2}-{\mathrm {e}}^x+x^2\right )}-\frac {20}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.19, size = 24, normalized size = 0.86 \begin {gather*} \frac {20}{x^{3} + x^{2} e^{5 x^{2}} - x e^{x}} - \frac {20}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________