3.17.75 \(\int -\frac {1}{3 x} \, dx\)

Optimal. Leaf size=10 \[ \frac {1}{3} (1-\log (x)) \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 6, normalized size of antiderivative = 0.60, number of steps used = 2, number of rules used = 2, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {12, 29} \begin {gather*} -\frac {\log (x)}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[-1/3*1/x,x]

[Out]

-1/3*Log[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 29

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 6, normalized size = 0.60 \begin {gather*} -\frac {\log (x)}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[-1/3*1/x,x]

[Out]

-1/3*Log[x]

________________________________________________________________________________________

fricas [A]  time = 0.72, size = 4, normalized size = 0.40 \begin {gather*} -\frac {1}{3} \, \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1/3/x,x, algorithm="fricas")

[Out]

-1/3*log(x)

________________________________________________________________________________________

giac [A]  time = 0.21, size = 5, normalized size = 0.50 \begin {gather*} -\frac {1}{3} \, \log \left ({\left | x \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1/3/x,x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.01, size = 5, normalized size = 0.50




method result size



default \(-\frac {\ln \relax (x )}{3}\) \(5\)
norman \(-\frac {\ln \relax (x )}{3}\) \(5\)
risch \(-\frac {\ln \relax (x )}{3}\) \(5\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-1/3/x,x,method=_RETURNVERBOSE)

[Out]

-1/3*ln(x)

________________________________________________________________________________________

maxima [A]  time = 0.55, size = 4, normalized size = 0.40 \begin {gather*} -\frac {1}{3} \, \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1/3/x,x, algorithm="maxima")

[Out]

-1/3*log(x)

________________________________________________________________________________________

mupad [B]  time = 1.08, size = 4, normalized size = 0.40 \begin {gather*} -\frac {\ln \relax (x)}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-1/(3*x),x)

[Out]

-log(x)/3

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 5, normalized size = 0.50 \begin {gather*} - \frac {\log {\relax (x )}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1/3/x,x)

[Out]

-log(x)/3

________________________________________________________________________________________