3.65.92 \(\int \frac {6}{x^2} \, dx\)

Optimal. Leaf size=22 \[ \frac {-4+x}{x}+\frac {-2+2 x+e^9 x}{x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 5, normalized size of antiderivative = 0.23, 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, 30} \begin {gather*} -\frac {6}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[6/x^2,x]

[Out]

-6/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 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=6 \int \frac {1}{x^2} \, dx\\ &=-\frac {6}{x}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 5, normalized size = 0.23 \begin {gather*} -\frac {6}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[6/x^2,x]

[Out]

-6/x

________________________________________________________________________________________

fricas [A]  time = 0.66, size = 5, normalized size = 0.23 \begin {gather*} -\frac {6}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(6/x^2,x, algorithm="fricas")

[Out]

-6/x

________________________________________________________________________________________

giac [A]  time = 0.15, size = 5, normalized size = 0.23 \begin {gather*} -\frac {6}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(6/x^2,x, algorithm="giac")

[Out]

-6/x

________________________________________________________________________________________

maple [A]  time = 0.02, size = 6, normalized size = 0.27




method result size



gosper \(-\frac {6}{x}\) \(6\)
default \(-\frac {6}{x}\) \(6\)
norman \(-\frac {6}{x}\) \(6\)
risch \(-\frac {6}{x}\) \(6\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(6/x^2,x,method=_RETURNVERBOSE)

[Out]

-6/x

________________________________________________________________________________________

maxima [A]  time = 0.36, size = 5, normalized size = 0.23 \begin {gather*} -\frac {6}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(6/x^2,x, algorithm="maxima")

[Out]

-6/x

________________________________________________________________________________________

mupad [B]  time = 0.01, size = 5, normalized size = 0.23 \begin {gather*} -\frac {6}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(6/x^2,x)

[Out]

-6/x

________________________________________________________________________________________

sympy [A]  time = 0.05, size = 3, normalized size = 0.14 \begin {gather*} - \frac {6}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(6/x**2,x)

[Out]

-6/x

________________________________________________________________________________________