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

Optimal. Leaf size=31 \[ 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]
time = 0.01, antiderivative size = 29, normalized size of antiderivative = 0.94, number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {12} \begin {gather*} \frac {625 x^3}{256}-\frac {3125 x^2}{256}-\frac {625 e^5 (5-2 x)^2}{1024} \end {gather*}

Antiderivative was successfully verified.

[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 {gather*} \begin {aligned} \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 {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 27, normalized size = 0.87 \begin {gather*} \frac {625}{256} \left (5 e^5 x-5 x^2-e^5 x^2+x^3\right ) \end {gather*}

Antiderivative was successfully verified.

[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]
time = 0.12, size = 24, normalized size = 0.77

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 {3125 x \,{\mathrm e}^{5}}{256}+\frac {625 x^{3}}{256}-\frac {3125 x^{2}}{256}\) \(24\)
risch \(-\frac {625 x^{2} {\mathrm e}^{5}}{256}+\frac {3125 x \,{\mathrm e}^{5}}{256}+\frac {625 x^{3}}{256}-\frac {3125 x^{2}}{256}\) \(24\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [A]
time = 0.25, size = 22, normalized size = 0.71 \begin {gather*} \frac {625}{256} \, x^{3} - \frac {3125}{256} \, x^{2} - \frac {625}{256} \, {\left (x^{2} - 5 \, x\right )} e^{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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

________________________________________________________________________________________

Fricas [A]
time = 0.46, size = 22, normalized size = 0.71 \begin {gather*} \frac {625}{256} \, x^{3} - \frac {3125}{256} \, x^{2} - \frac {625}{256} \, {\left (x^{2} - 5 \, x\right )} e^{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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]
time = 0.01, size = 29, normalized size = 0.94 \begin {gather*} \frac {625 x^{3}}{256} + x^{2} \left (- \frac {625 e^{5}}{256} - \frac {3125}{256}\right ) + \frac {3125 x e^{5}}{256} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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

________________________________________________________________________________________

Giac [A]
time = 0.42, size = 22, normalized size = 0.71 \begin {gather*} \frac {625}{256} \, x^{3} - \frac {3125}{256} \, x^{2} - \frac {625}{256} \, {\left (x^{2} - 5 \, x\right )} e^{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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]
time = 0.04, size = 12, normalized size = 0.39 \begin {gather*} \frac {625\,x\,\left (x-{\mathrm {e}}^5\right )\,\left (x-5\right )}{256} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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

________________________________________________________________________________________