\(\int F^{c (a+b x)} \sqrt {f \cot (d+e x)} \sqrt {g \cot (d+e x)} \, dx\) [137]

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

Optimal result

Integrand size = 34, antiderivative size = 138 \[ \int F^{c (a+b x)} \sqrt {f \cot (d+e x)} \sqrt {g \cot (d+e x)} \, dx=\frac {i f F^{c (a+b x)} \sqrt {g \cot (d+e x)}}{b c \sqrt {f \cot (d+e x)} \log (F)}-\frac {2 i f F^{c (a+b x)} \sqrt {g \cot (d+e x)} \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c \log (F)}{2 e},1-\frac {i b c \log (F)}{2 e},e^{2 i (d+e x)}\right )}{b c \sqrt {f \cot (d+e x)} \log (F)} \] Output:

I*f*F^(c*(b*x+a))*(g*cot(e*x+d))^(1/2)/b/c/(f*cot(e*x+d))^(1/2)/ln(F)-2*I* 
f*F^(c*(b*x+a))*(g*cot(e*x+d))^(1/2)*hypergeom([1, -1/2*I*b*c*ln(F)/e],[1- 
1/2*I*b*c*ln(F)/e],exp(2*I*(e*x+d)))/b/c/(f*cot(e*x+d))^(1/2)/ln(F)
 

Mathematica [A] (verified)

Time = 0.77 (sec) , antiderivative size = 93, normalized size of antiderivative = 0.67 \[ \int F^{c (a+b x)} \sqrt {f \cot (d+e x)} \sqrt {g \cot (d+e x)} \, dx=-\frac {i f F^{c (a+b x)} \sqrt {g \cot (d+e x)} \left (-1+2 \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c \log (F)}{2 e},1-\frac {i b c \log (F)}{2 e},e^{2 i (d+e x)}\right )\right )}{b c \sqrt {f \cot (d+e x)} \log (F)} \] Input:

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

Output:

((-I)*f*F^(c*(a + b*x))*Sqrt[g*Cot[d + e*x]]*(-1 + 2*Hypergeometric2F1[1, 
((-1/2*I)*b*c*Log[F])/e, 1 - ((I/2)*b*c*Log[F])/e, E^((2*I)*(d + e*x))]))/ 
(b*c*Sqrt[f*Cot[d + e*x]]*Log[F])
 

Rubi [A] (verified)

Time = 0.33 (sec) , antiderivative size = 113, normalized size of antiderivative = 0.82, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.088, Rules used = {2031, 4943, 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 F^{c (a+b x)} \sqrt {f \cot (d+e x)} \sqrt {g \cot (d+e x)} \, dx\)

\(\Big \downarrow \) 2031

\(\displaystyle \frac {f \sqrt {g \cot (d+e x)} \int F^{c (a+b x)} \cot (d+e x)dx}{\sqrt {f \cot (d+e x)}}\)

\(\Big \downarrow \) 4943

\(\displaystyle -\frac {i f \sqrt {g \cot (d+e x)} \int \left (\frac {2 F^{c (a+b x)}}{1-e^{2 i (d+e x)}}-F^{c (a+b x)}\right )dx}{\sqrt {f \cot (d+e x)}}\)

\(\Big \downarrow \) 2009

\(\displaystyle -\frac {i f \sqrt {g \cot (d+e x)} \left (-\frac {F^{c (a+b x)}}{b c \log (F)}+\frac {2 F^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c \log (F)}{2 e},1-\frac {i b c \log (F)}{2 e},e^{2 i (d+e x)}\right )}{b c \log (F)}\right )}{\sqrt {f \cot (d+e x)}}\)

Input:

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

Output:

((-I)*f*Sqrt[g*Cot[d + e*x]]*(-(F^(c*(a + b*x))/(b*c*Log[F])) + (2*F^(c*(a 
 + b*x))*Hypergeometric2F1[1, ((-1/2*I)*b*c*Log[F])/e, 1 - ((I/2)*b*c*Log[ 
F])/e, E^((2*I)*(d + e*x))])/(b*c*Log[F])))/Sqrt[f*Cot[d + e*x]]
 

Defintions of rubi rules used

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

rule 2031
Int[(Fx_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Simp[a^(m + 1/ 
2)*b^(n - 1/2)*(Sqrt[b*v]/Sqrt[a*v])   Int[v^(m + n)*Fx, x], x] /; FreeQ[{a 
, b, m}, x] &&  !IntegerQ[m] && IGtQ[n + 1/2, 0] && IntegerQ[m + n]
 

rule 4943
Int[Cot[(d_.) + (e_.)*(x_)]^(n_.)*(F_)^((c_.)*((a_.) + (b_.)*(x_))), x_Symb 
ol] :> Simp[(-I)^n   Int[ExpandIntegrand[F^(c*(a + b*x))*((1 + E^(2*I*(d + 
e*x)))^n/(1 - E^(2*I*(d + e*x)))^n), x], x], x] /; FreeQ[{F, a, b, c, d, e} 
, x] && IntegerQ[n]
 
Maple [F]

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

Input:

int(F^(c*(b*x+a))*(f*cot(e*x+d))^(1/2)*(g*cot(e*x+d))^(1/2),x)
 

Output:

int(F^(c*(b*x+a))*(f*cot(e*x+d))^(1/2)*(g*cot(e*x+d))^(1/2),x)
 

Fricas [F]

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

integrate(F^(c*(b*x+a))*(f*cot(e*x+d))^(1/2)*(g*cot(e*x+d))^(1/2),x, algor 
ithm="fricas")
 

Output:

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

Sympy [F]

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

integrate(F**(c*(b*x+a))*(f*cot(e*x+d))**(1/2)*(g*cot(e*x+d))**(1/2),x)
 

Output:

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

Maxima [F]

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

integrate(F^(c*(b*x+a))*(f*cot(e*x+d))^(1/2)*(g*cot(e*x+d))^(1/2),x, algor 
ithm="maxima")
 

Output:

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

Giac [F]

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

integrate(F^(c*(b*x+a))*(f*cot(e*x+d))^(1/2)*(g*cot(e*x+d))^(1/2),x, algor 
ithm="giac")
 

Output:

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

Mupad [F(-1)]

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

int(F^(c*(a + b*x))*(f*cot(d + e*x))^(1/2)*(g*cot(d + e*x))^(1/2),x)
 

Output:

int(F^(c*(a + b*x))*(f*cot(d + e*x))^(1/2)*(g*cot(d + e*x))^(1/2), x)
 

Reduce [F]

\[ \int F^{c (a+b x)} \sqrt {f \cot (d+e x)} \sqrt {g \cot (d+e x)} \, dx=\sqrt {g}\, f^{a c +\frac {1}{2}} \left (\int f^{b c x} \cot \left (e x +d \right )d x \right ) \] Input:

int(F^(c*(b*x+a))*(f*cot(e*x+d))^(1/2)*(g*cot(e*x+d))^(1/2),x)
 

Output:

sqrt(g)*f**((2*a*c + 1)/2)*int(f**(b*c*x)*cot(d + e*x),x)