3.1.12 \(\int \frac {-3 x \log (x)+(-2+3 x) \log (-2+3 x)}{(-2 x+3 x^2) \log (x) \log (-2+3 x)} \, dx\)

Optimal. Leaf size=23 \[ \log \left (\frac {4 \left (x+e^2 x\right ) \log (x)}{x \log (-2+3 x)}\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.31, antiderivative size = 13, normalized size of antiderivative = 0.57, number of steps used = 8, number of rules used = 5, integrand size = 42, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.119, Rules used = {1593, 6688, 2302, 29, 2390} \begin {gather*} \log (\log (x))-\log (\log (3 x-2)) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 1593

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^(q - p))^n, x] /; F
reeQ[{a, b, p, q}, x] && IntegerQ[n] && PosQ[q - p]

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]

Rule 2390

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

Rule 6688

Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; SimplerIntegrandQ[v, u, x]]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-3 x \log (x)+(-2+3 x) \log (-2+3 x)}{x (-2+3 x) \log (x) \log (-2+3 x)} \, dx\\ &=\int \left (\frac {1}{x \log (x)}-\frac {3}{(-2+3 x) \log (-2+3 x)}\right ) \, dx\\ &=-\left (3 \int \frac {1}{(-2+3 x) \log (-2+3 x)} \, dx\right )+\int \frac {1}{x \log (x)} \, dx\\ &=\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (x)\right )-\operatorname {Subst}\left (\int \frac {1}{x \log (x)} \, dx,x,-2+3 x\right )\\ &=\log (\log (x))-\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (-2+3 x)\right )\\ &=\log (\log (x))-\log (\log (-2+3 x))\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 13, normalized size = 0.57 \begin {gather*} \log (\log (x))-\log (\log (-2+3 x)) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 13, normalized size = 0.57 \begin {gather*} -\log \left (\log \left (3 \, x - 2\right )\right ) + \log \left (\log \relax (x)\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.23, size = 13, normalized size = 0.57 \begin {gather*} -\log \left (\log \left (3 \, x - 2\right )\right ) + \log \left (\log \relax (x)\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.25, size = 14, normalized size = 0.61




method result size



default \(\ln \left (\ln \relax (x )\right )-\ln \left (\ln \left (3 x -2\right )\right )\) \(14\)
norman \(\ln \left (\ln \relax (x )\right )-\ln \left (\ln \left (3 x -2\right )\right )\) \(14\)
risch \(\ln \left (\ln \relax (x )\right )-\ln \left (\ln \left (3 x -2\right )\right )\) \(14\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

ln(ln(x))-ln(ln(3*x-2))

________________________________________________________________________________________

maxima [A]  time = 0.65, size = 13, normalized size = 0.57 \begin {gather*} -\log \left (\log \left (3 \, x - 2\right )\right ) + \log \left (\log \relax (x)\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.65, size = 13, normalized size = 0.57 \begin {gather*} \ln \left (\ln \relax (x)\right )-\ln \left (\ln \left (3\,x-2\right )\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(log(3*x - 2)*(3*x - 2) - 3*x*log(x))/(log(3*x - 2)*log(x)*(2*x - 3*x^2)),x)

[Out]

log(log(x)) - log(log(3*x - 2))

________________________________________________________________________________________

sympy [A]  time = 0.25, size = 12, normalized size = 0.52 \begin {gather*} \log {\left (\log {\relax (x )} \right )} - \log {\left (\log {\left (3 x - 2 \right )} \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(log(x)) - log(log(3*x - 2))

________________________________________________________________________________________