3.2.26 \(\int \frac {-e^e x^2+8 x^3-4 \log ^2(\log (2))}{4 x^2} \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 21, normalized size of antiderivative = 0.81, number of steps used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {12, 14} \begin {gather*} x^2-\frac {e^e x}{4}+\frac {\log ^2(\log (2))}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-1/4*(E^E*x) + x^2 + Log[Log[2]]^2/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 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 21, normalized size = 0.81 \begin {gather*} -\frac {e^e x}{4}+x^2+\frac {\log ^2(\log (2))}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.04, size = 20, normalized size = 0.77




method result size



default \(x^{2}-\frac {x \,{\mathrm e}^{{\mathrm e}}}{4}+\frac {\ln \left (\ln \relax (2)\right )^{2}}{x}\) \(20\)
risch \(x^{2}-\frac {x \,{\mathrm e}^{{\mathrm e}}}{4}+\frac {\ln \left (\ln \relax (2)\right )^{2}}{x}\) \(20\)
norman \(\frac {x^{3}+\ln \left (\ln \relax (2)\right )^{2}-\frac {x^{2} {\mathrm e}^{{\mathrm e}}}{4}}{x}\) \(22\)
gosper \(-\frac {-4 x^{3}+x^{2} {\mathrm e}^{{\mathrm e}}-4 \ln \left (\ln \relax (2)\right )^{2}}{4 x}\) \(26\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 19, normalized size = 0.73 \begin {gather*} \frac {{\ln \left (\ln \relax (2)\right )}^2}{x}-\frac {x\,{\mathrm {e}}^{\mathrm {e}}}{4}+x^2 \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.09, size = 19, normalized size = 0.73 \begin {gather*} x^{2} - \frac {x e^{e}}{4} + \frac {\log {\left (\log {\relax (2 )} \right )}^{2}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x**2 - x*exp(E)/4 + log(log(2))**2/x

________________________________________________________________________________________