3.24.46 \(\int \frac {1}{25} (-9-12 x-3 x^2) \, dx\)

Optimal. Leaf size=16 \[ 2-\frac {1}{25} x (3+x)^2+4 \log (2) \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 20, normalized size of antiderivative = 1.25, number of steps used = 2, number of rules used = 1, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {12} \begin {gather*} -\frac {x^3}{25}-\frac {6 x^2}{25}-\frac {9 x}{25} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-9 - 12*x - 3*x^2)/25,x]

[Out]

(-9*x)/25 - (6*x^2)/25 - x^3/25

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{25} \int \left (-9-12 x-3 x^2\right ) \, dx\\ &=-\frac {9 x}{25}-\frac {6 x^2}{25}-\frac {x^3}{25}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 20, normalized size = 1.25 \begin {gather*} -\frac {3}{25} \left (3 x+2 x^2+\frac {x^3}{3}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-9 - 12*x - 3*x^2)/25,x]

[Out]

(-3*(3*x + 2*x^2 + x^3/3))/25

________________________________________________________________________________________

fricas [A]  time = 0.57, size = 14, normalized size = 0.88 \begin {gather*} -\frac {1}{25} \, x^{3} - \frac {6}{25} \, x^{2} - \frac {9}{25} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-3/25*x^2-12/25*x-9/25,x, algorithm="fricas")

[Out]

-1/25*x^3 - 6/25*x^2 - 9/25*x

________________________________________________________________________________________

giac [A]  time = 0.21, size = 14, normalized size = 0.88 \begin {gather*} -\frac {1}{25} \, x^{3} - \frac {6}{25} \, x^{2} - \frac {9}{25} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-3/25*x^2-12/25*x-9/25,x, algorithm="giac")

[Out]

-1/25*x^3 - 6/25*x^2 - 9/25*x

________________________________________________________________________________________

maple [A]  time = 0.02, size = 12, normalized size = 0.75




method result size



gosper \(-\frac {x \left (x^{2}+6 x +9\right )}{25}\) \(12\)
default \(-\frac {1}{25} x^{3}-\frac {6}{25} x^{2}-\frac {9}{25} x\) \(15\)
norman \(-\frac {1}{25} x^{3}-\frac {6}{25} x^{2}-\frac {9}{25} x\) \(15\)
risch \(-\frac {1}{25} x^{3}-\frac {6}{25} x^{2}-\frac {9}{25} x\) \(15\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-3/25*x^2-12/25*x-9/25,x,method=_RETURNVERBOSE)

[Out]

-1/25*x*(x^2+6*x+9)

________________________________________________________________________________________

maxima [A]  time = 0.40, size = 14, normalized size = 0.88 \begin {gather*} -\frac {1}{25} \, x^{3} - \frac {6}{25} \, x^{2} - \frac {9}{25} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-3/25*x^2-12/25*x-9/25,x, algorithm="maxima")

[Out]

-1/25*x^3 - 6/25*x^2 - 9/25*x

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 8, normalized size = 0.50 \begin {gather*} -\frac {x\,{\left (x+3\right )}^2}{25} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(- (12*x)/25 - (3*x^2)/25 - 9/25,x)

[Out]

-(x*(x + 3)^2)/25

________________________________________________________________________________________

sympy [A]  time = 0.05, size = 17, normalized size = 1.06 \begin {gather*} - \frac {x^{3}}{25} - \frac {6 x^{2}}{25} - \frac {9 x}{25} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(-3/25*x**2-12/25*x-9/25,x)

[Out]

-x**3/25 - 6*x**2/25 - 9*x/25

________________________________________________________________________________________