\(\int F^{c (a+b x)} \csc ^2(d+e x) \, dx\) [6]

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 = 18, antiderivative size = 78 \[ \int F^{c (a+b x)} \csc ^2(d+e x) \, dx=-\frac {4 e^{2 i (d+e x)} F^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (2,1-\frac {i b c \log (F)}{2 e},2-\frac {i b c \log (F)}{2 e},e^{2 i (d+e x)}\right )}{2 i e+b c \log (F)} \] Output:

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

Mathematica [A] (verified)

Time = 0.50 (sec) , antiderivative size = 101, normalized size of antiderivative = 1.29 \[ \int F^{c (a+b x)} \csc ^2(d+e x) \, dx=-\frac {2 i F^{c (a+b x)} \left (\left (-1+e^{2 i d}\right ) \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 )+\csc (d+e x) \sin (d) (\cos (e x)-i \sin (e x))\right )}{e \left (-1+e^{2 i d}\right )} \] Input:

Integrate[F^(c*(a + b*x))*Csc[d + e*x]^2,x]
 

Output:

((-2*I)*F^(c*(a + b*x))*((-1 + E^((2*I)*d))*Hypergeometric2F1[1, ((-1/2*I) 
*b*c*Log[F])/e, 1 - ((I/2)*b*c*Log[F])/e, E^((2*I)*(d + e*x))] + Csc[d + e 
*x]*Sin[d]*(Cos[e*x] - I*Sin[e*x])))/(e*(-1 + E^((2*I)*d)))
 

Rubi [A] (verified)

Time = 0.21 (sec) , antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {4953}

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

\(\Big \downarrow \) 4953

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

Input:

Int[F^(c*(a + b*x))*Csc[d + e*x]^2,x]
 

Output:

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

Defintions of rubi rules used

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

\[\int F^{c \left (b x +a \right )} \csc \left (e x +d \right )^{2}d x\]

Input:

int(F^(c*(b*x+a))*csc(e*x+d)^2,x)
 

Output:

int(F^(c*(b*x+a))*csc(e*x+d)^2,x)
 

Fricas [F]

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

integrate(F^(c*(b*x+a))*csc(e*x+d)^2,x, algorithm="fricas")
 

Output:

integral(F^(b*c*x + a*c)*csc(e*x + d)^2, x)
 

Sympy [F]

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

integrate(F**(c*(b*x+a))*csc(e*x+d)**2,x)
 

Output:

Integral(F**(c*(a + b*x))*csc(d + e*x)**2, x)
 

Maxima [F]

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

integrate(F^(c*(b*x+a))*csc(e*x+d)^2,x, algorithm="maxima")
 

Output:

4*(24*F^(b*c*x)*F^(a*c)*b*c*e^2*log(F) + 2*(F^(a*c)*b^3*c^3*log(F)^3 + 16* 
F^(a*c)*b*c*e^2*log(F))*F^(b*c*x)*cos(2*e*x + 2*d)^2 + 2*(F^(a*c)*b^3*c^3* 
log(F)^3 + 16*F^(a*c)*b*c*e^2*log(F))*F^(b*c*x)*sin(2*e*x + 2*d)^2 - (F^(a 
*c)*b^3*c^3*log(F)^3 + 64*F^(a*c)*b*c*e^2*log(F))*F^(b*c*x)*cos(2*e*x + 2* 
d) + 2*(5*F^(a*c)*b^2*c^2*e*log(F)^2 - 16*F^(a*c)*e^3)*F^(b*c*x)*sin(2*e*x 
 + 2*d) + (24*F^(b*c*x)*F^(a*c)*b*c*e^2*log(F) - (F^(a*c)*b^3*c^3*log(F)^3 
 + 16*F^(a*c)*b*c*e^2*log(F))*F^(b*c*x)*cos(2*e*x + 2*d) + 2*(F^(a*c)*b^2* 
c^2*e*log(F)^2 + 16*F^(a*c)*e^3)*F^(b*c*x)*sin(2*e*x + 2*d))*cos(4*e*x + 4 
*d) + 4*(F^(a*c)*b^5*c^5*e*log(F)^5 + 20*F^(a*c)*b^3*c^3*e^3*log(F)^3 + 64 
*F^(a*c)*b*c*e^5*log(F) + (F^(a*c)*b^5*c^5*e*log(F)^5 + 20*F^(a*c)*b^3*c^3 
*e^3*log(F)^3 + 64*F^(a*c)*b*c*e^5*log(F))*cos(4*e*x + 4*d)^2 + 4*(F^(a*c) 
*b^5*c^5*e*log(F)^5 + 20*F^(a*c)*b^3*c^3*e^3*log(F)^3 + 64*F^(a*c)*b*c*e^5 
*log(F))*cos(2*e*x + 2*d)^2 + (F^(a*c)*b^5*c^5*e*log(F)^5 + 20*F^(a*c)*b^3 
*c^3*e^3*log(F)^3 + 64*F^(a*c)*b*c*e^5*log(F))*sin(4*e*x + 4*d)^2 - 4*(F^( 
a*c)*b^5*c^5*e*log(F)^5 + 20*F^(a*c)*b^3*c^3*e^3*log(F)^3 + 64*F^(a*c)*b*c 
*e^5*log(F))*sin(4*e*x + 4*d)*sin(2*e*x + 2*d) + 4*(F^(a*c)*b^5*c^5*e*log( 
F)^5 + 20*F^(a*c)*b^3*c^3*e^3*log(F)^3 + 64*F^(a*c)*b*c*e^5*log(F))*sin(2* 
e*x + 2*d)^2 + 2*(F^(a*c)*b^5*c^5*e*log(F)^5 + 20*F^(a*c)*b^3*c^3*e^3*log( 
F)^3 + 64*F^(a*c)*b*c*e^5*log(F) - 2*(F^(a*c)*b^5*c^5*e*log(F)^5 + 20*F^(a 
*c)*b^3*c^3*e^3*log(F)^3 + 64*F^(a*c)*b*c*e^5*log(F))*cos(2*e*x + 2*d))...
 

Giac [F]

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

integrate(F^(c*(b*x+a))*csc(e*x+d)^2,x, algorithm="giac")
 

Output:

integrate(F^((b*x + a)*c)*csc(e*x + d)^2, x)
 

Mupad [F(-1)]

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

int(F^(c*(a + b*x))/sin(d + e*x)^2,x)
 

Output:

int(F^(c*(a + b*x))/sin(d + e*x)^2, x)
 

Reduce [F]

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

int(F^(c*(b*x+a))*csc(e*x+d)^2,x)
 

Output:

f**(a*c)*int(f**(b*c*x)*csc(d + e*x)**2,x)