3.44.24 \(\int (-6+2 x) \, dx\)

Optimal. Leaf size=21 \[ 2+e^{2+e^{1+\frac {1}{e}}}+(-1+x)^2-4 x \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 7, normalized size of antiderivative = 0.33, number of steps used = 1, number of rules used = 0, integrand size = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} x^2-6 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[-6 + 2*x,x]

[Out]

-6*x + x^2

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=-6 x+x^2\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 7, normalized size = 0.33 \begin {gather*} -6 x+x^2 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[-6 + 2*x,x]

[Out]

-6*x + x^2

________________________________________________________________________________________

fricas [A]  time = 0.71, size = 7, normalized size = 0.33 \begin {gather*} x^{2} - 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*x-6,x, algorithm="fricas")

[Out]

x^2 - 6*x

________________________________________________________________________________________

giac [A]  time = 0.11, size = 7, normalized size = 0.33 \begin {gather*} x^{2} - 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*x-6,x, algorithm="giac")

[Out]

x^2 - 6*x

________________________________________________________________________________________

maple [A]  time = 0.01, size = 6, normalized size = 0.29




method result size



gosper \(x \left (x -6\right )\) \(6\)
default \(x^{2}-6 x\) \(8\)
norman \(x^{2}-6 x\) \(8\)
risch \(x^{2}-6 x\) \(8\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(2*x-6,x,method=_RETURNVERBOSE)

[Out]

x*(x-6)

________________________________________________________________________________________

maxima [A]  time = 0.35, size = 7, normalized size = 0.33 \begin {gather*} x^{2} - 6 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*x-6,x, algorithm="maxima")

[Out]

x^2 - 6*x

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 5, normalized size = 0.24 \begin {gather*} x\,\left (x-6\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(2*x - 6,x)

[Out]

x*(x - 6)

________________________________________________________________________________________

sympy [A]  time = 0.04, size = 5, normalized size = 0.24 \begin {gather*} x^{2} - 6 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*x-6,x)

[Out]

x**2 - 6*x

________________________________________________________________________________________