3.98.63 \(\int \frac {1}{5} (15+e^5 (-4 x-9 x^2+4 x^3)) \, dx\) [9763]

Optimal. Leaf size=24 \[ 3 x-\frac {1}{5} e^5 \left (3+\frac {2}{x}-x\right ) x^3 \]

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 34, normalized size of antiderivative = 1.42, number of steps used = 3, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {12} \begin {gather*} \frac {e^5 x^4}{5}-\frac {3 e^5 x^3}{5}-\frac {2 e^5 x^2}{5}+3 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(15 + E^5*(-4*x - 9*x^2 + 4*x^3))/5,x]

[Out]

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

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}{5} \int \left (15+e^5 \left (-4 x-9 x^2+4 x^3\right )\right ) \, dx\\ &=3 x+\frac {1}{5} e^5 \int \left (-4 x-9 x^2+4 x^3\right ) \, dx\\ &=3 x-\frac {2 e^5 x^2}{5}-\frac {3 e^5 x^3}{5}+\frac {e^5 x^4}{5}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 34, normalized size = 1.42 \begin {gather*} 3 x-\frac {2 e^5 x^2}{5}-\frac {3 e^5 x^3}{5}+\frac {e^5 x^4}{5} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(15 + E^5*(-4*x - 9*x^2 + 4*x^3))/5,x]

[Out]

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

________________________________________________________________________________________

Maple [A]
time = 0.03, size = 26, normalized size = 1.08

method result size
gosper \(\frac {x \left (x^{3} {\mathrm e}^{5}-3 x^{2} {\mathrm e}^{5}-2 x \,{\mathrm e}^{5}+15\right )}{5}\) \(24\)
default \(\frac {x^{4} {\mathrm e}^{5}}{5}-\frac {3 x^{3} {\mathrm e}^{5}}{5}-\frac {2 x^{2} {\mathrm e}^{5}}{5}+3 x\) \(26\)
norman \(\frac {x^{4} {\mathrm e}^{5}}{5}-\frac {3 x^{3} {\mathrm e}^{5}}{5}-\frac {2 x^{2} {\mathrm e}^{5}}{5}+3 x\) \(26\)
risch \(\frac {x^{4} {\mathrm e}^{5}}{5}-\frac {3 x^{3} {\mathrm e}^{5}}{5}-\frac {2 x^{2} {\mathrm e}^{5}}{5}+3 x\) \(26\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/5*(4*x^3-9*x^2-4*x)*exp(5)+3,x,method=_RETURNVERBOSE)

[Out]

1/5*x^4*exp(5)-3/5*x^3*exp(5)-2/5*x^2*exp(5)+3*x

________________________________________________________________________________________

Maxima [A]
time = 0.26, size = 22, normalized size = 0.92 \begin {gather*} \frac {1}{5} \, {\left (x^{4} - 3 \, x^{3} - 2 \, x^{2}\right )} e^{5} + 3 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/5*(4*x^3-9*x^2-4*x)*exp(5)+3,x, algorithm="maxima")

[Out]

1/5*(x^4 - 3*x^3 - 2*x^2)*e^5 + 3*x

________________________________________________________________________________________

Fricas [A]
time = 0.37, size = 22, normalized size = 0.92 \begin {gather*} \frac {1}{5} \, {\left (x^{4} - 3 \, x^{3} - 2 \, x^{2}\right )} e^{5} + 3 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/5*(4*x^3-9*x^2-4*x)*exp(5)+3,x, algorithm="fricas")

[Out]

1/5*(x^4 - 3*x^3 - 2*x^2)*e^5 + 3*x

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 31, normalized size = 1.29 \begin {gather*} \frac {x^{4} e^{5}}{5} - \frac {3 x^{3} e^{5}}{5} - \frac {2 x^{2} e^{5}}{5} + 3 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/5*(4*x**3-9*x**2-4*x)*exp(5)+3,x)

[Out]

x**4*exp(5)/5 - 3*x**3*exp(5)/5 - 2*x**2*exp(5)/5 + 3*x

________________________________________________________________________________________

Giac [A]
time = 0.41, size = 22, normalized size = 0.92 \begin {gather*} \frac {1}{5} \, {\left (x^{4} - 3 \, x^{3} - 2 \, x^{2}\right )} e^{5} + 3 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/5*(4*x^3-9*x^2-4*x)*exp(5)+3,x, algorithm="giac")

[Out]

1/5*(x^4 - 3*x^3 - 2*x^2)*e^5 + 3*x

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 25, normalized size = 1.04 \begin {gather*} \frac {{\mathrm {e}}^5\,x^4}{5}-\frac {3\,{\mathrm {e}}^5\,x^3}{5}-\frac {2\,{\mathrm {e}}^5\,x^2}{5}+3\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(3 - (exp(5)*(4*x + 9*x^2 - 4*x^3))/5,x)

[Out]

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

________________________________________________________________________________________