3.50.30 \(\int (5-2 x) \, dx\) [4930]

Optimal. Leaf size=14 \[ 6+6 e^{16}+(5-x) x \]

[Out]

6*exp(16)+6+x*(5-x)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 9, normalized size of antiderivative = 0.64, 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*} 5 x-x^2 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[5 - 2*x,x]

[Out]

5*x - x^2

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 9, normalized size = 0.64 \begin {gather*} 5 x-x^2 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[5 - 2*x,x]

[Out]

5*x - x^2

________________________________________________________________________________________

Maple [A]
time = 0.09, size = 10, normalized size = 0.71

method result size
gosper \(-\left (x -5\right ) x\) \(7\)
default \(-x^{2}+5 x\) \(10\)
norman \(-x^{2}+5 x\) \(10\)
risch \(-x^{2}+5 x\) \(10\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-2*x+5,x,method=_RETURNVERBOSE)

[Out]

-x^2+5*x

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 9, normalized size = 0.64 \begin {gather*} -x^{2} + 5 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-x^2 + 5*x

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 9, normalized size = 0.64 \begin {gather*} -x^{2} + 5 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-x^2 + 5*x

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 5, normalized size = 0.36 \begin {gather*} - x^{2} + 5 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(5-2*x,x)

[Out]

-x**2 + 5*x

________________________________________________________________________________________

Giac [A]
time = 0.40, size = 9, normalized size = 0.64 \begin {gather*} -x^{2} + 5 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-x^2 + 5*x

________________________________________________________________________________________

Mupad [B]
time = 0.03, size = 6, normalized size = 0.43 \begin {gather*} -x\,\left (x-5\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(5 - 2*x,x)

[Out]

-x*(x - 5)

________________________________________________________________________________________