\(\int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx\) [5486]

   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 = 17, antiderivative size = 24 \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=-2+\frac {e^x}{3}+\frac {(4+3 x)^2}{e^2}-\log (5) \]

[Out]

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

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.92, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {12, 2225} \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=\frac {9 x^2}{e^2}+\frac {24 x}{e^2}+\frac {e^x}{3} \]

[In]

Int[(72 + E^(2 + x) + 54*x)/(3*E^2),x]

[Out]

E^x/3 + (24*x)/E^2 + (9*x^2)/E^2

Rule 12

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

Rule 2225

Int[((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.), x_Symbol] :> Simp[(F^(c*(a + b*x)))^n/(b*c*n*Log[F]), x] /; Fre
eQ[{F, a, b, c, n}, x]

Rubi steps \begin{align*} \text {integral}& = \frac {\int \left (72+e^{2+x}+54 x\right ) \, dx}{3 e^2} \\ & = \frac {24 x}{e^2}+\frac {9 x^2}{e^2}+\frac {\int e^{2+x} \, dx}{3 e^2} \\ & = \frac {e^x}{3}+\frac {24 x}{e^2}+\frac {9 x^2}{e^2} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.88 \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=\frac {e^{2+x}+72 x+27 x^2}{3 e^2} \]

[In]

Integrate[(72 + E^(2 + x) + 54*x)/(3*E^2),x]

[Out]

(E^(2 + x) + 72*x + 27*x^2)/(3*E^2)

Maple [A] (verified)

Time = 0.03 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.75

method result size
risch \(24 \,{\mathrm e}^{-2} x +9 x^{2} {\mathrm e}^{-2}+\frac {{\mathrm e}^{x}}{3}\) \(18\)
default \(\frac {{\mathrm e}^{-2} \left (72 x +{\mathrm e}^{2} {\mathrm e}^{x}+27 x^{2}\right )}{3}\) \(21\)
parallelrisch \(\frac {{\mathrm e}^{-2} \left (72 x +{\mathrm e}^{2} {\mathrm e}^{x}+27 x^{2}\right )}{3}\) \(21\)
parts \(6 \,{\mathrm e}^{-2} \left (4 x +\frac {3}{2} x^{2}\right )+\frac {{\mathrm e}^{x}}{3}\) \(21\)
norman \(24 \,{\mathrm e}^{-2} x +9 x^{2} {\mathrm e}^{-2}+\frac {{\mathrm e}^{x}}{3}\) \(22\)

[In]

int(1/3*(exp(2)*exp(x)+54*x+72)/exp(2),x,method=_RETURNVERBOSE)

[Out]

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

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.71 \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=\frac {1}{3} \, {\left (27 \, x^{2} + 72 \, x + e^{\left (x + 2\right )}\right )} e^{\left (-2\right )} \]

[In]

integrate(1/3*(exp(2)*exp(x)+54*x+72)/exp(2),x, algorithm="fricas")

[Out]

1/3*(27*x^2 + 72*x + e^(x + 2))*e^(-2)

Sympy [A] (verification not implemented)

Time = 0.05 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.79 \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=\frac {9 x^{2}}{e^{2}} + \frac {24 x}{e^{2}} + \frac {e^{x}}{3} \]

[In]

integrate(1/3*(exp(2)*exp(x)+54*x+72)/exp(2),x)

[Out]

9*x**2*exp(-2) + 24*x*exp(-2) + exp(x)/3

Maxima [A] (verification not implemented)

none

Time = 0.17 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.71 \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=\frac {1}{3} \, {\left (27 \, x^{2} + 72 \, x + e^{\left (x + 2\right )}\right )} e^{\left (-2\right )} \]

[In]

integrate(1/3*(exp(2)*exp(x)+54*x+72)/exp(2),x, algorithm="maxima")

[Out]

1/3*(27*x^2 + 72*x + e^(x + 2))*e^(-2)

Giac [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.71 \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=\frac {1}{3} \, {\left (27 \, x^{2} + 72 \, x + e^{\left (x + 2\right )}\right )} e^{\left (-2\right )} \]

[In]

integrate(1/3*(exp(2)*exp(x)+54*x+72)/exp(2),x, algorithm="giac")

[Out]

1/3*(27*x^2 + 72*x + e^(x + 2))*e^(-2)

Mupad [B] (verification not implemented)

Time = 0.07 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.71 \[ \int \frac {72+e^{2+x}+54 x}{3 e^2} \, dx=\frac {{\mathrm {e}}^x}{3}+24\,x\,{\mathrm {e}}^{-2}+9\,x^2\,{\mathrm {e}}^{-2} \]

[In]

int(exp(-2)*(18*x + (exp(2)*exp(x))/3 + 24),x)

[Out]

exp(x)/3 + 24*x*exp(-2) + 9*x^2*exp(-2)