Optimal. Leaf size=24 \[ \frac {x^2}{-1-\frac {1}{\left (e^x-\frac {2 x}{3}\right ) x}} \]
________________________________________________________________________________________
Rubi [F] time = 1.35, 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 {24 x^3-18 e^{2 x} x^3-8 x^5+e^x \left (-27 x^2-9 x^3+24 x^4\right )}{9-12 x^2+9 e^{2 x} x^2+4 x^4+e^x \left (18 x-12 x^3\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {x^2 \left (-18 e^{2 x} x-e^x \left (27+9 x-24 x^2\right )-8 x \left (-3+x^2\right )\right )}{\left (3+3 e^x x-2 x^2\right )^2} \, dx\\ &=\int \left (-2 x+\frac {3 (-1+x) x}{-3-3 e^x x+2 x^2}-\frac {3 x \left (-3-3 x-2 x^2+2 x^3\right )}{\left (-3-3 e^x x+2 x^2\right )^2}\right ) \, dx\\ &=-x^2+3 \int \frac {(-1+x) x}{-3-3 e^x x+2 x^2} \, dx-3 \int \frac {x \left (-3-3 x-2 x^2+2 x^3\right )}{\left (-3-3 e^x x+2 x^2\right )^2} \, dx\\ &=-x^2-3 \int \left (-\frac {3 x}{\left (-3-3 e^x x+2 x^2\right )^2}-\frac {3 x^2}{\left (-3-3 e^x x+2 x^2\right )^2}-\frac {2 x^3}{\left (-3-3 e^x x+2 x^2\right )^2}+\frac {2 x^4}{\left (-3-3 e^x x+2 x^2\right )^2}\right ) \, dx+3 \int \left (-\frac {x}{-3-3 e^x x+2 x^2}+\frac {x^2}{-3-3 e^x x+2 x^2}\right ) \, dx\\ &=-x^2-3 \int \frac {x}{-3-3 e^x x+2 x^2} \, dx+3 \int \frac {x^2}{-3-3 e^x x+2 x^2} \, dx+6 \int \frac {x^3}{\left (-3-3 e^x x+2 x^2\right )^2} \, dx-6 \int \frac {x^4}{\left (-3-3 e^x x+2 x^2\right )^2} \, dx+9 \int \frac {x}{\left (-3-3 e^x x+2 x^2\right )^2} \, dx+9 \int \frac {x^2}{\left (-3-3 e^x x+2 x^2\right )^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.31, size = 26, normalized size = 1.08 \begin {gather*} -x^2+\frac {3 x^2}{3+3 e^x x-2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.58, size = 29, normalized size = 1.21 \begin {gather*} -\frac {2 \, x^{4} - 3 \, x^{3} e^{x}}{2 \, x^{2} - 3 \, x e^{x} - 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 29, normalized size = 1.21 \begin {gather*} -\frac {2 \, x^{4} - 3 \, x^{3} e^{x}}{2 \, x^{2} - 3 \, x e^{x} - 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 26, normalized size = 1.08
method | result | size |
risch | \(-x^{2}-\frac {3 x^{2}}{2 x^{2}-3 \,{\mathrm e}^{x} x -3}\) | \(26\) |
norman | \(\frac {-2 x^{4}+3 \,{\mathrm e}^{x} x^{3}}{2 x^{2}-3 \,{\mathrm e}^{x} x -3}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.60, size = 29, normalized size = 1.21 \begin {gather*} -\frac {2 \, x^{4} - 3 \, x^{3} e^{x}}{2 \, x^{2} - 3 \, x e^{x} - 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.27, size = 25, normalized size = 1.04 \begin {gather*} \frac {3\,x^2}{3\,x\,{\mathrm {e}}^x-2\,x^2+3}-x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 20, normalized size = 0.83 \begin {gather*} - x^{2} + \frac {3 x^{2}}{- 2 x^{2} + 3 x e^{x} + 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________