\(\int \frac {1}{x^2 \log ^2(x)} \, dx\) [63]

   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 [F]
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 8, antiderivative size = 17 \[ \int \frac {1}{x^2 \log ^2(x)} \, dx=-\operatorname {ExpIntegralEi}(-\log (x))-\frac {1}{x \log (x)} \]

[Out]

-Ei(-ln(x))-1/x/ln(x)

Rubi [A] (verified)

Time = 0.03 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {2343, 2346, 2209} \[ \int \frac {1}{x^2 \log ^2(x)} \, dx=-\operatorname {ExpIntegralEi}(-\log (x))-\frac {1}{x \log (x)} \]

[In]

Int[1/(x^2*Log[x]^2),x]

[Out]

-ExpIntegralEi[-Log[x]] - 1/(x*Log[x])

Rule 2209

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - c*(f/d)))/d)*ExpInteg
ralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2343

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

Rule 2346

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rubi steps \begin{align*} \text {integral}& = -\frac {1}{x \log (x)}-\int \frac {1}{x^2 \log (x)} \, dx \\ & = -\frac {1}{x \log (x)}-\text {Subst}\left (\int \frac {e^{-x}}{x} \, dx,x,\log (x)\right ) \\ & = -\operatorname {ExpIntegralEi}(-\log (x))-\frac {1}{x \log (x)} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.02 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00 \[ \int \frac {1}{x^2 \log ^2(x)} \, dx=-\operatorname {ExpIntegralEi}(-\log (x))-\frac {1}{x \log (x)} \]

[In]

Integrate[1/(x^2*Log[x]^2),x]

[Out]

-ExpIntegralEi[-Log[x]] - 1/(x*Log[x])

Maple [A] (verified)

Time = 0.03 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88

method result size
default \(-\frac {1}{x \ln \left (x \right )}+\operatorname {Ei}_{1}\left (\ln \left (x \right )\right )\) \(15\)
risch \(-\frac {1}{x \ln \left (x \right )}+\operatorname {Ei}_{1}\left (\ln \left (x \right )\right )\) \(15\)

[In]

int(1/x^2/ln(x)^2,x,method=_RETURNVERBOSE)

[Out]

-1/x/ln(x)+Ei(1,ln(x))

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.12 \[ \int \frac {1}{x^2 \log ^2(x)} \, dx=-\frac {x \log \left (x\right ) \operatorname {log\_integral}\left (\frac {1}{x}\right ) + 1}{x \log \left (x\right )} \]

[In]

integrate(1/x^2/log(x)^2,x, algorithm="fricas")

[Out]

-(x*log(x)*log_integral(1/x) + 1)/(x*log(x))

Sympy [A] (verification not implemented)

Time = 0.25 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.82 \[ \int \frac {1}{x^2 \log ^2(x)} \, dx=- \operatorname {Ei}{\left (- \log {\left (x \right )} \right )} - \frac {1}{x \log {\left (x \right )}} \]

[In]

integrate(1/x**2/ln(x)**2,x)

[Out]

-Ei(-log(x)) - 1/(x*log(x))

Maxima [A] (verification not implemented)

none

Time = 0.21 (sec) , antiderivative size = 6, normalized size of antiderivative = 0.35 \[ \int \frac {1}{x^2 \log ^2(x)} \, dx=-\Gamma \left (-1, \log \left (x\right )\right ) \]

[In]

integrate(1/x^2/log(x)^2,x, algorithm="maxima")

[Out]

-gamma(-1, log(x))

Giac [F]

\[ \int \frac {1}{x^2 \log ^2(x)} \, dx=\int { \frac {1}{x^{2} \log \left (x\right )^{2}} \,d x } \]

[In]

integrate(1/x^2/log(x)^2,x, algorithm="giac")

[Out]

integrate(1/(x^2*log(x)^2), x)

Mupad [B] (verification not implemented)

Time = 0.03 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00 \[ \int \frac {1}{x^2 \log ^2(x)} \, dx=-\mathrm {ei}\left (-\ln \left (x\right )\right )-\frac {1}{x\,\ln \left (x\right )} \]

[In]

int(1/(x^2*log(x)^2),x)

[Out]

- ei(-log(x)) - 1/(x*log(x))