\(\int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx\) [170]

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

Optimal result

Integrand size = 30, antiderivative size = 186 \[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=\frac {i 2^{-1-p+q} \left (e^{2 i (d+e x)}\right )^{\frac {1}{2} \left (-p+\frac {i b c \log (F)}{e}\right )} \left (1-e^{2 i (d+e x)}\right ) \left (1+e^{2 i (d+e x)}\right )^{p-q} F^{c (a+b x)} \operatorname {AppellF1}\left (1-q,\frac {1}{2} \left (2-p+\frac {i b c \log (F)}{e}\right ),p-q,2-q,1-e^{2 i (d+e x)},\frac {1}{2} \left (1-e^{2 i (d+e x)}\right )\right ) (g \cot (d+e x))^q (f \sec (d+e x))^p}{e (1-q)} \] Output:

I*2^(-1-p+q)*exp(2*I*(e*x+d))^(-1/2*p+1/2*I*b*c*ln(F)/e)*(1-exp(2*I*(e*x+d 
)))*(1+exp(2*I*(e*x+d)))^(p-q)*F^(c*(b*x+a))*AppellF1(1-q,1-1/2*p+1/2*I*b* 
c*ln(F)/e,p-q,2-q,1-exp(2*I*(e*x+d)),1/2-1/2*exp(2*I*(e*x+d)))*(g*cot(e*x+ 
d))^q*(f*sec(e*x+d))^p/e/(1-q)
 

Mathematica [F]

\[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=\int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx \] Input:

Integrate[F^(c*(a + b*x))*(g*Cot[d + e*x])^q*(f*Sec[d + e*x])^p,x]
 

Output:

Integrate[F^(c*(a + b*x))*(g*Cot[d + e*x])^q*(f*Sec[d + e*x])^p, x]
 

Rubi [F]

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 F^{c (a+b x)} (f \sec (d+e x))^p (g \cot (d+e x))^q \, dx\)

\(\Big \downarrow \) 7271

\(\displaystyle \cot ^{-q}(d+e x) (g \cot (d+e x))^q \int F^{c (a+b x)} \cot ^q(d+e x) (f \sec (d+e x))^pdx\)

\(\Big \downarrow \) 7271

\(\displaystyle \sec ^{-p}(d+e x) \cot ^{-q}(d+e x) (f \sec (d+e x))^p (g \cot (d+e x))^q \int F^{c (a+b x)} \cot ^q(d+e x) \sec ^p(d+e x)dx\)

\(\Big \downarrow \) 7292

\(\displaystyle \sec ^{-p}(d+e x) \cot ^{-q}(d+e x) (f \sec (d+e x))^p (g \cot (d+e x))^q \int F^{a c+b x c} \cot ^q(d+e x) \sec ^p(d+e x)dx\)

\(\Big \downarrow \) 7299

\(\displaystyle \sec ^{-p}(d+e x) \cot ^{-q}(d+e x) (f \sec (d+e x))^p (g \cot (d+e x))^q \int F^{a c+b x c} \cot ^q(d+e x) \sec ^p(d+e x)dx\)

Input:

Int[F^(c*(a + b*x))*(g*Cot[d + e*x])^q*(f*Sec[d + e*x])^p,x]
 

Output:

$Aborted
 

Defintions of rubi rules used

rule 7271
Int[(u_.)*((a_.)*(v_)^(m_.))^(p_), x_Symbol] :> Simp[a^IntPart[p]*((a*v^m)^ 
FracPart[p]/v^(m*FracPart[p]))   Int[u*v^(m*p), x], x] /; FreeQ[{a, m, p}, 
x] &&  !IntegerQ[p] &&  !FreeQ[v, x] &&  !(EqQ[a, 1] && EqQ[m, 1]) &&  !(Eq 
Q[v, x] && EqQ[m, 1])
 

rule 7292
Int[u_, x_Symbol] :> With[{v = NormalizeIntegrand[u, x]}, Int[v, x] /; v =! 
= u]
 

rule 7299
Int[u_, x_] :> CannotIntegrate[u, x]
 
Maple [F]

\[\int F^{c \left (b x +a \right )} \left (g \cot \left (e x +d \right )\right )^{q} \left (f \sec \left (e x +d \right )\right )^{p}d x\]

Input:

int(F^(c*(b*x+a))*(g*cot(e*x+d))^q*(f*sec(e*x+d))^p,x)
 

Output:

int(F^(c*(b*x+a))*(g*cot(e*x+d))^q*(f*sec(e*x+d))^p,x)
 

Fricas [F]

\[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=\int { \left (g \cot \left (e x + d\right )\right )^{q} \left (f \sec \left (e x + d\right )\right )^{p} F^{{\left (b x + a\right )} c} \,d x } \] Input:

integrate(F^(c*(b*x+a))*(g*cot(e*x+d))^q*(f*sec(e*x+d))^p,x, algorithm="fr 
icas")
 

Output:

integral((g*cot(e*x + d))^q*(f*sec(e*x + d))^p*F^(b*c*x + a*c), x)
 

Sympy [F]

\[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=\int F^{c \left (a + b x\right )} \left (f \sec {\left (d + e x \right )}\right )^{p} \left (g \cot {\left (d + e x \right )}\right )^{q}\, dx \] Input:

integrate(F**(c*(b*x+a))*(g*cot(e*x+d))**q*(f*sec(e*x+d))**p,x)
 

Output:

Integral(F**(c*(a + b*x))*(f*sec(d + e*x))**p*(g*cot(d + e*x))**q, x)
 

Maxima [F]

\[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=\int { \left (g \cot \left (e x + d\right )\right )^{q} \left (f \sec \left (e x + d\right )\right )^{p} F^{{\left (b x + a\right )} c} \,d x } \] Input:

integrate(F^(c*(b*x+a))*(g*cot(e*x+d))^q*(f*sec(e*x+d))^p,x, algorithm="ma 
xima")
 

Output:

integrate((g*cot(e*x + d))^q*(f*sec(e*x + d))^p*F^((b*x + a)*c), x)
 

Giac [F]

\[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=\int { \left (g \cot \left (e x + d\right )\right )^{q} \left (f \sec \left (e x + d\right )\right )^{p} F^{{\left (b x + a\right )} c} \,d x } \] Input:

integrate(F^(c*(b*x+a))*(g*cot(e*x+d))^q*(f*sec(e*x+d))^p,x, algorithm="gi 
ac")
 

Output:

integrate((g*cot(e*x + d))^q*(f*sec(e*x + d))^p*F^((b*x + a)*c), x)
 

Mupad [F(-1)]

Timed out. \[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=\int F^{c\,\left (a+b\,x\right )}\,{\left (g\,\mathrm {cot}\left (d+e\,x\right )\right )}^q\,{\left (\frac {f}{\cos \left (d+e\,x\right )}\right )}^p \,d x \] Input:

int(F^(c*(a + b*x))*(g*cot(d + e*x))^q*(f/cos(d + e*x))^p,x)
 

Output:

int(F^(c*(a + b*x))*(g*cot(d + e*x))^q*(f/cos(d + e*x))^p, x)
 

Reduce [F]

\[ \int F^{c (a+b x)} (g \cot (d+e x))^q (f \sec (d+e x))^p \, dx=g^{q} f^{a c +p} \left (\int f^{b c x} \sec \left (e x +d \right )^{p} \cot \left (e x +d \right )^{q}d x \right ) \] Input:

int(F^(c*(b*x+a))*(g*cot(e*x+d))^q*(f*sec(e*x+d))^p,x)
 

Output:

g**q*f**(a*c + p)*int(f**(b*c*x)*sec(d + e*x)**p*cot(d + e*x)**q,x)