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

Optimal. Leaf size=13 \[ -\frac {\log \left (-1+\frac {4 x}{3}\right )}{x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.13, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 7, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.206, Rules used = {1593, 6688, 14, 36, 29, 31, 2395} \begin {gather*} -\frac {\log \left (\frac {4 x}{3}-1\right )}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-(Log[-1 + (4*x)/3]/x)

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 29

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

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

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 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]

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 {-4 x+(-3+4 x) \log \left (\frac {1}{3} (-3+4 x)\right )}{x^2 (-3+4 x)} \, dx\\ &=\int \frac {\frac {4 x}{3-4 x}+\log \left (-1+\frac {4 x}{3}\right )}{x^2} \, dx\\ &=\int \left (-\frac {4}{x (-3+4 x)}+\frac {\log \left (-1+\frac {4 x}{3}\right )}{x^2}\right ) \, dx\\ &=-\left (4 \int \frac {1}{x (-3+4 x)} \, dx\right )+\int \frac {\log \left (-1+\frac {4 x}{3}\right )}{x^2} \, dx\\ &=-\frac {\log \left (-1+\frac {4 x}{3}\right )}{x}+\frac {4}{3} \int \frac {1}{x} \, dx+\frac {4}{3} \int \frac {1}{x \left (-1+\frac {4 x}{3}\right )} \, dx-\frac {16}{3} \int \frac {1}{-3+4 x} \, dx\\ &=-\frac {4}{3} \log (3-4 x)+\frac {4 \log (x)}{3}-\frac {\log \left (-1+\frac {4 x}{3}\right )}{x}-\frac {4}{3} \int \frac {1}{x} \, dx+\frac {16}{9} \int \frac {1}{-1+\frac {4 x}{3}} \, dx\\ &=-\frac {\log \left (-1+\frac {4 x}{3}\right )}{x}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 13, normalized size = 1.00 \begin {gather*} -\frac {\log \left (-1+\frac {4 x}{3}\right )}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-(Log[-1 + (4*x)/3]/x)

________________________________________________________________________________________

fricas [A]  time = 0.63, size = 11, normalized size = 0.85 \begin {gather*} -\frac {\log \left (\frac {4}{3} \, x - 1\right )}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(4/3*x - 1)/x

________________________________________________________________________________________

giac [A]  time = 0.15, size = 11, normalized size = 0.85 \begin {gather*} -\frac {\log \left (\frac {4}{3} \, x - 1\right )}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(4/3*x - 1)/x

________________________________________________________________________________________

maple [A]  time = 0.16, size = 12, normalized size = 0.92




method result size



norman \(-\frac {\ln \left (\frac {4 x}{3}-1\right )}{x}\) \(12\)
risch \(-\frac {\ln \left (\frac {4 x}{3}-1\right )}{x}\) \(12\)
derivativedivides \(-\frac {4 \ln \left (\frac {4 x}{3}-1\right )}{3}+\frac {\ln \left (\frac {4 x}{3}-1\right ) \left (\frac {4 x}{3}-1\right )}{x}\) \(25\)
default \(-\frac {4 \ln \left (\frac {4 x}{3}-1\right )}{3}+\frac {\ln \left (\frac {4 x}{3}-1\right ) \left (\frac {4 x}{3}-1\right )}{x}\) \(25\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-ln(4/3*x-1)/x

________________________________________________________________________________________

maxima [B]  time = 0.49, size = 31, normalized size = 2.38 \begin {gather*} \frac {{\left (4 \, x - 3\right )} \log \left (4 \, x - 3\right ) + 3 \, \log \relax (3)}{3 \, x} - \frac {4}{3} \, \log \left (4 \, x - 3\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*((4*x - 3)*log(4*x - 3) + 3*log(3))/x - 4/3*log(4*x - 3)

________________________________________________________________________________________

mupad [B]  time = 0.19, size = 11, normalized size = 0.85 \begin {gather*} -\frac {\ln \left (\frac {4\,x}{3}-1\right )}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log((4*x)/3 - 1)/x

________________________________________________________________________________________

sympy [A]  time = 0.13, size = 10, normalized size = 0.77 \begin {gather*} - \frac {\log {\left (\frac {4 x}{3} - 1 \right )}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(4*x/3 - 1)/x

________________________________________________________________________________________