3.28.54 \(\int -\frac {6}{x} \, dx\)

Optimal. Leaf size=16 \[ 5 \left (-9+\frac {1}{5} \left (\frac {4}{5}-6 \log (x)\right )\right ) \]

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

Int[-6/x,x]

[Out]

-6*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 (6 \int \frac {1}{x} \, dx\right )\\ &=-6 \log (x)\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

Integrate[-6/x,x]

[Out]

-6*Log[x]

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 4, normalized size = 0.25 \begin {gather*} -6 \, \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-6/x,x, algorithm="fricas")

[Out]

-6*log(x)

________________________________________________________________________________________

giac [A]  time = 0.22, size = 5, normalized size = 0.31 \begin {gather*} -6 \, \log \left ({\left | x \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-6/x,x, algorithm="giac")

[Out]

-6*log(abs(x))

________________________________________________________________________________________

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




method result size



default \(-6 \ln \relax (x )\) \(5\)
norman \(-6 \ln \relax (x )\) \(5\)
risch \(-6 \ln \relax (x )\) \(5\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-6/x,x,method=_RETURNVERBOSE)

[Out]

-6*ln(x)

________________________________________________________________________________________

maxima [A]  time = 0.75, size = 4, normalized size = 0.25 \begin {gather*} -6 \, \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-6/x,x, algorithm="maxima")

[Out]

-6*log(x)

________________________________________________________________________________________

mupad [B]  time = 0.01, size = 4, normalized size = 0.25 \begin {gather*} -6\,\ln \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-6/x,x)

[Out]

-6*log(x)

________________________________________________________________________________________

sympy [A]  time = 0.05, size = 5, normalized size = 0.31 \begin {gather*} - 6 \log {\relax (x )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-6/x,x)

[Out]

-6*log(x)

________________________________________________________________________________________