3.39.19 \(\int \frac {1}{3} e^{\frac {1}{3} (3+9 x-6 x^2-4 x^2 \log ^2(x))} (9-12 x-8 x \log (x)-8 x \log ^2(x)) \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.14, antiderivative size = 25, normalized size of antiderivative = 1.14, number of steps used = 2, number of rules used = 2, integrand size = 46, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {12, 6706} \begin {gather*} e^{\frac {1}{3} \left (-6 x^2-4 x^2 \log ^2(x)+9 x+3\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(E^((3 + 9*x - 6*x^2 - 4*x^2*Log[x]^2)/3)*(9 - 12*x - 8*x*Log[x] - 8*x*Log[x]^2))/3,x]

[Out]

E^((3 + 9*x - 6*x^2 - 4*x^2*Log[x]^2)/3)

Rule 12

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

Rule 6706

Int[(F_)^(v_)*(u_), x_Symbol] :> With[{q = DerivativeDivides[v, u, x]}, Simp[(q*F^v)/Log[F], x] /;  !FalseQ[q]
] /; FreeQ[F, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.31, size = 23, normalized size = 1.05 \begin {gather*} e^{1+3 x-2 x^2-\frac {4}{3} x^2 \log ^2(x)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(E^((3 + 9*x - 6*x^2 - 4*x^2*Log[x]^2)/3)*(9 - 12*x - 8*x*Log[x] - 8*x*Log[x]^2))/3,x]

[Out]

E^(1 + 3*x - 2*x^2 - (4*x^2*Log[x]^2)/3)

________________________________________________________________________________________

fricas [A]  time = 0.59, size = 20, normalized size = 0.91 \begin {gather*} e^{\left (-\frac {4}{3} \, x^{2} \log \relax (x)^{2} - 2 \, x^{2} + 3 \, x + 1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.15, size = 20, normalized size = 0.91 \begin {gather*} e^{\left (-\frac {4}{3} \, x^{2} \log \relax (x)^{2} - 2 \, x^{2} + 3 \, x + 1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.02, size = 21, normalized size = 0.95




method result size



norman \({\mathrm e}^{-\frac {4 x^{2} \ln \relax (x )^{2}}{3}-2 x^{2}+3 x +1}\) \(21\)
risch \({\mathrm e}^{-\frac {4 x^{2} \ln \relax (x )^{2}}{3}-2 x^{2}+3 x +1}\) \(21\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.44, size = 20, normalized size = 0.91 \begin {gather*} e^{\left (-\frac {4}{3} \, x^{2} \log \relax (x)^{2} - 2 \, x^{2} + 3 \, x + 1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 2.39, size = 23, normalized size = 1.05 \begin {gather*} {\mathrm {e}}^{3\,x}\,\mathrm {e}\,{\mathrm {e}}^{-2\,x^2}\,{\mathrm {e}}^{-\frac {4\,x^2\,{\ln \relax (x)}^2}{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(exp(3*x - (4*x^2*log(x)^2)/3 - 2*x^2 + 1)*(12*x + 8*x*log(x)^2 + 8*x*log(x) - 9))/3,x)

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.32, size = 22, normalized size = 1.00 \begin {gather*} e^{- \frac {4 x^{2} \log {\relax (x )}^{2}}{3} - 2 x^{2} + 3 x + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/3*(-8*x*ln(x)**2-8*x*ln(x)-12*x+9)*exp(-4/3*x**2*ln(x)**2-2*x**2+3*x+1),x)

[Out]

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

________________________________________________________________________________________