3.84.58 \(\int \frac {1-2 \log (x)}{x^3} \, dx\)

Optimal. Leaf size=8 \[ 3+\frac {\log (x)}{x^2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 6, normalized size of antiderivative = 0.75, number of steps used = 1, number of rules used = 1, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2303} \begin {gather*} \frac {\log (x)}{x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(1 - 2*Log[x])/x^3,x]

[Out]

Log[x]/x^2

Rule 2303

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(b*(d*x)^(m + 1)*Log[c*x^n])/(
d*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1] && EqQ[a*(m + 1) - b*n, 0]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 6, normalized size = 0.75 \begin {gather*} \frac {\log (x)}{x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*Log[x])/x^3,x]

[Out]

Log[x]/x^2

________________________________________________________________________________________

fricas [A]  time = 0.93, size = 6, normalized size = 0.75 \begin {gather*} \frac {\log \relax (x)}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-2*log(x)+1)/x^3,x, algorithm="fricas")

[Out]

log(x)/x^2

________________________________________________________________________________________

giac [A]  time = 0.20, size = 6, normalized size = 0.75 \begin {gather*} \frac {\log \relax (x)}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-2*log(x)+1)/x^3,x, algorithm="giac")

[Out]

log(x)/x^2

________________________________________________________________________________________

maple [A]  time = 0.02, size = 7, normalized size = 0.88




method result size



default \(\frac {\ln \relax (x )}{x^{2}}\) \(7\)
norman \(\frac {\ln \relax (x )}{x^{2}}\) \(7\)
risch \(\frac {\ln \relax (x )}{x^{2}}\) \(7\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-2*ln(x)+1)/x^3,x,method=_RETURNVERBOSE)

[Out]

ln(x)/x^2

________________________________________________________________________________________

maxima [B]  time = 0.36, size = 17, normalized size = 2.12 \begin {gather*} \frac {2 \, \log \relax (x) + 1}{2 \, x^{2}} - \frac {1}{2 \, x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-2*log(x)+1)/x^3,x, algorithm="maxima")

[Out]

1/2*(2*log(x) + 1)/x^2 - 1/2/x^2

________________________________________________________________________________________

mupad [B]  time = 5.15, size = 6, normalized size = 0.75 \begin {gather*} \frac {\ln \relax (x)}{x^2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(2*log(x) - 1)/x^3,x)

[Out]

log(x)/x^2

________________________________________________________________________________________

sympy [A]  time = 0.09, size = 5, normalized size = 0.62 \begin {gather*} \frac {\log {\relax (x )}}{x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-2*ln(x)+1)/x**3,x)

[Out]

log(x)/x**2

________________________________________________________________________________________