\(\int \frac {(2+d x) (e+f x)^n}{(4-d^2 x^2)^{3/2}} \, dx\) [117]

Optimal result
Mathematica [F]
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 27, antiderivative size = 81 \[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=\frac {(e+f x)^n \left (\frac {d (e+f x)}{d e+2 f}\right )^{-n} \operatorname {AppellF1}\left (-\frac {1}{2},\frac {1}{2},-n,\frac {1}{2},\frac {1}{4} (2-d x),\frac {f (2-d x)}{d e+2 f}\right )}{d \sqrt {2-d x}} \] Output:

(f*x+e)^n*AppellF1(-1/2,-n,1/2,1/2,f*(-d*x+2)/(d*e+2*f),-1/4*d*x+1/2)/d/(- 
d*x+2)^(1/2)/((d*(f*x+e)/(d*e+2*f))^n)
 

Mathematica [F]

\[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=\int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx \] Input:

Integrate[((2 + d*x)*(e + f*x)^n)/(4 - d^2*x^2)^(3/2),x]
 

Output:

Integrate[((2 + d*x)*(e + f*x)^n)/(4 - d^2*x^2)^(3/2), x]
 

Rubi [A] (verified)

Time = 0.22 (sec) , antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {717, 156, 155}

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 {(d x+2) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx\)

\(\Big \downarrow \) 717

\(\displaystyle \int \frac {(e+f x)^n}{(2-d x)^{3/2} \sqrt {d x+2}}dx\)

\(\Big \downarrow \) 156

\(\displaystyle (e+f x)^n \left (\frac {d (e+f x)}{d e+2 f}\right )^{-n} \int \frac {\left (\frac {d e}{d e+2 f}+\frac {d f x}{d e+2 f}\right )^n}{(2-d x)^{3/2} \sqrt {d x+2}}dx\)

\(\Big \downarrow \) 155

\(\displaystyle \frac {(e+f x)^n \left (\frac {d (e+f x)}{d e+2 f}\right )^{-n} \operatorname {AppellF1}\left (-\frac {1}{2},\frac {1}{2},-n,\frac {1}{2},\frac {1}{4} (2-d x),\frac {f (2-d x)}{d e+2 f}\right )}{d \sqrt {2-d x}}\)

Input:

Int[((2 + d*x)*(e + f*x)^n)/(4 - d^2*x^2)^(3/2),x]
 

Output:

((e + f*x)^n*AppellF1[-1/2, 1/2, -n, 1/2, (2 - d*x)/4, (f*(2 - d*x))/(d*e 
+ 2*f)])/(d*Sqrt[2 - d*x]*((d*(e + f*x))/(d*e + 2*f))^n)
 

Defintions of rubi rules used

rule 155
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_)) 
^(p_), x_] :> Simp[((a + b*x)^(m + 1)/(b*(m + 1)*Simplify[b/(b*c - a*d)]^n* 
Simplify[b/(b*e - a*f)]^p))*AppellF1[m + 1, -n, -p, m + 2, (-d)*((a + b*x)/ 
(b*c - a*d)), (-f)*((a + b*x)/(b*e - a*f))], x] /; FreeQ[{a, b, c, d, e, f, 
 m, n, p}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] &&  !IntegerQ[p] && GtQ[Sim 
plify[b/(b*c - a*d)], 0] && GtQ[Simplify[b/(b*e - a*f)], 0] &&  !(GtQ[Simpl 
ify[d/(d*a - c*b)], 0] && GtQ[Simplify[d/(d*e - c*f)], 0] && SimplerQ[c + d 
*x, a + b*x]) &&  !(GtQ[Simplify[f/(f*a - e*b)], 0] && GtQ[Simplify[f/(f*c 
- e*d)], 0] && SimplerQ[e + f*x, a + b*x])
 

rule 156
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_)) 
^(p_), x_] :> Simp[(e + f*x)^FracPart[p]/(Simplify[b/(b*e - a*f)]^IntPart[p 
]*(b*((e + f*x)/(b*e - a*f)))^FracPart[p])   Int[(a + b*x)^m*(c + d*x)^n*Si 
mp[b*(e/(b*e - a*f)) + b*f*(x/(b*e - a*f)), x]^p, x], x] /; FreeQ[{a, b, c, 
 d, e, f, m, n, p}, x] &&  !IntegerQ[m] &&  !IntegerQ[n] &&  !IntegerQ[p] & 
& GtQ[Simplify[b/(b*c - a*d)], 0] &&  !GtQ[Simplify[b/(b*e - a*f)], 0]
 

rule 717
Int[((d_) + (e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))^(n_.)*((a_) + (c_.)*(x_) 
^2)^(p_), x_Symbol] :> Int[(d + e*x)^(m + p)*(f + g*x)^n*(a/d + (c/e)*x)^p, 
 x] /; FreeQ[{a, c, d, e, f, g, m, n}, x] && EqQ[c*d^2 + a*e^2, 0] && GtQ[a 
, 0] && GtQ[d, 0]
 
Maple [F]

\[\int \frac {\left (d x +2\right ) \left (f x +e \right )^{n}}{\left (-d^{2} x^{2}+4\right )^{\frac {3}{2}}}d x\]

Input:

int((d*x+2)*(f*x+e)^n/(-d^2*x^2+4)^(3/2),x)
 

Output:

int((d*x+2)*(f*x+e)^n/(-d^2*x^2+4)^(3/2),x)
 

Fricas [F]

\[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=\int { \frac {{\left (d x + 2\right )} {\left (f x + e\right )}^{n}}{{\left (-d^{2} x^{2} + 4\right )}^{\frac {3}{2}}} \,d x } \] Input:

integrate((d*x+2)*(f*x+e)^n/(-d^2*x^2+4)^(3/2),x, algorithm="fricas")
 

Output:

integral(sqrt(-d^2*x^2 + 4)*(f*x + e)^n/(d^3*x^3 - 2*d^2*x^2 - 4*d*x + 8), 
 x)
 

Sympy [F]

\[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=\int \frac {\left (e + f x\right )^{n} \left (d x + 2\right )}{\left (- \left (d x - 2\right ) \left (d x + 2\right )\right )^{\frac {3}{2}}}\, dx \] Input:

integrate((d*x+2)*(f*x+e)**n/(-d**2*x**2+4)**(3/2),x)
 

Output:

Integral((e + f*x)**n*(d*x + 2)/(-(d*x - 2)*(d*x + 2))**(3/2), x)
 

Maxima [F]

\[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=\int { \frac {{\left (d x + 2\right )} {\left (f x + e\right )}^{n}}{{\left (-d^{2} x^{2} + 4\right )}^{\frac {3}{2}}} \,d x } \] Input:

integrate((d*x+2)*(f*x+e)^n/(-d^2*x^2+4)^(3/2),x, algorithm="maxima")
 

Output:

integrate((d*x + 2)*(f*x + e)^n/(-d^2*x^2 + 4)^(3/2), x)
 

Giac [F]

\[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=\int { \frac {{\left (d x + 2\right )} {\left (f x + e\right )}^{n}}{{\left (-d^{2} x^{2} + 4\right )}^{\frac {3}{2}}} \,d x } \] Input:

integrate((d*x+2)*(f*x+e)^n/(-d^2*x^2+4)^(3/2),x, algorithm="giac")
 

Output:

integrate((d*x + 2)*(f*x + e)^n/(-d^2*x^2 + 4)^(3/2), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=\int \frac {{\left (e+f\,x\right )}^n\,\left (d\,x+2\right )}{{\left (4-d^2\,x^2\right )}^{3/2}} \,d x \] Input:

int(((e + f*x)^n*(d*x + 2))/(4 - d^2*x^2)^(3/2),x)
 

Output:

int(((e + f*x)^n*(d*x + 2))/(4 - d^2*x^2)^(3/2), x)
 

Reduce [F]

\[ \int \frac {(2+d x) (e+f x)^n}{\left (4-d^2 x^2\right )^{3/2}} \, dx=-\left (\int \frac {\left (f x +e \right )^{n}}{\sqrt {-d^{2} x^{2}+4}\, d x -2 \sqrt {-d^{2} x^{2}+4}}d x \right ) \] Input:

int((d*x+2)*(f*x+e)^n/(-d^2*x^2+4)^(3/2),x)
 

Output:

 - int((e + f*x)**n/(sqrt( - d**2*x**2 + 4)*d*x - 2*sqrt( - d**2*x**2 + 4) 
),x)