\(\int (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log (\frac {x}{e^4})) \, dx\) [3081]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [B] (verification not implemented)
   Giac [B] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 32, antiderivative size = 20 \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=e^{\frac {4 \log ^2(4)}{5}} x^2 \log \left (\frac {x}{e^4}\right ) \]

[Out]

x^2*ln(x/exp(4))*exp(16/5*ln(2)^2)

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.031, Rules used = {2341} \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=x^2 e^{\frac {4 \log ^2(4)}{5}} \log \left (\frac {x}{e^4}\right ) \]

[In]

Int[E^((4*Log[4]^2)/5)*x + 2*E^((4*Log[4]^2)/5)*x*Log[x/E^4],x]

[Out]

E^((4*Log[4]^2)/5)*x^2*Log[x/E^4]

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}& = \frac {1}{2} e^{\frac {4 \log ^2(4)}{5}} x^2+\left (2 e^{\frac {4 \log ^2(4)}{5}}\right ) \int x \log \left (\frac {x}{e^4}\right ) \, dx \\ & = e^{\frac {4 \log ^2(4)}{5}} x^2 \log \left (\frac {x}{e^4}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.15 \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=e^{\frac {4 \log ^2(4)}{5}} \left (-4 x^2+x^2 \log (x)\right ) \]

[In]

Integrate[E^((4*Log[4]^2)/5)*x + 2*E^((4*Log[4]^2)/5)*x*Log[x/E^4],x]

[Out]

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

Maple [A] (verified)

Time = 0.24 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.85

method result size
risch \({\mathrm e}^{\frac {16 \ln \left (2\right )^{2}}{5}} x^{2} \ln \left ({\mathrm e}^{-4} x \right )\) \(17\)
default \({\mathrm e}^{\frac {16 \ln \left (2\right )^{2}}{5}} x^{2} \ln \left ({\mathrm e}^{-4} x \right )\) \(19\)
norman \({\mathrm e}^{\frac {16 \ln \left (2\right )^{2}}{5}} x^{2} \ln \left ({\mathrm e}^{-4} x \right )\) \(19\)
parallelrisch \({\mathrm e}^{\frac {16 \ln \left (2\right )^{2}}{5}} x^{2} \ln \left ({\mathrm e}^{-4} x \right )\) \(19\)
parts \({\mathrm e}^{\frac {16 \ln \left (2\right )^{2}}{5}} x^{2} \ln \left ({\mathrm e}^{-4} x \right )\) \(19\)
derivativedivides \({\mathrm e}^{4} \left (\frac {{\mathrm e}^{-4} {\mathrm e}^{\frac {16 \ln \left (2\right )^{2}}{5}} x^{2}}{2}+2 \,{\mathrm e}^{4} {\mathrm e}^{\frac {16 \ln \left (2\right )^{2}}{5}} \left (\frac {x^{2} {\mathrm e}^{-8} \ln \left ({\mathrm e}^{-4} x \right )}{2}-\frac {x^{2} {\mathrm e}^{-8}}{4}\right )\right )\) \(58\)

[In]

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

[Out]

exp(16/5*ln(2)^2)*x^2*ln(exp(-4)*x)

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.80 \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=x^{2} e^{\left (\frac {16}{5} \, \log \left (2\right )^{2}\right )} \log \left (x e^{\left (-4\right )}\right ) \]

[In]

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

[Out]

x^2*e^(16/5*log(2)^2)*log(x*e^(-4))

Sympy [A] (verification not implemented)

Time = 0.06 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.95 \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=x^{2} e^{\frac {16 \log {\left (2 \right )}^{2}}{5}} \log {\left (\frac {x}{e^{4}} \right )} \]

[In]

integrate(2*x*exp(16/5*ln(2)**2)*ln(x/exp(4))+x*exp(16/5*ln(2)**2),x)

[Out]

x**2*exp(16*log(2)**2/5)*log(x*exp(-4))

Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 38 vs. \(2 (16) = 32\).

Time = 0.20 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.90 \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=\frac {1}{2} \, x^{2} e^{\left (\frac {16}{5} \, \log \left (2\right )^{2}\right )} + \frac {1}{2} \, {\left (2 \, x^{2} \log \left (x e^{\left (-4\right )}\right ) - x^{2}\right )} e^{\left (\frac {16}{5} \, \log \left (2\right )^{2}\right )} \]

[In]

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

[Out]

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

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 38 vs. \(2 (16) = 32\).

Time = 0.26 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.90 \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=\frac {1}{2} \, x^{2} e^{\left (\frac {16}{5} \, \log \left (2\right )^{2}\right )} + \frac {1}{2} \, {\left (2 \, x^{2} \log \left (x e^{\left (-4\right )}\right ) - x^{2}\right )} e^{\left (\frac {16}{5} \, \log \left (2\right )^{2}\right )} \]

[In]

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

[Out]

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

Mupad [B] (verification not implemented)

Time = 9.41 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.75 \[ \int \left (e^{\frac {4 \log ^2(4)}{5}} x+2 e^{\frac {4 \log ^2(4)}{5}} x \log \left (\frac {x}{e^4}\right )\right ) \, dx=x^2\,{\mathrm {e}}^{\frac {16\,{\ln \left (2\right )}^2}{5}}\,\left (\ln \left (x\right )-4\right ) \]

[In]

int(x*exp((16*log(2)^2)/5) + 2*x*exp((16*log(2)^2)/5)*log(x*exp(-4)),x)

[Out]

x^2*exp((16*log(2)^2)/5)*(log(x) - 4)