Optimal. Leaf size=31 \[ x+\frac {1}{2} \left (-x+\frac {x}{5 e+4 x^2 (5+x) \left (e^x+x\right )}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 2.32, 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 {25 e^2-40 x^3-12 x^4+400 x^6+160 x^7+16 x^8+e \left (5+200 x^3+40 x^4\right )+e^{2 x} \left (400 x^4+160 x^5+16 x^6\right )+e^x \left (-20 x^2-28 x^3-4 x^4+800 x^5+320 x^6+32 x^7+e \left (200 x^2+40 x^3\right )\right )}{50 e^2+800 x^6+320 x^7+32 x^8+e \left (400 x^3+80 x^4\right )+e^{2 x} \left (800 x^4+320 x^5+32 x^6\right )+e^x \left (1600 x^5+640 x^6+64 x^7+e \left (400 x^2+80 x^3\right )\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {25 e^2+40 e^{1+x} x^2 (5+x)+16 e^{2 x} x^4 (5+x)^2+5 e \left (1+40 x^3+8 x^4\right )+4 x^3 \left (-10-3 x+100 x^3+40 x^4+4 x^5\right )+4 e^x x^2 \left (-5-7 x-x^2+200 x^3+80 x^4+8 x^5\right )}{2 \left (5 e+4 e^x x^2 (5+x)+4 x^3 (5+x)\right )^2} \, dx\\ &=\frac {1}{2} \int \frac {25 e^2+40 e^{1+x} x^2 (5+x)+16 e^{2 x} x^4 (5+x)^2+5 e \left (1+40 x^3+8 x^4\right )+4 x^3 \left (-10-3 x+100 x^3+40 x^4+4 x^5\right )+4 e^x x^2 \left (-5-7 x-x^2+200 x^3+80 x^4+8 x^5\right )}{\left (5 e+4 e^x x^2 (5+x)+4 x^3 (5+x)\right )^2} \, dx\\ &=\frac {1}{2} \int \left (1-\frac {5+7 x+x^2}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )}+\frac {50 e+40 e x+5 e x^2-100 x^3+60 x^4+36 x^5+4 x^6}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2}\right ) \, dx\\ &=\frac {x}{2}-\frac {1}{2} \int \frac {5+7 x+x^2}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )} \, dx+\frac {1}{2} \int \frac {50 e+40 e x+5 e x^2-100 x^3+60 x^4+36 x^5+4 x^6}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2} \, dx\\ &=\frac {x}{2}+\frac {1}{2} \int \left (\frac {15 e}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2}+\frac {5 e x}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2}-\frac {20 x^3}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2}+\frac {16 x^4}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2}+\frac {4 x^5}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2}-\frac {25 e}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2}\right ) \, dx-\frac {1}{2} \int \left (\frac {2}{5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4}+\frac {x}{5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4}-\frac {5}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )}\right ) \, dx\\ &=\frac {x}{2}-\frac {1}{2} \int \frac {x}{5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4} \, dx+2 \int \frac {x^5}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2} \, dx+\frac {5}{2} \int \frac {1}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )} \, dx+8 \int \frac {x^4}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2} \, dx-10 \int \frac {x^3}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2} \, dx+\frac {1}{2} (5 e) \int \frac {x}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2} \, dx+\frac {1}{2} (15 e) \int \frac {1}{\left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2} \, dx-\frac {1}{2} (25 e) \int \frac {1}{(5+x) \left (5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4\right )^2} \, dx-\int \frac {1}{5 e+20 e^x x^2+20 x^3+4 e^x x^3+4 x^4} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 32, normalized size = 1.03 \begin {gather*} \frac {1}{2} x \left (1+\frac {1}{5 e+4 e^x x^2 (5+x)+4 x^3 (5+x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.80, size = 62, normalized size = 2.00 \begin {gather*} \frac {4 \, x^{5} + 20 \, x^{4} + 5 \, x e + 4 \, {\left (x^{4} + 5 \, x^{3}\right )} e^{x} + x}{2 \, {\left (4 \, x^{4} + 20 \, x^{3} + 4 \, {\left (x^{3} + 5 \, x^{2}\right )} e^{x} + 5 \, e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 2.25, size = 64, normalized size = 2.06 \begin {gather*} \frac {4 \, x^{5} + 4 \, x^{4} e^{x} + 20 \, x^{4} + 20 \, x^{3} e^{x} + 5 \, x e + x}{2 \, {\left (4 \, x^{4} + 4 \, x^{3} e^{x} + 20 \, x^{3} + 20 \, x^{2} e^{x} + 5 \, e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.41, size = 39, normalized size = 1.26
method | result | size |
risch | \(\frac {x}{2}+\frac {x}{8 \,{\mathrm e}^{x} x^{3}+8 x^{4}+40 \,{\mathrm e}^{x} x^{2}+40 x^{3}+10 \,{\mathrm e}}\) | \(39\) |
norman | \(\frac {\left (\frac {1}{2}+\frac {5 \,{\mathrm e}}{2}\right ) x -50 x^{3}-50 \,{\mathrm e}^{x} x^{2}+2 x^{5}+2 \,{\mathrm e}^{x} x^{4}-\frac {25 \,{\mathrm e}}{2}}{4 \,{\mathrm e}^{x} x^{3}+4 x^{4}+20 \,{\mathrm e}^{x} x^{2}+20 x^{3}+5 \,{\mathrm e}}\) | \(70\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.73, size = 64, normalized size = 2.06 \begin {gather*} \frac {4 \, x^{5} + 20 \, x^{4} + x {\left (5 \, e + 1\right )} + 4 \, {\left (x^{4} + 5 \, x^{3}\right )} e^{x}}{2 \, {\left (4 \, x^{4} + 20 \, x^{3} + 4 \, {\left (x^{3} + 5 \, x^{2}\right )} e^{x} + 5 \, e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {25\,{\mathrm {e}}^2+{\mathrm {e}}^x\,\left (\mathrm {e}\,\left (40\,x^3+200\,x^2\right )-20\,x^2-28\,x^3-4\,x^4+800\,x^5+320\,x^6+32\,x^7\right )+\mathrm {e}\,\left (40\,x^4+200\,x^3+5\right )+{\mathrm {e}}^{2\,x}\,\left (16\,x^6+160\,x^5+400\,x^4\right )-40\,x^3-12\,x^4+400\,x^6+160\,x^7+16\,x^8}{50\,{\mathrm {e}}^2+\mathrm {e}\,\left (80\,x^4+400\,x^3\right )+{\mathrm {e}}^{2\,x}\,\left (32\,x^6+320\,x^5+800\,x^4\right )+{\mathrm {e}}^x\,\left (\mathrm {e}\,\left (80\,x^3+400\,x^2\right )+1600\,x^5+640\,x^6+64\,x^7\right )+800\,x^6+320\,x^7+32\,x^8} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.42, size = 32, normalized size = 1.03 \begin {gather*} \frac {x}{2} + \frac {x}{8 x^{4} + 40 x^{3} + \left (8 x^{3} + 40 x^{2}\right ) e^{x} + 10 e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________