3.6 \(\int \frac{1}{a^3+3 a^2 b x+3 a b^2 x^2+b^3 x^3} \, dx\)

Optimal. Leaf size=14 \[ -\frac{1}{2 b (a+b x)^2} \]

[Out]

-1/(2*b*(a + b*x)^2)

________________________________________________________________________________________

Rubi [A]  time = 0.0085853, antiderivative size = 14, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.069, Rules used = {2058, 32} \[ -\frac{1}{2 b (a+b x)^2} \]

Antiderivative was successfully verified.

[In]

Int[(a^3 + 3*a^2*b*x + 3*a*b^2*x^2 + b^3*x^3)^(-1),x]

[Out]

-1/(2*b*(a + b*x)^2)

Rule 2058

Int[(P_)^(p_), x_Symbol] :> With[{u = Factor[P]}, Int[ExpandIntegrand[u^p, x], x] /;  !SumQ[NonfreeFactors[u,
x]]] /; PolyQ[P, x] && ILtQ[p, 0]

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps

\begin{align*} \int \frac{1}{a^3+3 a^2 b x+3 a b^2 x^2+b^3 x^3} \, dx &=\int \frac{1}{(a+b x)^3} \, dx\\ &=-\frac{1}{2 b (a+b x)^2}\\ \end{align*}

Mathematica [A]  time = 0.0027345, size = 14, normalized size = 1. \[ -\frac{1}{2 b (a+b x)^2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a^3 + 3*a^2*b*x + 3*a*b^2*x^2 + b^3*x^3)^(-1),x]

[Out]

-1/(2*b*(a + b*x)^2)

________________________________________________________________________________________

Maple [A]  time = 0.003, size = 13, normalized size = 0.9 \begin{align*} -{\frac{1}{2\,b \left ( bx+a \right ) ^{2}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b^3*x^3+3*a*b^2*x^2+3*a^2*b*x+a^3),x)

[Out]

-1/2/b/(b*x+a)^2

________________________________________________________________________________________

Maxima [A]  time = 1.1701, size = 32, normalized size = 2.29 \begin{align*} -\frac{1}{2 \,{\left (b^{3} x^{2} + 2 \, a b^{2} x + a^{2} b\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b^3*x^3+3*a*b^2*x^2+3*a^2*b*x+a^3),x, algorithm="maxima")

[Out]

-1/2/(b^3*x^2 + 2*a*b^2*x + a^2*b)

________________________________________________________________________________________

Fricas [A]  time = 1.22929, size = 49, normalized size = 3.5 \begin{align*} -\frac{1}{2 \,{\left (b^{3} x^{2} + 2 \, a b^{2} x + a^{2} b\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b^3*x^3+3*a*b^2*x^2+3*a^2*b*x+a^3),x, algorithm="fricas")

[Out]

-1/2/(b^3*x^2 + 2*a*b^2*x + a^2*b)

________________________________________________________________________________________

Sympy [B]  time = 0.324639, size = 26, normalized size = 1.86 \begin{align*} - \frac{1}{2 a^{2} b + 4 a b^{2} x + 2 b^{3} x^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b**3*x**3+3*a*b**2*x**2+3*a**2*b*x+a**3),x)

[Out]

-1/(2*a**2*b + 4*a*b**2*x + 2*b**3*x**2)

________________________________________________________________________________________

Giac [A]  time = 1.08152, size = 16, normalized size = 1.14 \begin{align*} -\frac{1}{2 \,{\left (b x + a\right )}^{2} b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b^3*x^3+3*a*b^2*x^2+3*a^2*b*x+a^3),x, algorithm="giac")

[Out]

-1/2/((b*x + a)^2*b)