3.61 \(\int \frac {1}{\log (1+x)} \, dx\)

Optimal. Leaf size=4 \[ \operatorname {LogIntegral}(x+1) \]

[Out]

Li(1+x)

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2389, 2298} \[ \text {LogIntegral}(x+1) \]

Antiderivative was successfully verified.

[In]

Int[Log[1 + x]^(-1),x]

[Out]

LogIntegral[1 + x]

Rule 2298

Int[Log[(c_.)*(x_)]^(-1), x_Symbol] :> Simp[LogIntegral[c*x]/c, x] /; FreeQ[c, x]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rubi steps

\begin {align*} \int \frac {1}{\log (1+x)} \, dx &=\operatorname {Subst}\left (\int \frac {1}{\log (x)} \, dx,x,1+x\right )\\ &=\text {li}(1+x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 5, normalized size = 1.25 \[ \operatorname {ExpIntegralEi}(\log (x+1)) \]

Antiderivative was successfully verified.

[In]

Integrate[Log[1 + x]^(-1),x]

[Out]

ExpIntegralEi[Log[1 + x]]

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 4, normalized size = 1.00 \[ \operatorname {log\_integral}\left (x + 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log_integral(x + 1)

________________________________________________________________________________________

giac [A]  time = 1.10, size = 5, normalized size = 1.25 \[ {\rm Ei}\left (\log \left (x + 1\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Ei(log(x + 1))

________________________________________________________________________________________

maple [B]  time = 0.00, size = 11, normalized size = 2.75 \[ -\Ei \left (1, -\ln \left (x +1\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/ln(x+1),x)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.53, size = 5, normalized size = 1.25 \[ {\rm Ei}\left (\log \left (x + 1\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Ei(log(x + 1))

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 4, normalized size = 1.00 \[ \mathrm {logint}\left (x+1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/log(x + 1),x)

[Out]

logint(x + 1)

________________________________________________________________________________________

sympy [A]  time = 0.49, size = 3, normalized size = 0.75 \[ \operatorname {li}{\left (x + 1 \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/ln(1+x),x)

[Out]

li(x + 1)

________________________________________________________________________________________