\(\int \frac {1}{256} (e^5 (3125-1250 x)-6250 x+1875 x^2) \, dx\) [3358]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 22, antiderivative size = 31 \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=3+\frac {625}{256} x^2 \left (-e^5+x\right ) \left (x-\frac {5-x+x^2}{x}\right ) \]

[Out]

625/256*(-exp(5)+x)*x^2*(x-(x^2-x+5)/x)+3

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.94, number of steps used = 2, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {12} \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=\frac {625 x^3}{256}-\frac {3125 x^2}{256}-\frac {625 e^5 (5-2 x)^2}{1024} \]

[In]

Int[(E^5*(3125 - 1250*x) - 6250*x + 1875*x^2)/256,x]

[Out]

(-625*E^5*(5 - 2*x)^2)/1024 - (3125*x^2)/256 + (625*x^3)/256

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{256} \int \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx \\ & = -\frac {625 e^5 (5-2 x)^2}{1024}-\frac {3125 x^2}{256}+\frac {625 x^3}{256} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.87 \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=\frac {625}{256} \left (5 e^5 x-5 x^2-e^5 x^2+x^3\right ) \]

[In]

Integrate[(E^5*(3125 - 1250*x) - 6250*x + 1875*x^2)/256,x]

[Out]

(625*(5*E^5*x - 5*x^2 - E^5*x^2 + x^3))/256

Maple [A] (verified)

Time = 0.24 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.68

method result size
gosper \(-\frac {625 x \left (x \,{\mathrm e}^{5}-x^{2}-5 \,{\mathrm e}^{5}+5 x \right )}{256}\) \(21\)
norman \(\left (-\frac {625 \,{\mathrm e}^{5}}{256}-\frac {3125}{256}\right ) x^{2}+\frac {625 x^{3}}{256}+\frac {3125 x \,{\mathrm e}^{5}}{256}\) \(22\)
default \(-\frac {625 x^{2} {\mathrm e}^{5}}{256}+\frac {625 x^{3}}{256}+\frac {3125 x \,{\mathrm e}^{5}}{256}-\frac {3125 x^{2}}{256}\) \(24\)
risch \(-\frac {625 x^{2} {\mathrm e}^{5}}{256}+\frac {625 x^{3}}{256}+\frac {3125 x \,{\mathrm e}^{5}}{256}-\frac {3125 x^{2}}{256}\) \(24\)
parallelrisch \(-\frac {625 x^{2} {\mathrm e}^{5}}{256}+\frac {625 x^{3}}{256}+\frac {3125 x \,{\mathrm e}^{5}}{256}-\frac {3125 x^{2}}{256}\) \(24\)
parts \(-\frac {625 x^{2} {\mathrm e}^{5}}{256}+\frac {625 x^{3}}{256}+\frac {3125 x \,{\mathrm e}^{5}}{256}-\frac {3125 x^{2}}{256}\) \(24\)

[In]

int(1/256*(-1250*x+3125)*exp(5)+1875/256*x^2-3125/128*x,x,method=_RETURNVERBOSE)

[Out]

-625/256*x*(x*exp(5)-x^2-5*exp(5)+5*x)

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.71 \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=\frac {625}{256} \, x^{3} - \frac {3125}{256} \, x^{2} - \frac {625}{256} \, {\left (x^{2} - 5 \, x\right )} e^{5} \]

[In]

integrate(1/256*(-1250*x+3125)*exp(5)+1875/256*x^2-3125/128*x,x, algorithm="fricas")

[Out]

625/256*x^3 - 3125/256*x^2 - 625/256*(x^2 - 5*x)*e^5

Sympy [A] (verification not implemented)

Time = 0.03 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.94 \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=\frac {625 x^{3}}{256} + x^{2} \left (- \frac {625 e^{5}}{256} - \frac {3125}{256}\right ) + \frac {3125 x e^{5}}{256} \]

[In]

integrate(1/256*(-1250*x+3125)*exp(5)+1875/256*x**2-3125/128*x,x)

[Out]

625*x**3/256 + x**2*(-625*exp(5)/256 - 3125/256) + 3125*x*exp(5)/256

Maxima [A] (verification not implemented)

none

Time = 0.18 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.71 \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=\frac {625}{256} \, x^{3} - \frac {3125}{256} \, x^{2} - \frac {625}{256} \, {\left (x^{2} - 5 \, x\right )} e^{5} \]

[In]

integrate(1/256*(-1250*x+3125)*exp(5)+1875/256*x^2-3125/128*x,x, algorithm="maxima")

[Out]

625/256*x^3 - 3125/256*x^2 - 625/256*(x^2 - 5*x)*e^5

Giac [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.71 \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=\frac {625}{256} \, x^{3} - \frac {3125}{256} \, x^{2} - \frac {625}{256} \, {\left (x^{2} - 5 \, x\right )} e^{5} \]

[In]

integrate(1/256*(-1250*x+3125)*exp(5)+1875/256*x^2-3125/128*x,x, algorithm="giac")

[Out]

625/256*x^3 - 3125/256*x^2 - 625/256*(x^2 - 5*x)*e^5

Mupad [B] (verification not implemented)

Time = 0.04 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.39 \[ \int \frac {1}{256} \left (e^5 (3125-1250 x)-6250 x+1875 x^2\right ) \, dx=\frac {625\,x\,\left (x-{\mathrm {e}}^5\right )\,\left (x-5\right )}{256} \]

[In]

int((1875*x^2)/256 - (3125*x)/128 - (exp(5)*(1250*x - 3125))/256,x)

[Out]

(625*x*(x - exp(5))*(x - 5))/256