3.37.33 \(\int \frac {21}{-125+21 x} \, dx\)

Optimal. Leaf size=12 \[ \log \left (\left (1-\frac {125}{21 x}\right ) x\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 6, normalized size of antiderivative = 0.50, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {12, 31} \begin {gather*} \log (125-21 x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[21/(-125 + 21*x),x]

[Out]

Log[125 - 21*x]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 31

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

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=21 \int \frac {1}{-125+21 x} \, dx\\ &=\log (125-21 x)\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 6, normalized size = 0.50 \begin {gather*} \log (-125+21 x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[21/(-125 + 21*x),x]

[Out]

Log[-125 + 21*x]

________________________________________________________________________________________

fricas [A]  time = 0.58, size = 6, normalized size = 0.50 \begin {gather*} \log \left (21 \, x - 125\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(21/(21*x-125),x, algorithm="fricas")

[Out]

log(21*x - 125)

________________________________________________________________________________________

giac [A]  time = 0.15, size = 7, normalized size = 0.58 \begin {gather*} \log \left ({\left | 21 \, x - 125 \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(21/(21*x-125),x, algorithm="giac")

[Out]

log(abs(21*x - 125))

________________________________________________________________________________________

maple [A]  time = 0.08, size = 7, normalized size = 0.58




method result size



default \(\ln \left (21 x -125\right )\) \(7\)
norman \(\ln \left (21 x -125\right )\) \(7\)
meijerg \(\ln \left (1-\frac {21 x}{125}\right )\) \(7\)
risch \(\ln \left (21 x -125\right )\) \(7\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(21/(21*x-125),x,method=_RETURNVERBOSE)

[Out]

ln(21*x-125)

________________________________________________________________________________________

maxima [A]  time = 0.71, size = 6, normalized size = 0.50 \begin {gather*} \log \left (21 \, x - 125\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(21/(21*x-125),x, algorithm="maxima")

[Out]

log(21*x - 125)

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 4, normalized size = 0.33 \begin {gather*} \ln \left (x-\frac {125}{21}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(21/(21*x - 125),x)

[Out]

log(x - 125/21)

________________________________________________________________________________________

sympy [A]  time = 0.05, size = 5, normalized size = 0.42 \begin {gather*} \log {\left (21 x - 125 \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(21/(21*x-125),x)

[Out]

log(21*x - 125)

________________________________________________________________________________________