\(\int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx\) [269]

Optimal result
Mathematica [F]
Rubi [A] (warning: unable to verify)
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 21, antiderivative size = 163 \[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=-\frac {(c+d x)^n \sqrt {a-b x^2}}{b}+\frac {(c+d x)^n \sqrt {a-b x^2} \operatorname {AppellF1}\left (n,-\frac {1}{2},-\frac {1}{2},1+n,\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}},\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}\right )}{b \sqrt {1-\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {1-\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}}} \] Output:

-(d*x+c)^n*(-b*x^2+a)^(1/2)/b+(d*x+c)^n*(-b*x^2+a)^(1/2)*AppellF1(n,-1/2,- 
1/2,1+n,(d*x+c)/(c-a^(1/2)*d/b^(1/2)),(d*x+c)/(c+a^(1/2)*d/b^(1/2)))/b/(1- 
(d*x+c)/(c-a^(1/2)*d/b^(1/2)))^(1/2)/(1-(d*x+c)/(c+a^(1/2)*d/b^(1/2)))^(1/ 
2)
 

Mathematica [F]

\[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=\int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx \] Input:

Integrate[(x*(c + d*x)^n)/Sqrt[a - b*x^2],x]
 

Output:

Integrate[(x*(c + d*x)^n)/Sqrt[a - b*x^2], x]
 

Rubi [A] (warning: unable to verify)

Time = 0.34 (sec) , antiderivative size = 297, normalized size of antiderivative = 1.82, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {624, 514, 150}

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 \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx\)

\(\Big \downarrow \) 624

\(\displaystyle \frac {\int \frac {(c+d x)^{n+1}}{\sqrt {a-b x^2}}dx}{d}-\frac {c \int \frac {(c+d x)^n}{\sqrt {a-b x^2}}dx}{d}\)

\(\Big \downarrow \) 514

\(\displaystyle \frac {\sqrt {1-\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {1-\frac {c+d x}{\frac {\sqrt {a} d}{\sqrt {b}}+c}} \int \frac {(c+d x)^{n+1}}{\sqrt {1-\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {1-\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}}}d(c+d x)}{d^2 \sqrt {a-b x^2}}-\frac {c \sqrt {1-\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {1-\frac {c+d x}{\frac {\sqrt {a} d}{\sqrt {b}}+c}} \int \frac {(c+d x)^n}{\sqrt {1-\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {1-\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}}}d(c+d x)}{d^2 \sqrt {a-b x^2}}\)

\(\Big \downarrow \) 150

\(\displaystyle \frac {(c+d x)^{n+2} \sqrt {1-\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {1-\frac {c+d x}{\frac {\sqrt {a} d}{\sqrt {b}}+c}} \operatorname {AppellF1}\left (n+2,\frac {1}{2},\frac {1}{2},n+3,\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}},\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}\right )}{d^2 (n+2) \sqrt {a-b x^2}}-\frac {c (c+d x)^{n+1} \sqrt {1-\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {1-\frac {c+d x}{\frac {\sqrt {a} d}{\sqrt {b}}+c}} \operatorname {AppellF1}\left (n+1,\frac {1}{2},\frac {1}{2},n+2,\frac {c+d x}{c-\frac {\sqrt {a} d}{\sqrt {b}}},\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}\right )}{d^2 (n+1) \sqrt {a-b x^2}}\)

Input:

Int[(x*(c + d*x)^n)/Sqrt[a - b*x^2],x]
 

Output:

-((c*(c + d*x)^(1 + n)*Sqrt[1 - (c + d*x)/(c - (Sqrt[a]*d)/Sqrt[b])]*Sqrt[ 
1 - (c + d*x)/(c + (Sqrt[a]*d)/Sqrt[b])]*AppellF1[1 + n, 1/2, 1/2, 2 + n, 
(c + d*x)/(c - (Sqrt[a]*d)/Sqrt[b]), (c + d*x)/(c + (Sqrt[a]*d)/Sqrt[b])]) 
/(d^2*(1 + n)*Sqrt[a - b*x^2])) + ((c + d*x)^(2 + n)*Sqrt[1 - (c + d*x)/(c 
 - (Sqrt[a]*d)/Sqrt[b])]*Sqrt[1 - (c + d*x)/(c + (Sqrt[a]*d)/Sqrt[b])]*App 
ellF1[2 + n, 1/2, 1/2, 3 + n, (c + d*x)/(c - (Sqrt[a]*d)/Sqrt[b]), (c + d* 
x)/(c + (Sqrt[a]*d)/Sqrt[b])])/(d^2*(2 + n)*Sqrt[a - b*x^2])
 

Defintions of rubi rules used

rule 150
Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_)*((e_) + (f_.)*(x_))^(p_), x_ 
] :> Simp[c^n*e^p*((b*x)^(m + 1)/(b*(m + 1)))*AppellF1[m + 1, -n, -p, m + 2 
, (-d)*(x/c), (-f)*(x/e)], x] /; FreeQ[{b, c, d, e, f, m, n, p}, x] &&  !In 
tegerQ[m] &&  !IntegerQ[n] && GtQ[c, 0] && (IntegerQ[p] || GtQ[e, 0])
 

rule 514
Int[((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> With[ 
{q = Rt[-a/b, 2]}, Simp[(a + b*x^2)^p/(d*(1 - (c + d*x)/(c - d*q))^p*(1 - ( 
c + d*x)/(c + d*q))^p)   Subst[Int[x^n*Simp[1 - x/(c + d*q), x]^p*Simp[1 - 
x/(c - d*q), x]^p, x], x, c + d*x], x]] /; FreeQ[{a, b, c, d, n, p}, x] && 
NeQ[b*c^2 + a*d^2, 0]
 

rule 624
Int[(x_)^(m_.)*((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbo 
l] :> Simp[1/d   Int[x^(m - 1)*(c + d*x)^(n + 1)*(a + b*x^2)^p, x], x] - Si 
mp[c/d   Int[x^(m - 1)*(c + d*x)^n*(a + b*x^2)^p, x], x] /; FreeQ[{a, b, c, 
 d, n, p}, x] && IGtQ[m, 0]
 
Maple [F]

\[\int \frac {x \left (d x +c \right )^{n}}{\sqrt {-b \,x^{2}+a}}d x\]

Input:

int(x*(d*x+c)^n/(-b*x^2+a)^(1/2),x)
 

Output:

int(x*(d*x+c)^n/(-b*x^2+a)^(1/2),x)
 

Fricas [F]

\[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=\int { \frac {{\left (d x + c\right )}^{n} x}{\sqrt {-b x^{2} + a}} \,d x } \] Input:

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

Output:

integral(-sqrt(-b*x^2 + a)*(d*x + c)^n*x/(b*x^2 - a), x)
 

Sympy [F]

\[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=\int \frac {x \left (c + d x\right )^{n}}{\sqrt {a - b x^{2}}}\, dx \] Input:

integrate(x*(d*x+c)**n/(-b*x**2+a)**(1/2),x)
 

Output:

Integral(x*(c + d*x)**n/sqrt(a - b*x**2), x)
 

Maxima [F]

\[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=\int { \frac {{\left (d x + c\right )}^{n} x}{\sqrt {-b x^{2} + a}} \,d x } \] Input:

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

Output:

integrate((d*x + c)^n*x/sqrt(-b*x^2 + a), x)
 

Giac [F]

\[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=\int { \frac {{\left (d x + c\right )}^{n} x}{\sqrt {-b x^{2} + a}} \,d x } \] Input:

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

Output:

integrate((d*x + c)^n*x/sqrt(-b*x^2 + a), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=\int \frac {x\,{\left (c+d\,x\right )}^n}{\sqrt {a-b\,x^2}} \,d x \] Input:

int((x*(c + d*x)^n)/(a - b*x^2)^(1/2),x)
 

Output:

int((x*(c + d*x)^n)/(a - b*x^2)^(1/2), x)
 

Reduce [F]

\[ \int \frac {x (c+d x)^n}{\sqrt {a-b x^2}} \, dx=\int \frac {\left (d x +c \right )^{n} x}{\sqrt {-b \,x^{2}+a}}d x \] Input:

int(x*(d*x+c)^n/(-b*x^2+a)^(1/2),x)
 

Output:

int(((c + d*x)**n*x)/sqrt(a - b*x**2),x)