3.2.5 \(\int (3 e^{4+3 x} (5+4 e^2+2 e^4)+e^{2 x} (1+2 x)) \, dx\)

Optimal. Leaf size=25 \[ e^{2 x} \left (e^{4+x} \left (3+2 \left (1+e^2\right )^2\right )+x\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 44, normalized size of antiderivative = 1.76, number of steps used = 4, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {2194, 2176} \begin {gather*} \frac {1}{2} e^{2 x} (2 x+1)-\frac {e^{2 x}}{2}+\left (5+4 e^2+2 e^4\right ) e^{3 x+4} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[3*E^(4 + 3*x)*(5 + 4*E^2 + 2*E^4) + E^(2*x)*(1 + 2*x),x]

[Out]

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

Rule 2176

Int[((b_.)*(F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[((c + d*x)^m
*(b*F^(g*(e + f*x)))^n)/(f*g*n*Log[F]), x] - Dist[(d*m)/(f*g*n*Log[F]), Int[(c + d*x)^(m - 1)*(b*F^(g*(e + f*x
)))^n, x], x] /; FreeQ[{F, b, c, d, e, f, g, n}, x] && GtQ[m, 0] && IntegerQ[2*m] &&  !$UseGamma === True

Rule 2194

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

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 28, normalized size = 1.12 \begin {gather*} e^{4+3 x} \left (5+4 e^2+2 e^4\right )+e^{2 x} x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[3*E^(4 + 3*x)*(5 + 4*E^2 + 2*E^4) + E^(2*x)*(1 + 2*x),x]

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.79, size = 25, normalized size = 1.00 \begin {gather*} {\left (2 \, e^{8} + 4 \, e^{6} + 5 \, e^{4}\right )} e^{\left (3 \, x\right )} + x e^{\left (2 \, x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(2*e^8 + 4*e^6 + 5*e^4)*e^(3*x) + x*e^(2*x)

________________________________________________________________________________________

giac [A]  time = 0.23, size = 24, normalized size = 0.96 \begin {gather*} x e^{\left (2 \, x\right )} + e^{\left (3 \, x + \log \left (2 \, e^{4} + 4 \, e^{2} + 5\right ) + 4\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x*e^(2*x) + e^(3*x + log(2*e^4 + 4*e^2 + 5) + 4)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 32, normalized size = 1.28




method result size



norman \(x \,{\mathrm e}^{2 x}+\left (2 \left ({\mathrm e}^{4}\right )^{2}+4 \,{\mathrm e}^{2} {\mathrm e}^{4}+5 \,{\mathrm e}^{4}\right ) {\mathrm e}^{3 x}\) \(32\)
risch \(5 \,{\mathrm e}^{3 x} {\mathrm e}^{4}+2 \,{\mathrm e}^{3 x} {\mathrm e}^{8}+4 \,{\mathrm e}^{3 x} {\mathrm e}^{6}+x \,{\mathrm e}^{2 x}\) \(32\)
default \(x \,{\mathrm e}^{2 x}+2 \,{\mathrm e}^{3 x} \left ({\mathrm e}^{4}\right )^{2}+4 \,{\mathrm e}^{3 x} {\mathrm e}^{4} {\mathrm e}^{2}+5 \,{\mathrm e}^{3 x} {\mathrm e}^{4}\) \(38\)
meijerg \(-{\mathrm e}^{\ln \left (2 \,{\mathrm e}^{4}+4 \,{\mathrm e}^{2}+5\right )+4} \left (1-{\mathrm e}^{3 x}\right )-\frac {\left (-4 x +2\right ) {\mathrm e}^{2 x}}{4}+\frac {{\mathrm e}^{2 x}}{2}\) \(43\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.39, size = 35, normalized size = 1.40 \begin {gather*} \frac {1}{2} \, {\left (2 \, x - 1\right )} e^{\left (2 \, x\right )} + {\left (2 \, e^{4} + 4 \, e^{2} + 5\right )} e^{\left (3 \, x + 4\right )} + \frac {1}{2} \, e^{\left (2 \, x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.08, size = 24, normalized size = 0.96 \begin {gather*} x\,{\mathrm {e}}^{2\,x}+{\mathrm {e}}^{3\,x+4}\,\left (4\,{\mathrm {e}}^2+2\,{\mathrm {e}}^4+5\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(3*exp(2*x)*exp(x + log(4*exp(2) + 2*exp(4) + 5) + 4) + exp(2*x)*(2*x + 1),x)

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 29, normalized size = 1.16 \begin {gather*} x e^{2 x} + \left (5 e^{4} + 4 e^{6} + 2 e^{8}\right ) \left (e^{2 x}\right )^{\frac {3}{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*exp(x)**2*exp(ln(2*exp(2)**2+4*exp(2)+5)+4+x)+(2*x+1)*exp(x)**2,x)

[Out]

x*exp(2*x) + (5*exp(4) + 4*exp(6) + 2*exp(8))*exp(2*x)**(3/2)

________________________________________________________________________________________