\(\int \frac {(e x)^m (a+b x^2)^p}{(c+d x)^2} \, dx\) [292]

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

Optimal result

Integrand size = 22, antiderivative size = 246 \[ \int \frac {(e x)^m \left (a+b x^2\right )^p}{(c+d x)^2} \, dx=\frac {(e x)^{1+m} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \operatorname {AppellF1}\left (\frac {1+m}{2},-p,2,\frac {3+m}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^2 e (1+m)}-\frac {2 d (e x)^{2+m} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \operatorname {AppellF1}\left (\frac {2+m}{2},-p,2,\frac {4+m}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^3 e^2 (2+m)}+\frac {d^2 (e x)^{3+m} \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} \operatorname {AppellF1}\left (\frac {3+m}{2},-p,2,\frac {5+m}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^4 e^3 (3+m)} \] Output:

(e*x)^(1+m)*(b*x^2+a)^p*AppellF1(1/2+1/2*m,2,-p,3/2+1/2*m,d^2*x^2/c^2,-b*x 
^2/a)/c^2/e/(1+m)/((1+b*x^2/a)^p)-2*d*(e*x)^(2+m)*(b*x^2+a)^p*AppellF1(1+1 
/2*m,2,-p,2+1/2*m,d^2*x^2/c^2,-b*x^2/a)/c^3/e^2/(2+m)/((1+b*x^2/a)^p)+d^2* 
(e*x)^(3+m)*(b*x^2+a)^p*AppellF1(3/2+1/2*m,2,-p,5/2+1/2*m,d^2*x^2/c^2,-b*x 
^2/a)/c^4/e^3/(3+m)/((1+b*x^2/a)^p)
 

Mathematica [F]

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

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

Output:

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

Rubi [A] (verified)

Time = 0.46 (sec) , antiderivative size = 242, normalized size of antiderivative = 0.98, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {623, 622, 2009}

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 {(e x)^m \left (a+b x^2\right )^p}{(c+d x)^2} \, dx\)

\(\Big \downarrow \) 623

\(\displaystyle x^{-m} (e x)^m \int \frac {x^m \left (b x^2+a\right )^p}{(c+d x)^2}dx\)

\(\Big \downarrow \) 622

\(\displaystyle x^{-m} (e x)^m \int \left (\frac {c^2 \left (b x^2+a\right )^p x^m}{\left (c^2-d^2 x^2\right )^2}-\frac {2 c d \left (b x^2+a\right )^p x^{m+1}}{\left (c^2-d^2 x^2\right )^2}+\frac {d^2 \left (b x^2+a\right )^p x^{m+2}}{\left (d^2 x^2-c^2\right )^2}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle x^{-m} (e x)^m \left (\frac {x^{m+1} \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \operatorname {AppellF1}\left (\frac {m+1}{2},-p,2,\frac {m+3}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^2 (m+1)}+\frac {d^2 x^{m+3} \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \operatorname {AppellF1}\left (\frac {m+3}{2},-p,2,\frac {m+5}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^4 (m+3)}-\frac {2 d x^{m+2} \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} \operatorname {AppellF1}\left (\frac {m+2}{2},-p,2,\frac {m+4}{2},-\frac {b x^2}{a},\frac {d^2 x^2}{c^2}\right )}{c^3 (m+2)}\right )\)

Input:

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

Output:

((e*x)^m*((x^(1 + m)*(a + b*x^2)^p*AppellF1[(1 + m)/2, -p, 2, (3 + m)/2, - 
((b*x^2)/a), (d^2*x^2)/c^2])/(c^2*(1 + m)*(1 + (b*x^2)/a)^p) - (2*d*x^(2 + 
 m)*(a + b*x^2)^p*AppellF1[(2 + m)/2, -p, 2, (4 + m)/2, -((b*x^2)/a), (d^2 
*x^2)/c^2])/(c^3*(2 + m)*(1 + (b*x^2)/a)^p) + (d^2*x^(3 + m)*(a + b*x^2)^p 
*AppellF1[(3 + m)/2, -p, 2, (5 + m)/2, -((b*x^2)/a), (d^2*x^2)/c^2])/(c^4* 
(3 + m)*(1 + (b*x^2)/a)^p)))/x^m
 

Defintions of rubi rules used

rule 622
Int[(x_)^(m_.)*((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbo 
l] :> Int[ExpandIntegrand[x^m*(a + b*x^2)^p, (c/(c^2 - d^2*x^2) - d*(x/(c^2 
 - d^2*x^2)))^(-n), x], x] /; FreeQ[{a, b, c, d, m, p}, x] && ILtQ[n, -1]
 

rule 623
Int[((e_)*(x_))^(m_.)*((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), 
x_Symbol] :> Simp[(e*x)^m/x^m   Int[x^m*(c + d*x)^n*(a + b*x^2)^p, x], x] / 
; FreeQ[{a, b, c, d, e, m, p}, x] && ILtQ[n, 0]
 

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 
Maple [F]

\[\int \frac {\left (e x \right )^{m} \left (b \,x^{2}+a \right )^{p}}{\left (d x +c \right )^{2}}d x\]

Input:

int((e*x)^m*(b*x^2+a)^p/(d*x+c)^2,x)
 

Output:

int((e*x)^m*(b*x^2+a)^p/(d*x+c)^2,x)
 

Fricas [F]

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

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

Output:

integral((b*x^2 + a)^p*(e*x)^m/(d^2*x^2 + 2*c*d*x + c^2), x)
 

Sympy [F(-1)]

Timed out. \[ \int \frac {(e x)^m \left (a+b x^2\right )^p}{(c+d x)^2} \, dx=\text {Timed out} \] Input:

integrate((e*x)**m*(b*x**2+a)**p/(d*x+c)**2,x)
 

Output:

Timed out
 

Maxima [F]

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

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

Output:

integrate((b*x^2 + a)^p*(e*x)^m/(d*x + c)^2, x)
 

Giac [F]

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

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

Output:

integrate((b*x^2 + a)^p*(e*x)^m/(d*x + c)^2, x)
 

Mupad [F(-1)]

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

int(((e*x)^m*(a + b*x^2)^p)/(c + d*x)^2,x)
 

Output:

int(((e*x)^m*(a + b*x^2)^p)/(c + d*x)^2, x)
 

Reduce [F]

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

int((e*x)^m*(b*x^2+a)^p/(d*x+c)^2,x)
 

Output:

e**m*int((x**m*(a + b*x**2)**p)/(c**2 + 2*c*d*x + d**2*x**2),x)