3.613 \(\int (-1-8 \log ^2(x)+3 \log ^3(x)) \, dx\)

Optimal. Leaf size=23 \[ -35 x+3 x \log ^3(x)-17 x \log ^2(x)+34 x \log (x) \]

[Out]

-35*x + 34*x*Log[x] - 17*x*Log[x]^2 + 3*x*Log[x]^3

________________________________________________________________________________________

Rubi [A]  time = 0.0138408, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {2296, 2295} \[ -35 x+3 x \log ^3(x)-17 x \log ^2(x)+34 x \log (x) \]

Antiderivative was successfully verified.

[In]

Int[-1 - 8*Log[x]^2 + 3*Log[x]^3,x]

[Out]

-35*x + 34*x*Log[x] - 17*x*Log[x]^2 + 3*x*Log[x]^3

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]

Rule 2295

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

Rubi steps

\begin{align*} \int \left (-1-8 \log ^2(x)+3 \log ^3(x)\right ) \, dx &=-x+3 \int \log ^3(x) \, dx-8 \int \log ^2(x) \, dx\\ &=-x-8 x \log ^2(x)+3 x \log ^3(x)-9 \int \log ^2(x) \, dx+16 \int \log (x) \, dx\\ &=-17 x+16 x \log (x)-17 x \log ^2(x)+3 x \log ^3(x)+18 \int \log (x) \, dx\\ &=-35 x+34 x \log (x)-17 x \log ^2(x)+3 x \log ^3(x)\\ \end{align*}

Mathematica [A]  time = 0.002495, size = 23, normalized size = 1. \[ -35 x+3 x \log ^3(x)-17 x \log ^2(x)+34 x \log (x) \]

Antiderivative was successfully verified.

[In]

Integrate[-1 - 8*Log[x]^2 + 3*Log[x]^3,x]

[Out]

-35*x + 34*x*Log[x] - 17*x*Log[x]^2 + 3*x*Log[x]^3

________________________________________________________________________________________

Maple [A]  time = 0.002, size = 24, normalized size = 1. \begin{align*} -35\,x+34\,x\ln \left ( x \right ) -17\,x \left ( \ln \left ( x \right ) \right ) ^{2}+3\,x \left ( \ln \left ( x \right ) \right ) ^{3} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-1-8*ln(x)^2+3*ln(x)^3,x)

[Out]

-35*x+34*x*ln(x)-17*x*ln(x)^2+3*x*ln(x)^3

________________________________________________________________________________________

Maxima [A]  time = 0.946304, size = 49, normalized size = 2.13 \begin{align*} 3 \,{\left (\log \left (x\right )^{3} - 3 \, \log \left (x\right )^{2} + 6 \, \log \left (x\right ) - 6\right )} x - 8 \,{\left (\log \left (x\right )^{2} - 2 \, \log \left (x\right ) + 2\right )} x - x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1-8*log(x)^2+3*log(x)^3,x, algorithm="maxima")

[Out]

3*(log(x)^3 - 3*log(x)^2 + 6*log(x) - 6)*x - 8*(log(x)^2 - 2*log(x) + 2)*x - x

________________________________________________________________________________________

Fricas [A]  time = 2.11497, size = 69, normalized size = 3. \begin{align*} 3 \, x \log \left (x\right )^{3} - 17 \, x \log \left (x\right )^{2} + 34 \, x \log \left (x\right ) - 35 \, x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1-8*log(x)^2+3*log(x)^3,x, algorithm="fricas")

[Out]

3*x*log(x)^3 - 17*x*log(x)^2 + 34*x*log(x) - 35*x

________________________________________________________________________________________

Sympy [A]  time = 0.1018, size = 26, normalized size = 1.13 \begin{align*} 3 x \log{\left (x \right )}^{3} - 17 x \log{\left (x \right )}^{2} + 34 x \log{\left (x \right )} - 35 x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1-8*ln(x)**2+3*ln(x)**3,x)

[Out]

3*x*log(x)**3 - 17*x*log(x)**2 + 34*x*log(x) - 35*x

________________________________________________________________________________________

Giac [A]  time = 1.13521, size = 31, normalized size = 1.35 \begin{align*} 3 \, x \log \left (x\right )^{3} - 17 \, x \log \left (x\right )^{2} + 34 \, x \log \left (x\right ) - 35 \, x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1-8*log(x)^2+3*log(x)^3,x, algorithm="giac")

[Out]

3*x*log(x)^3 - 17*x*log(x)^2 + 34*x*log(x) - 35*x