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

Optimal. Leaf size=8 \[ \frac {\log ^3(x)}{3} \]

[Out]

1/3*ln(x)^3

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2302, 30} \[ \frac {\log ^3(x)}{3} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Log[x]^3/3

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2302

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 8, normalized size = 1.00 \[ \frac {\log ^3(x)}{3} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Log[x]^3/3

________________________________________________________________________________________

fricas [A]  time = 0.43, size = 6, normalized size = 0.75 \[ \frac {1}{3} \, \log \relax (x)^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*log(x)^3

________________________________________________________________________________________

giac [A]  time = 1.07, size = 6, normalized size = 0.75 \[ \frac {1}{3} \, \log \relax (x)^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*log(x)^3

________________________________________________________________________________________

maple [A]  time = 0.00, size = 7, normalized size = 0.88 \[ \frac {\ln \relax (x )^{3}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*ln(x)^3

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 6, normalized size = 0.75 \[ \frac {1}{3} \, \log \relax (x)^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*log(x)^3

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 6, normalized size = 0.75 \[ \frac {{\ln \relax (x)}^3}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(x)^3/3

________________________________________________________________________________________

sympy [A]  time = 0.09, size = 5, normalized size = 0.62 \[ \frac {\log {\relax (x )}^{3}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(x)**3/3

________________________________________________________________________________________