3.40.35 \(\int \frac {6}{x} \, dx\)

Optimal. Leaf size=16 \[ 5-3 \left (3-\log \left (\frac {16}{5}\right )-2 \log (x)\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} &=6 \int \frac {1}{x} \, dx\\ &=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.46, 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.21, 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.34, 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 = 3, normalized size = 0.19 \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)

________________________________________________________________________________________