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

Optimal. Leaf size=23 \[ e^{e^4}-\log \left (x \left ((5+e)^2-\log (4)\right ) \log (4)\right ) \]

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

Int[-x^(-1),x]

[Out]

-Log[x]

Rule 29

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

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=-\log (x)\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

Integrate[-x^(-1),x]

[Out]

-Log[x]

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(abs(x))

________________________________________________________________________________________

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




method result size



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



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-ln(x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-1/x,x)

[Out]

-log(x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-1/x,x)

[Out]

-log(x)

________________________________________________________________________________________