3.32.22 \(\int \frac {1}{5} (-14+14 x) \, dx\) [3122]

Optimal. Leaf size=30 \[ -e^{e^5}+x+x \left (2-\frac {x+7 (4-x) x}{5 x}\right ) \]

[Out]

(2-1/5*(x+7*(4-x)*x)/x)*x+x-exp(exp(5))

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

Int[(-14 + 14*x)/5,x]

[Out]

(7*(1 - x)^2)/5

Rule 9

Int[(a_)*((b_) + (c_.)*(x_)), x_Symbol] :> Simp[a*((b + c*x)^2/(2*c)), x] /; FreeQ[{a, b, c}, x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\frac {7}{5} (1-x)^2\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 15, normalized size = 0.50 \begin {gather*} \frac {14}{5} \left (-x+\frac {x^2}{2}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-14 + 14*x)/5,x]

[Out]

(14*(-x + x^2/2))/5

________________________________________________________________________________________

Maple [A]
time = 0.16, size = 10, normalized size = 0.33

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(14/5*x-14/5,x,method=_RETURNVERBOSE)

[Out]

7/5*x^2-14/5*x

________________________________________________________________________________________

Maxima [A]
time = 0.25, size = 9, normalized size = 0.30 \begin {gather*} \frac {7}{5} \, x^{2} - \frac {14}{5} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

7/5*x^2 - 14/5*x

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 9, normalized size = 0.30 \begin {gather*} \frac {7}{5} \, x^{2} - \frac {14}{5} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

7/5*x^2 - 14/5*x

________________________________________________________________________________________

Sympy [A]
time = 0.01, size = 10, normalized size = 0.33 \begin {gather*} \frac {7 x^{2}}{5} - \frac {14 x}{5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(14/5*x-14/5,x)

[Out]

7*x**2/5 - 14*x/5

________________________________________________________________________________________

Giac [A]
time = 0.41, size = 9, normalized size = 0.30 \begin {gather*} \frac {7}{5} \, x^{2} - \frac {14}{5} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

7/5*x^2 - 14/5*x

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((14*x)/5 - 14/5,x)

[Out]

(7*x*(x - 2))/5

________________________________________________________________________________________