3.629 \(\int \frac {\log ^2(\log (x))}{x} \, dx\)

Optimal. Leaf size=20 \[ \log (x) \log ^2(\log (x))-2 \log (x) \log (\log (x))+2 \log (x) \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 20, 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 = {2296, 2295} \[ \log (x) \log ^2(\log (x))-2 \log (x) \log (\log (x))+2 \log (x) \]

Antiderivative was successfully verified.

[In]

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

[Out]

2*Log[x] - 2*Log[x]*Log[Log[x]] + Log[x]*Log[Log[x]]^2

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2296

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.), x_Symbol] :> Simp[x*(a + b*Log[c*x^n])^p, x] - Dist[b*n*p, In
t[(a + b*Log[c*x^n])^(p - 1), x], x] /; FreeQ[{a, b, c, n}, x] && GtQ[p, 0] && IntegerQ[2*p]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 20, normalized size = 1.00 \[ \log (x) \log ^2(\log (x))-2 \log (x) \log (\log (x))+2 \log (x) \]

Antiderivative was successfully verified.

[In]

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

[Out]

2*Log[x] - 2*Log[x]*Log[Log[x]] + Log[x]*Log[Log[x]]^2

________________________________________________________________________________________

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

Verification is Not applicable to the result.

[In]

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

[Out]

Could not integrate

________________________________________________________________________________________

fricas [A]  time = 0.65, size = 20, normalized size = 1.00 \[ \log \relax (x) \log \left (\log \relax (x)\right )^{2} - 2 \, \log \relax (x) \log \left (\log \relax (x)\right ) + 2 \, \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(x)*log(log(x))^2 - 2*log(x)*log(log(x)) + 2*log(x)

________________________________________________________________________________________

giac [A]  time = 1.21, size = 20, normalized size = 1.00 \[ \log \relax (x) \log \left (\log \relax (x)\right )^{2} - 2 \, \log \relax (x) \log \left (\log \relax (x)\right ) + 2 \, \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(x)*log(log(x))^2 - 2*log(x)*log(log(x)) + 2*log(x)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 21, normalized size = 1.05




method result size



derivativedivides \(2 \ln \relax (x )-2 \ln \relax (x ) \ln \left (\ln \relax (x )\right )+\ln \relax (x ) \ln \left (\ln \relax (x )\right )^{2}\) \(21\)
default \(2 \ln \relax (x )-2 \ln \relax (x ) \ln \left (\ln \relax (x )\right )+\ln \relax (x ) \ln \left (\ln \relax (x )\right )^{2}\) \(21\)
norman \(2 \ln \relax (x )-2 \ln \relax (x ) \ln \left (\ln \relax (x )\right )+\ln \relax (x ) \ln \left (\ln \relax (x )\right )^{2}\) \(21\)
risch \(2 \ln \relax (x )-2 \ln \relax (x ) \ln \left (\ln \relax (x )\right )+\ln \relax (x ) \ln \left (\ln \relax (x )\right )^{2}\) \(21\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2*ln(x)-2*ln(x)*ln(ln(x))+ln(x)*ln(ln(x))^2

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 15, normalized size = 0.75 \[ {\left (\log \left (\log \relax (x)\right )^{2} - 2 \, \log \left (\log \relax (x)\right ) + 2\right )} \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(log(log(x))^2 - 2*log(log(x)) + 2)*log(x)

________________________________________________________________________________________

mupad [B]  time = 0.38, size = 15, normalized size = 0.75 \[ \ln \relax (x)\,\left ({\ln \left (\ln \relax (x)\right )}^2-2\,\ln \left (\ln \relax (x)\right )+2\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(x)*(log(log(x))^2 - 2*log(log(x)) + 2)

________________________________________________________________________________________

sympy [A]  time = 0.31, size = 24, normalized size = 1.20 \[ \log {\relax (x )} \log {\left (\log {\relax (x )} \right )}^{2} - 2 \log {\relax (x )} \log {\left (\log {\relax (x )} \right )} + 2 \log {\relax (x )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(x)*log(log(x))**2 - 2*log(x)*log(log(x)) + 2*log(x)

________________________________________________________________________________________