3.229 \(\int x \log (\sqrt [3]{1+3 x}) \, dx\)

Optimal. Leaf size=40 \[ -\frac {x^2}{12}+\frac {1}{2} x^2 \log \left (\sqrt [3]{3 x+1}\right )+\frac {x}{18}-\frac {1}{54} \log (3 x+1) \]

[Out]

1/18*x-1/12*x^2+1/6*x^2*ln(1+3*x)-1/54*ln(1+3*x)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2395, 43} \[ -\frac {x^2}{12}+\frac {1}{2} x^2 \log \left (\sqrt [3]{3 x+1}\right )+\frac {x}{18}-\frac {1}{54} \log (3 x+1) \]

Antiderivative was successfully verified.

[In]

Int[x*Log[(1 + 3*x)^(1/3)],x]

[Out]

x/18 - x^2/12 + (x^2*Log[(1 + 3*x)^(1/3)])/2 - Log[1 + 3*x]/54

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 2395

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[((f + g
*x)^(q + 1)*(a + b*Log[c*(d + e*x)^n]))/(g*(q + 1)), x] - Dist[(b*e*n)/(g*(q + 1)), Int[(f + g*x)^(q + 1)/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]

Rubi steps

\begin {align*} \int x \log \left (\sqrt [3]{1+3 x}\right ) \, dx &=\frac {1}{2} x^2 \log \left (\sqrt [3]{1+3 x}\right )-\frac {1}{2} \int \frac {x^2}{1+3 x} \, dx\\ &=\frac {1}{2} x^2 \log \left (\sqrt [3]{1+3 x}\right )-\frac {1}{2} \int \left (-\frac {1}{9}+\frac {x}{3}+\frac {1}{9 (1+3 x)}\right ) \, dx\\ &=\frac {x}{18}-\frac {x^2}{12}+\frac {1}{2} x^2 \log \left (\sqrt [3]{1+3 x}\right )-\frac {1}{54} \log (1+3 x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 40, normalized size = 1.00 \[ \frac {1}{3} \left (-\frac {x^2}{4}+\frac {1}{2} x^2 \log (3 x+1)+\frac {x}{6}-\frac {1}{18} \log (3 x+1)\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x*Log[(1 + 3*x)^(1/3)],x]

[Out]

(x/6 - x^2/4 - Log[1 + 3*x]/18 + (x^2*Log[1 + 3*x])/2)/3

________________________________________________________________________________________

fricas [A]  time = 0.44, size = 24, normalized size = 0.60 \[ -\frac {1}{12} \, x^{2} + \frac {1}{54} \, {\left (9 \, x^{2} - 1\right )} \log \left (3 \, x + 1\right ) + \frac {1}{18} \, x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/12*x^2 + 1/54*(9*x^2 - 1)*log(3*x + 1) + 1/18*x

________________________________________________________________________________________

giac [A]  time = 0.16, size = 42, normalized size = 1.05 \[ \frac {1}{54} \, {\left (3 \, x + 1\right )}^{2} \log \left (3 \, x + 1\right ) - \frac {1}{108} \, {\left (3 \, x + 1\right )}^{2} - \frac {1}{27} \, {\left (3 \, x + 1\right )} \log \left (3 \, x + 1\right ) + \frac {1}{9} \, x + \frac {1}{27} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/54*(3*x + 1)^2*log(3*x + 1) - 1/108*(3*x + 1)^2 - 1/27*(3*x + 1)*log(3*x + 1) + 1/9*x + 1/27

________________________________________________________________________________________

maple [A]  time = 0.07, size = 39, normalized size = 0.98 \[ -\frac {x^{2}}{12}+\frac {x}{18}+\frac {\left (3 x +1\right )^{2} \ln \left (3 x +1\right )}{54}-\frac {\left (3 x +1\right ) \ln \left (3 x +1\right )}{27}+\frac {1}{36} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/54*(1+3*x)^2*ln(1+3*x)-1/12*x^2+1/18*x+1/36-1/27*(1+3*x)*ln(1+3*x)

________________________________________________________________________________________

maxima [A]  time = 0.44, size = 28, normalized size = 0.70 \[ \frac {1}{6} \, x^{2} \log \left (3 \, x + 1\right ) - \frac {1}{12} \, x^{2} + \frac {1}{18} \, x - \frac {1}{54} \, \log \left (3 \, x + 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/6*x^2*log(3*x + 1) - 1/12*x^2 + 1/18*x - 1/54*log(3*x + 1)

________________________________________________________________________________________

mupad [B]  time = 0.38, size = 22, normalized size = 0.55 \[ \frac {x}{18}+\frac {\ln \left (3\,x+1\right )\,\left (x^2-\frac {1}{9}\right )}{6}-\frac {x^2}{12} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x/18 + (log(3*x + 1)*(x^2 - 1/9))/6 - x^2/12

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 27, normalized size = 0.68 \[ \frac {x^{2} \log {\left (3 x + 1 \right )}}{6} - \frac {x^{2}}{12} + \frac {x}{18} - \frac {\log {\left (3 x + 1 \right )}}{54} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x**2*log(3*x + 1)/6 - x**2/12 + x/18 - log(3*x + 1)/54

________________________________________________________________________________________