3.25.26 \(\int \frac {-16-20 x+x^2-x^3+(3 x^2-2 x^3) \log (x)+(16+x^2-2 x^3) \log (x) \log (\log (x))}{x^2 \log (x)} \, dx\) [2426]

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

[Out]

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

________________________________________________________________________________________

Rubi [F]
time = 0.34, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {-16-20 x+x^2-x^3+\left (3 x^2-2 x^3\right ) \log (x)+\left (16+x^2-2 x^3\right ) \log (x) \log (\log (x))}{x^2 \log (x)} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(-16 - 20*x + x^2 - x^3 + (3*x^2 - 2*x^3)*Log[x] + (16 + x^2 - 2*x^3)*Log[x]*Log[Log[x]])/(x^2*Log[x]),x]

[Out]

3*x - x^2 + 16*ExpIntegralEi[-Log[x]] + ExpIntegralEi[2*Log[x]] - (16*Log[Log[x]])/x + x*Log[Log[x]] - x^2*Log
[Log[x]] - LogIntegral[x] + Defer[Int][(-16 - 20*x + x^2 - x^3)/(x^2*Log[x]), x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 24, normalized size = 0.75 \begin {gather*} -((-3+x) x)+\left (-20-\frac {16}{x}+x-x^2\right ) \log (\log (x)) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-16 - 20*x + x^2 - x^3 + (3*x^2 - 2*x^3)*Log[x] + (16 + x^2 - 2*x^3)*Log[x]*Log[Log[x]])/(x^2*Log[x
]),x]

[Out]

-((-3 + x)*x) + (-20 - 16/x + x - x^2)*Log[Log[x]]

________________________________________________________________________________________

Maple [A]
time = 0.42, size = 32, normalized size = 1.00

method result size
default \(-x^{2}+3 x -\left (x^{2}-x +\frac {16}{x}\right ) \ln \left (\ln \left (x \right )\right )-20 \ln \left (\ln \left (x \right )\right )\) \(32\)
risch \(-\frac {\left (x^{3}-x^{2}+16\right ) \ln \left (\ln \left (x \right )\right )}{x}-x^{2}+3 x -20 \ln \left (\ln \left (x \right )\right )\) \(33\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((-2*x^3+x^2+16)*ln(x)*ln(ln(x))+(-2*x^3+3*x^2)*ln(x)-x^3+x^2-20*x-16)/x^2/ln(x),x,method=_RETURNVERBOSE)

[Out]

-x^2+3*x-(x^2-x+16/x)*ln(ln(x))-20*ln(ln(x))

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 35, normalized size = 1.09 \begin {gather*} -x^{2} \log \left (\log \left (x\right )\right ) - x^{2} + x \log \left (\log \left (x\right )\right ) + 3 \, x - \frac {16 \, \log \left (\log \left (x\right )\right )}{x} - 20 \, \log \left (\log \left (x\right )\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-2*x^3+x^2+16)*log(x)*log(log(x))+(-2*x^3+3*x^2)*log(x)-x^3+x^2-20*x-16)/x^2/log(x),x, algorithm="
maxima")

[Out]

-x^2*log(log(x)) - x^2 + x*log(log(x)) + 3*x - 16*log(log(x))/x - 20*log(log(x))

________________________________________________________________________________________

Fricas [A]
time = 0.35, size = 31, normalized size = 0.97 \begin {gather*} -\frac {x^{3} - 3 \, x^{2} + {\left (x^{3} - x^{2} + 20 \, x + 16\right )} \log \left (\log \left (x\right )\right )}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-2*x^3+x^2+16)*log(x)*log(log(x))+(-2*x^3+3*x^2)*log(x)-x^3+x^2-20*x-16)/x^2/log(x),x, algorithm="
fricas")

[Out]

-(x^3 - 3*x^2 + (x^3 - x^2 + 20*x + 16)*log(log(x)))/x

________________________________________________________________________________________

Sympy [A]
time = 0.13, size = 27, normalized size = 0.84 \begin {gather*} - x^{2} + 3 x - 20 \log {\left (\log {\left (x \right )} \right )} + \frac {\left (- x^{3} + x^{2} - 16\right ) \log {\left (\log {\left (x \right )} \right )}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-2*x**3+x**2+16)*ln(x)*ln(ln(x))+(-2*x**3+3*x**2)*ln(x)-x**3+x**2-20*x-16)/x**2/ln(x),x)

[Out]

-x**2 + 3*x - 20*log(log(x)) + (-x**3 + x**2 - 16)*log(log(x))/x

________________________________________________________________________________________

Giac [A]
time = 0.41, size = 31, normalized size = 0.97 \begin {gather*} -x^{2} - {\left (x^{2} - x + \frac {16}{x}\right )} \log \left (\log \left (x\right )\right ) + 3 \, x - 20 \, \log \left (\log \left (x\right )\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((-2*x^3+x^2+16)*log(x)*log(log(x))+(-2*x^3+3*x^2)*log(x)-x^3+x^2-20*x-16)/x^2/log(x),x, algorithm="
giac")

[Out]

-x^2 - (x^2 - x + 16/x)*log(log(x)) + 3*x - 20*log(log(x))

________________________________________________________________________________________

Mupad [B]
time = 1.42, size = 49, normalized size = 1.53 \begin {gather*} 3\,x-20\,\ln \left (\ln \left (x\right )\right )+\ln \left (\ln \left (x\right )\right )\,\left (\frac {2\,x^2-3\,x^3}{x}-\frac {-2\,x^3+x^2+16}{x}\right )-x^2 \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(20*x - log(x)*(3*x^2 - 2*x^3) - x^2 + x^3 - log(log(x))*log(x)*(x^2 - 2*x^3 + 16) + 16)/(x^2*log(x)),x)

[Out]

3*x - 20*log(log(x)) + log(log(x))*((2*x^2 - 3*x^3)/x - (x^2 - 2*x^3 + 16)/x) - x^2

________________________________________________________________________________________