\(\int \frac {6}{x^2} \, dx\) [6492]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 5, antiderivative size = 22 \[ \int \frac {6}{x^2} \, dx=\frac {-4+x}{x}+\frac {-2+2 x+e^9 x}{x} \]

[Out]

(2*x+x*exp(9)-2)/x+(x-4)/x

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.23, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {12, 30} \[ \int \frac {6}{x^2} \, dx=-\frac {6}{x} \]

[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{align*} \text {integral}& = 6 \int \frac {1}{x^2} \, dx \\ & = -\frac {6}{x} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.23 \[ \int \frac {6}{x^2} \, dx=-\frac {6}{x} \]

[In]

Integrate[6/x^2,x]

[Out]

-6/x

Maple [A] (verified)

Time = 0.03 (sec) , antiderivative size = 6, normalized size of antiderivative = 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\)
parallelrisch \(-\frac {6}{x}\) \(6\)

[In]

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

[Out]

-6/x

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.23 \[ \int \frac {6}{x^2} \, dx=-\frac {6}{x} \]

[In]

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

[Out]

-6/x

Sympy [A] (verification not implemented)

Time = 0.03 (sec) , antiderivative size = 3, normalized size of antiderivative = 0.14 \[ \int \frac {6}{x^2} \, dx=- \frac {6}{x} \]

[In]

integrate(6/x**2,x)

[Out]

-6/x

Maxima [A] (verification not implemented)

none

Time = 0.17 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.23 \[ \int \frac {6}{x^2} \, dx=-\frac {6}{x} \]

[In]

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

[Out]

-6/x

Giac [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.23 \[ \int \frac {6}{x^2} \, dx=-\frac {6}{x} \]

[In]

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

[Out]

-6/x

Mupad [B] (verification not implemented)

Time = 0.01 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.23 \[ \int \frac {6}{x^2} \, dx=-\frac {6}{x} \]

[In]

int(6/x^2,x)

[Out]

-6/x