\(\int (8 x-139 x^2+e^{e^x} (-2 x-e^x x^2)+51 x^2 \log (x)) \, dx\) [4068]

   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 = 34, antiderivative size = 25 \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=x^2 \left (4-e^{e^x}-x-17 x (3-\log (x))\right ) \]

[Out]

x^2*(4-x-exp(exp(x))-17*x*(3-ln(x)))

Rubi [A] (verified)

Time = 0.02 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.12, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {2326, 2341} \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=-52 x^3+17 x^3 \log (x)-e^{e^x} x^2+4 x^2 \]

[In]

Int[8*x - 139*x^2 + E^E^x*(-2*x - E^x*x^2) + 51*x^2*Log[x],x]

[Out]

4*x^2 - E^E^x*x^2 - 52*x^3 + 17*x^3*Log[x]

Rule 2326

Int[(y_.)*(F_)^(u_)*((v_) + (w_)), x_Symbol] :> With[{z = v*(y/(Log[F]*D[u, x]))}, Simp[F^u*z, x] /; EqQ[D[z,
x], w*y]] /; FreeQ[F, x]

Rule 2341

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*Log[c*x^
n])/(d*(m + 1))), x] - Simp[b*n*((d*x)^(m + 1)/(d*(m + 1)^2)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rubi steps \begin{align*} \text {integral}& = 4 x^2-\frac {139 x^3}{3}+51 \int x^2 \log (x) \, dx+\int e^{e^x} \left (-2 x-e^x x^2\right ) \, dx \\ & = 4 x^2-e^{e^x} x^2-52 x^3+17 x^3 \log (x) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.04 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.84 \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=x^2 \left (4-e^{e^x}-52 x+17 x \log (x)\right ) \]

[In]

Integrate[8*x - 139*x^2 + E^E^x*(-2*x - E^x*x^2) + 51*x^2*Log[x],x]

[Out]

x^2*(4 - E^E^x - 52*x + 17*x*Log[x])

Maple [A] (verified)

Time = 0.57 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.08

method result size
default \(-{\mathrm e}^{{\mathrm e}^{x}} x^{2}+4 x^{2}-52 x^{3}+17 x^{3} \ln \left (x \right )\) \(27\)
risch \(-{\mathrm e}^{{\mathrm e}^{x}} x^{2}+4 x^{2}-52 x^{3}+17 x^{3} \ln \left (x \right )\) \(27\)
parallelrisch \(-{\mathrm e}^{{\mathrm e}^{x}} x^{2}+4 x^{2}-52 x^{3}+17 x^{3} \ln \left (x \right )\) \(27\)

[In]

int((-exp(x)*x^2-2*x)*exp(exp(x))+51*x^2*ln(x)-139*x^2+8*x,x,method=_RETURNVERBOSE)

[Out]

-exp(exp(x))*x^2+4*x^2-52*x^3+17*x^3*ln(x)

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.04 \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=17 \, x^{3} \log \left (x\right ) - 52 \, x^{3} - x^{2} e^{\left (e^{x}\right )} + 4 \, x^{2} \]

[In]

integrate((-exp(x)*x^2-2*x)*exp(exp(x))+51*x^2*log(x)-139*x^2+8*x,x, algorithm="fricas")

[Out]

17*x^3*log(x) - 52*x^3 - x^2*e^(e^x) + 4*x^2

Sympy [A] (verification not implemented)

Time = 0.10 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.04 \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=17 x^{3} \log {\left (x \right )} - 52 x^{3} - x^{2} e^{e^{x}} + 4 x^{2} \]

[In]

integrate((-exp(x)*x**2-2*x)*exp(exp(x))+51*x**2*ln(x)-139*x**2+8*x,x)

[Out]

17*x**3*log(x) - 52*x**3 - x**2*exp(exp(x)) + 4*x**2

Maxima [A] (verification not implemented)

none

Time = 0.18 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.04 \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=17 \, x^{3} \log \left (x\right ) - 52 \, x^{3} - x^{2} e^{\left (e^{x}\right )} + 4 \, x^{2} \]

[In]

integrate((-exp(x)*x^2-2*x)*exp(exp(x))+51*x^2*log(x)-139*x^2+8*x,x, algorithm="maxima")

[Out]

17*x^3*log(x) - 52*x^3 - x^2*e^(e^x) + 4*x^2

Giac [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.04 \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=17 \, x^{3} \log \left (x\right ) - 52 \, x^{3} - x^{2} e^{\left (e^{x}\right )} + 4 \, x^{2} \]

[In]

integrate((-exp(x)*x^2-2*x)*exp(exp(x))+51*x^2*log(x)-139*x^2+8*x,x, algorithm="giac")

[Out]

17*x^3*log(x) - 52*x^3 - x^2*e^(e^x) + 4*x^2

Mupad [B] (verification not implemented)

Time = 10.44 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.72 \[ \int \left (8 x-139 x^2+e^{e^x} \left (-2 x-e^x x^2\right )+51 x^2 \log (x)\right ) \, dx=-x^2\,\left (52\,x+{\mathrm {e}}^{{\mathrm {e}}^x}-17\,x\,\ln \left (x\right )-4\right ) \]

[In]

int(8*x + 51*x^2*log(x) - 139*x^2 - exp(exp(x))*(2*x + x^2*exp(x)),x)

[Out]

-x^2*(52*x + exp(exp(x)) - 17*x*log(x) - 4)