3.24.2 \(\int \frac {e^4 (2 x+3 x^2)}{1+6 x+9 x^2} \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 23, normalized size of antiderivative = 1.44, number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {12, 27, 683} \begin {gather*} \frac {e^4 x}{3}+\frac {e^4}{9 (3 x+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(E^4*(2*x + 3*x^2))/(1 + 6*x + 9*x^2),x]

[Out]

(E^4*x)/3 + E^4/(9*(1 + 3*x))

Rule 12

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

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 683

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d +
 e*x)^m*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[2*c*d - b*e,
 0] && IGtQ[p, 0] &&  !(EqQ[m, 3] && NeQ[p, 1])

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=e^4 \int \frac {2 x+3 x^2}{1+6 x+9 x^2} \, dx\\ &=e^4 \int \frac {2 x+3 x^2}{(1+3 x)^2} \, dx\\ &=e^4 \int \left (\frac {1}{3}-\frac {1}{3 (1+3 x)^2}\right ) \, dx\\ &=\frac {e^4 x}{3}+\frac {e^4}{9 (1+3 x)}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 21, normalized size = 1.31 \begin {gather*} \frac {e^4 \left (2+6 x+9 x^2\right )}{9+27 x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(E^4*(2*x + 3*x^2))/(1 + 6*x + 9*x^2),x]

[Out]

(E^4*(2 + 6*x + 9*x^2))/(9 + 27*x)

________________________________________________________________________________________

fricas [A]  time = 0.53, size = 21, normalized size = 1.31 \begin {gather*} \frac {{\left (9 \, x^{2} + 3 \, x + 1\right )} e^{4}}{9 \, {\left (3 \, x + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.19, size = 15, normalized size = 0.94 \begin {gather*} \frac {1}{9} \, {\left (3 \, x + \frac {1}{3 \, x + 1}\right )} e^{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/9*(3*x + 1/(3*x + 1))*e^4

________________________________________________________________________________________

maple [A]  time = 0.55, size = 14, normalized size = 0.88




method result size



gosper \(\frac {x^{2} {\mathrm e}^{4}}{3 x +1}\) \(14\)
norman \(\frac {x^{2} {\mathrm e}^{3} {\mathrm e}}{3 x +1}\) \(16\)
risch \(\frac {x \,{\mathrm e}^{4}}{3}+\frac {{\mathrm e}^{4}}{27 x +9}\) \(16\)
default \({\mathrm e} \,{\mathrm e}^{3} \left (\frac {x}{3}+\frac {1}{27 x +9}\right )\) \(19\)
meijerg \(\frac {{\mathrm e}^{4} \left (\frac {x \left (9 x +6\right )}{3 x +1}-2 \ln \left (3 x +1\right )\right )}{9}+\frac {2 \,{\mathrm e}^{4} \left (-\frac {3 x}{3 x +1}+\ln \left (3 x +1\right )\right )}{9}\) \(50\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.38, size = 15, normalized size = 0.94 \begin {gather*} \frac {1}{9} \, {\left (3 \, x + \frac {1}{3 \, x + 1}\right )} e^{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/9*(3*x + 1/(3*x + 1))*e^4

________________________________________________________________________________________

mupad [B]  time = 1.30, size = 16, normalized size = 1.00 \begin {gather*} \frac {x\,{\mathrm {e}}^4}{3}+\frac {{\mathrm {e}}^4}{9\,\left (3\,x+1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(4)*(2*x + 3*x^2))/(6*x + 9*x^2 + 1),x)

[Out]

(x*exp(4))/3 + exp(4)/(9*(3*x + 1))

________________________________________________________________________________________

sympy [A]  time = 0.10, size = 14, normalized size = 0.88 \begin {gather*} \frac {x e^{4}}{3} + \frac {e^{4}}{27 x + 9} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*x**2+2*x)*exp(1)*exp(3)/(9*x**2+6*x+1),x)

[Out]

x*exp(4)/3 + exp(4)/(27*x + 9)

________________________________________________________________________________________