3.632 \(\int \frac {\log ^n(\log (x))}{x} \, dx\)

Optimal. Leaf size=24 \[ (-\log (\log (x)))^{-n} \log ^n(\log (x)) \Gamma (n+1,-\log (\log (x))) \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2299, 2181} \[ (-\log (\log (x)))^{-n} \log ^n(\log (x)) \text {Gamma}(n+1,-\log (\log (x))) \]

Antiderivative was successfully verified.

[In]

Int[Log[Log[x]]^n/x,x]

[Out]

(Gamma[1 + n, -Log[Log[x]]]*Log[Log[x]]^n)/(-Log[Log[x]])^n

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2299

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

Rubi steps

\begin {align*} \int \frac {\log ^n(\log (x))}{x} \, dx &=\operatorname {Subst}\left (\int \log ^n(x) \, dx,x,\log (x)\right )\\ &=\operatorname {Subst}\left (\int e^x x^n \, dx,x,\log (\log (x))\right )\\ &=\Gamma (1+n,-\log (\log (x))) (-\log (\log (x)))^{-n} \log ^n(\log (x))\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 24, normalized size = 1.00 \[ (-\log (\log (x)))^{-n} \log ^n(\log (x)) \Gamma (n+1,-\log (\log (x))) \]

Antiderivative was successfully verified.

[In]

Integrate[Log[Log[x]]^n/x,x]

[Out]

(Gamma[1 + n, -Log[Log[x]]]*Log[Log[x]]^n)/(-Log[Log[x]])^n

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log ^n(\log (x))}{x} \, dx \]

Verification is Not applicable to the result.

[In]

IntegrateAlgebraic[Log[Log[x]]^n/x,x]

[Out]

Could not integrate

________________________________________________________________________________________

fricas [A]  time = 1.05, size = 14, normalized size = 0.58 \[ \cos \left (\pi n\right ) \Gamma \left (n + 1, -\log \left (\log \relax (x)\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

cos(pi*n)*gamma(n + 1, -log(log(x)))

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log \left (\log \relax (x)\right )^{n}}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(log(log(x))^n/x, x)

________________________________________________________________________________________

maple [F]  time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\ln \left (\ln \relax (x )\right )^{n}}{x}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(ln(x))^n/x,x)

[Out]

int(ln(ln(x))^n/x,x)

________________________________________________________________________________________

maxima [A]  time = 0.55, size = 29, normalized size = 1.21 \[ -\left (-\log \left (\log \relax (x)\right )\right )^{-n - 1} \log \left (\log \relax (x)\right )^{n + 1} \Gamma \left (n + 1, -\log \left (\log \relax (x)\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(-log(log(x)))^(-n - 1)*log(log(x))^(n + 1)*gamma(n + 1, -log(log(x)))

________________________________________________________________________________________

mupad [B]  time = 0.45, size = 24, normalized size = 1.00 \[ \frac {{\ln \left (\ln \relax (x)\right )}^n\,\Gamma \left (n+1,-\ln \left (\ln \relax (x)\right )\right )}{{\left (-\ln \left (\ln \relax (x)\right )\right )}^n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(log(x))^n/x,x)

[Out]

(log(log(x))^n*igamma(n + 1, -log(log(x))))/(-log(log(x)))^n

________________________________________________________________________________________

sympy [A]  time = 1.85, size = 24, normalized size = 1.00 \[ \left (- \log {\left (\log {\relax (x )} \right )}\right )^{- n} \log {\left (\log {\relax (x )} \right )}^{n} \Gamma \left (n + 1, - \log {\left (\log {\relax (x )} \right )}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(ln(x))**n/x,x)

[Out]

(-log(log(x)))**(-n)*log(log(x))**n*uppergamma(n + 1, -log(log(x)))

________________________________________________________________________________________