3.238 \(\int \frac {(a+b x+c x^2+d x^3)^p (b (1+p) x+c (2+2 p) x^2+d (3+3 p) x^3)}{x} \, dx\)

Optimal. Leaf size=19 \[ \left (a+b x+c x^2+d x^3\right )^{p+1} \]

[Out]

(d*x^3+c*x^2+b*x+a)^(1+p)

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 48, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {1585, 1588} \[ \left (a+b x+c x^2+d x^3\right )^{p+1} \]

Antiderivative was successfully verified.

[In]

Int[((a + b*x + c*x^2 + d*x^3)^p*(b*(1 + p)*x + c*(2 + 2*p)*x^2 + d*(3 + 3*p)*x^3))/x,x]

[Out]

(a + b*x + c*x^2 + d*x^3)^(1 + p)

Rule 1585

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(n_.), x_Symbol] :> Int[u*x^(m +
 n*p)*(a + b*x^(q - p) + c*x^(r - p))^n, x] /; FreeQ[{a, b, c, m, p, q, r}, x] && IntegerQ[n] && PosQ[q - p] &
& PosQ[r - p]

Rule 1588

Int[(Pp_)*(Qq_)^(m_.), x_Symbol] :> With[{p = Expon[Pp, x], q = Expon[Qq, x]}, Simp[(Coeff[Pp, x, p]*x^(p - q
+ 1)*Qq^(m + 1))/((p + m*q + 1)*Coeff[Qq, x, q]), x] /; NeQ[p + m*q + 1, 0] && EqQ[(p + m*q + 1)*Coeff[Qq, x,
q]*Pp, Coeff[Pp, x, p]*x^(p - q)*((p - q + 1)*Qq + (m + 1)*x*D[Qq, x])]] /; FreeQ[m, x] && PolyQ[Pp, x] && Pol
yQ[Qq, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\left (a+b x+c x^2+d x^3\right )^p \left (b (1+p) x+c (2+2 p) x^2+d (3+3 p) x^3\right )}{x} \, dx &=\int \left (b (1+p)+c (2+2 p) x+d (3+3 p) x^2\right ) \left (a+b x+c x^2+d x^3\right )^p \, dx\\ &=\left (a+b x+c x^2+d x^3\right )^{1+p}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 17, normalized size = 0.89 \[ (a+x (b+x (c+d x)))^{p+1} \]

Antiderivative was successfully verified.

[In]

Integrate[((a + b*x + c*x^2 + d*x^3)^p*(b*(1 + p)*x + c*(2 + 2*p)*x^2 + d*(3 + 3*p)*x^3))/x,x]

[Out]

(a + x*(b + x*(c + d*x)))^(1 + p)

________________________________________________________________________________________

fricas [A]  time = 0.90, size = 33, normalized size = 1.74 \[ {\left (d x^{3} + c x^{2} + b x + a\right )} {\left (d x^{3} + c x^{2} + b x + a\right )}^{p} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(d*x^3 + c*x^2 + b*x + a)*(d*x^3 + c*x^2 + b*x + a)^p

________________________________________________________________________________________

giac [B]  time = 0.30, size = 52, normalized size = 2.74 \[ \frac {{\left (d x^{3} + c x^{2} + b x + a\right )}^{p + 1} p}{p + 1} + \frac {{\left (d x^{3} + c x^{2} + b x + a\right )}^{p + 1}}{p + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(d*x^3 + c*x^2 + b*x + a)^(p + 1)*p/(p + 1) + (d*x^3 + c*x^2 + b*x + a)^(p + 1)/(p + 1)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 20, normalized size = 1.05 \[ \left (d \,x^{3}+c \,x^{2}+b x +a \right )^{p +1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(d*x^3+c*x^2+b*x+a)^(p+1)

________________________________________________________________________________________

maxima [A]  time = 0.62, size = 33, normalized size = 1.74 \[ {\left (d x^{3} + c x^{2} + b x + a\right )} {\left (d x^{3} + c x^{2} + b x + a\right )}^{p} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(d*x^3 + c*x^2 + b*x + a)*(d*x^3 + c*x^2 + b*x + a)^p

________________________________________________________________________________________

mupad [B]  time = 2.19, size = 19, normalized size = 1.00 \[ {\left (d\,x^3+c\,x^2+b\,x+a\right )}^{p+1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(a + b*x + c*x^2 + d*x^3)^(p + 1)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Timed out

________________________________________________________________________________________