3.1.30 \(\int (b x+d x^3)^n \, dx\) [30]

Optimal. Leaf size=53 \[ \frac {x \left (b+d x^2\right ) \left (b x+d x^3\right )^n \, _2F_1\left (1,\frac {3 (1+n)}{2};\frac {3+n}{2};-\frac {d x^2}{b}\right )}{b (1+n)} \]

[Out]

x*(d*x^2+b)*(d*x^3+b*x)^n*hypergeom([1, 3/2+3/2*n],[3/2+1/2*n],-d*x^2/b)/b/(1+n)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 59, normalized size of antiderivative = 1.11, number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {2036, 372, 371} \begin {gather*} \frac {x \left (\frac {d x^2}{b}+1\right )^{-n} \left (b x+d x^3\right )^n \, _2F_1\left (-n,\frac {n+1}{2};\frac {n+3}{2};-\frac {d x^2}{b}\right )}{n+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(b*x + d*x^3)^n,x]

[Out]

(x*(b*x + d*x^3)^n*Hypergeometric2F1[-n, (1 + n)/2, (3 + n)/2, -((d*x^2)/b)])/((1 + n)*(1 + (d*x^2)/b)^n)

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 372

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^IntPart[p]*((a + b*x^n)^FracPart[p]/
(1 + b*(x^n/a))^FracPart[p]), Int[(c*x)^m*(1 + b*(x^n/a))^p, x], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[
p, 0] &&  !(ILtQ[p, 0] || GtQ[a, 0])

Rule 2036

Int[((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Dist[(a*x^j + b*x^n)^FracPart[p]/(x^(j*FracPart[p
])*(a + b*x^(n - j))^FracPart[p]), Int[x^(j*p)*(a + b*x^(n - j))^p, x], x] /; FreeQ[{a, b, j, n, p}, x] &&  !I
ntegerQ[p] && NeQ[n, j] && PosQ[n - j]

Rubi steps

\begin {align*} \int \left (b x+d x^3\right )^n \, dx &=\left (x^{-n} \left (b+d x^2\right )^{-n} \left (b x+d x^3\right )^n\right ) \int x^n \left (b+d x^2\right )^n \, dx\\ &=\left (x^{-n} \left (1+\frac {d x^2}{b}\right )^{-n} \left (b x+d x^3\right )^n\right ) \int x^n \left (1+\frac {d x^2}{b}\right )^n \, dx\\ &=\frac {x \left (1+\frac {d x^2}{b}\right )^{-n} \left (b x+d x^3\right )^n \, _2F_1\left (-n,\frac {1+n}{2};\frac {3+n}{2};-\frac {d x^2}{b}\right )}{1+n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 61, normalized size = 1.15 \begin {gather*} \frac {x \left (x \left (b+d x^2\right )\right )^n \left (1+\frac {d x^2}{b}\right )^{-n} \, _2F_1\left (-n,\frac {1+n}{2};1+\frac {1+n}{2};-\frac {d x^2}{b}\right )}{1+n} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(b*x + d*x^3)^n,x]

[Out]

(x*(x*(b + d*x^2))^n*Hypergeometric2F1[-n, (1 + n)/2, 1 + (1 + n)/2, -((d*x^2)/b)])/((1 + n)*(1 + (d*x^2)/b)^n
)

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \left (d \,x^{3}+b x \right )^{n}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x^3+b*x)^n,x)

[Out]

int((d*x^3+b*x)^n,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^3+b*x)^n,x, algorithm="maxima")

[Out]

integrate((d*x^3 + b*x)^n, x)

________________________________________________________________________________________

Fricas [F]
time = 0.38, size = 13, normalized size = 0.25 \begin {gather*} {\rm integral}\left ({\left (d x^{3} + b x\right )}^{n}, x\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^3+b*x)^n,x, algorithm="fricas")

[Out]

integral((d*x^3 + b*x)^n, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (b x + d x^{3}\right )^{n}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x**3+b*x)**n,x)

[Out]

Integral((b*x + d*x**3)**n, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^3+b*x)^n,x, algorithm="giac")

[Out]

integrate((d*x^3 + b*x)^n, x)

________________________________________________________________________________________

Mupad [B]
time = 2.22, size = 56, normalized size = 1.06 \begin {gather*} \frac {x\,{\left (d\,x^3+b\,x\right )}^n\,{{}}_2{\mathrm {F}}_1\left (\frac {n}{2}+\frac {1}{2},-n;\ \frac {n}{2}+\frac {3}{2};\ -\frac {d\,x^2}{b}\right )}{{\left (\frac {d\,x^2}{b}+1\right )}^n\,\left (n+1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x + d*x^3)^n,x)

[Out]

(x*(b*x + d*x^3)^n*hypergeom([n/2 + 1/2, -n], n/2 + 3/2, -(d*x^2)/b))/(((d*x^2)/b + 1)^n*(n + 1))

________________________________________________________________________________________