Integrand size = 17, antiderivative size = 55 \[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\frac {x^{2-n} \left (a x^n+b x^{1+n}\right )^{1+p} \operatorname {Hypergeometric2F1}\left (1,3+p+n p,3+n p,-\frac {b x}{a}\right )}{a (2+n p)} \] Output:
x^(2-n)*(a*x^n+b*x^(1+n))^(p+1)*hypergeom([1, n*p+p+3],[n*p+3],-b*x/a)/a/( n*p+2)
Time = 0.03 (sec) , antiderivative size = 55, normalized size of antiderivative = 1.00 \[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\frac {x^2 \left (x^n (a+b x)\right )^p \left (1+\frac {b x}{a}\right )^{-p} \operatorname {Hypergeometric2F1}\left (-p,2+n p,3+n p,-\frac {b x}{a}\right )}{2+n p} \] Input:
Integrate[x*(a*x^n + b*x^(1 + n))^p,x]
Output:
(x^2*(x^n*(a + b*x))^p*Hypergeometric2F1[-p, 2 + n*p, 3 + n*p, -((b*x)/a)] )/((2 + n*p)*(1 + (b*x)/a)^p)
Time = 0.31 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.07, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {1938, 76, 74}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int x \left (a x^n+b x^{n+1}\right )^p \, dx\) |
\(\Big \downarrow \) 1938 |
\(\displaystyle x^{-n p} (a+b x)^{-p} \left (a x^n+b x^{n+1}\right )^p \int x^{n p+1} (a+b x)^pdx\) |
\(\Big \downarrow \) 76 |
\(\displaystyle x^{-n p} \left (\frac {b x}{a}+1\right )^{-p} \left (a x^n+b x^{n+1}\right )^p \int x^{n p+1} \left (\frac {b x}{a}+1\right )^pdx\) |
\(\Big \downarrow \) 74 |
\(\displaystyle \frac {x^2 \left (\frac {b x}{a}+1\right )^{-p} \left (a x^n+b x^{n+1}\right )^p \operatorname {Hypergeometric2F1}\left (-p,n p+2,n p+3,-\frac {b x}{a}\right )}{n p+2}\) |
Input:
Int[x*(a*x^n + b*x^(1 + n))^p,x]
Output:
(x^2*(a*x^n + b*x^(1 + n))^p*Hypergeometric2F1[-p, 2 + n*p, 3 + n*p, -((b* x)/a)])/((2 + n*p)*(1 + (b*x)/a)^p)
Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[c^n*((b*x )^(m + 1)/(b*(m + 1)))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*(x/c)], x] /; FreeQ[{b, c, d, m, n}, x] && !IntegerQ[m] && (IntegerQ[n] || (GtQ[c, 0] && !(EqQ[n, -2^(-1)] && EqQ[c^2 - d^2, 0] && GtQ[-d/(b*c), 0])))
Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[c^IntPart [n]*((c + d*x)^FracPart[n]/(1 + d*(x/c))^FracPart[n]) Int[(b*x)^m*(1 + d* (x/c))^n, x], x] /; FreeQ[{b, c, d, m, n}, x] && !IntegerQ[m] && !Integer Q[n] && !GtQ[c, 0] && !GtQ[-d/(b*c), 0] && ((RationalQ[m] && !(EqQ[n, -2 ^(-1)] && EqQ[c^2 - d^2, 0])) || !RationalQ[n])
Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol ] :> Simp[c^IntPart[m]*(c*x)^FracPart[m]*((a*x^j + b*x^n)^FracPart[p]/(x^(F racPart[m] + j*FracPart[p])*(a + b*x^(n - j))^FracPart[p])) Int[x^(m + j* p)*(a + b*x^(n - j))^p, x], x] /; FreeQ[{a, b, c, j, m, n, p}, x] && !Inte gerQ[p] && NeQ[n, j] && PosQ[n - j]
\[\int x \left (a \,x^{n}+b \,x^{1+n}\right )^{p}d x\]
Input:
int(x*(a*x^n+b*x^(1+n))^p,x)
Output:
int(x*(a*x^n+b*x^(1+n))^p,x)
\[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\int { {\left (b x^{n + 1} + a x^{n}\right )}^{p} x \,d x } \] Input:
integrate(x*(a*x^n+b*x^(1+n))^p,x, algorithm="fricas")
Output:
integral((b*x^(n + 1) + a*x^n)^p*x, x)
\[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\int x \left (a x^{n} + b x^{n + 1}\right )^{p}\, dx \] Input:
integrate(x*(a*x**n+b*x**(1+n))**p,x)
Output:
Integral(x*(a*x**n + b*x**(n + 1))**p, x)
\[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\int { {\left (b x^{n + 1} + a x^{n}\right )}^{p} x \,d x } \] Input:
integrate(x*(a*x^n+b*x^(1+n))^p,x, algorithm="maxima")
Output:
integrate((b*x^(n + 1) + a*x^n)^p*x, x)
\[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\int { {\left (b x^{n + 1} + a x^{n}\right )}^{p} x \,d x } \] Input:
integrate(x*(a*x^n+b*x^(1+n))^p,x, algorithm="giac")
Output:
integrate((b*x^(n + 1) + a*x^n)^p*x, x)
Timed out. \[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\int x\,{\left (a\,x^n+b\,x^{n+1}\right )}^p \,d x \] Input:
int(x*(a*x^n + b*x^(n + 1))^p,x)
Output:
int(x*(a*x^n + b*x^(n + 1))^p, x)
\[ \int x \left (a x^n+b x^{1+n}\right )^p \, dx=\text {too large to display} \] Input:
int(x*(a*x^n+b*x^(1+n))^p,x)
Output:
( - (x**n*a + x**n*b*x)**p*a**2*n*p - (x**n*a + x**n*b*x)**p*a**2 + (x**n* a + x**n*b*x)**p*a*b*n*p*x + (x**n*a + x**n*b*x)**p*a*b*p*x + (x**n*a + x* *n*b*x)**p*b**2*n**2*p*x**2 + 2*(x**n*a + x**n*b*x)**p*b**2*n*p*x**2 + (x* *n*a + x**n*b*x)**p*b**2*n*x**2 + (x**n*a + x**n*b*x)**p*b**2*p*x**2 + (x* *n*a + x**n*b*x)**p*b**2*x**2 + int((x**n*a + x**n*b*x)**p/(a*n**3*p**2*x + 3*a*n**2*p**2*x + 3*a*n**2*p*x + 3*a*n*p**2*x + 6*a*n*p*x + 2*a*n*x + a* p**2*x + 3*a*p*x + 2*a*x + b*n**3*p**2*x**2 + 3*b*n**2*p**2*x**2 + 3*b*n** 2*p*x**2 + 3*b*n*p**2*x**2 + 6*b*n*p*x**2 + 2*b*n*x**2 + b*p**2*x**2 + 3*b *p*x**2 + 2*b*x**2),x)*a**3*n**5*p**4 + 3*int((x**n*a + x**n*b*x)**p/(a*n* *3*p**2*x + 3*a*n**2*p**2*x + 3*a*n**2*p*x + 3*a*n*p**2*x + 6*a*n*p*x + 2* a*n*x + a*p**2*x + 3*a*p*x + 2*a*x + b*n**3*p**2*x**2 + 3*b*n**2*p**2*x**2 + 3*b*n**2*p*x**2 + 3*b*n*p**2*x**2 + 6*b*n*p*x**2 + 2*b*n*x**2 + b*p**2* x**2 + 3*b*p*x**2 + 2*b*x**2),x)*a**3*n**4*p**4 + 4*int((x**n*a + x**n*b*x )**p/(a*n**3*p**2*x + 3*a*n**2*p**2*x + 3*a*n**2*p*x + 3*a*n*p**2*x + 6*a* n*p*x + 2*a*n*x + a*p**2*x + 3*a*p*x + 2*a*x + b*n**3*p**2*x**2 + 3*b*n**2 *p**2*x**2 + 3*b*n**2*p*x**2 + 3*b*n*p**2*x**2 + 6*b*n*p*x**2 + 2*b*n*x**2 + b*p**2*x**2 + 3*b*p*x**2 + 2*b*x**2),x)*a**3*n**4*p**3 + 3*int((x**n*a + x**n*b*x)**p/(a*n**3*p**2*x + 3*a*n**2*p**2*x + 3*a*n**2*p*x + 3*a*n*p** 2*x + 6*a*n*p*x + 2*a*n*x + a*p**2*x + 3*a*p*x + 2*a*x + b*n**3*p**2*x**2 + 3*b*n**2*p**2*x**2 + 3*b*n**2*p*x**2 + 3*b*n*p**2*x**2 + 6*b*n*p*x**2...