\(\int F^{c (a+b x)} \cot ^3(d+e x) \, dx\) [107]

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 = 174 \[ \int F^{c (a+b x)} \cot ^3(d+e x) \, dx=\frac {2 F^{c (a+b x)}}{e \left (1-e^{2 i (d+e x)}\right )^2}-\frac {i F^{c (a+b x)}}{b c \log (F)}-\frac {F^{c (a+b x)} (2 e-i b c \log (F))}{e^2 \left (1-e^{2 i (d+e x)}\right )}+i 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 ) \left (\frac {2}{b c \log (F)}-\frac {b c \log (F)}{e^2}\right ) \] Output:

2*F^(c*(b*x+a))/e/(1-exp(2*I*(e*x+d)))^2-I*F^(c*(b*x+a))/b/c/ln(F)-F^(c*(b 
*x+a))*(2*e-I*b*c*ln(F))/e^2/(1-exp(2*I*(e*x+d)))+I*F^(c*(b*x+a))*hypergeo 
m([1, -1/2*I*b*c*ln(F)/e],[1-1/2*I*b*c*ln(F)/e],exp(2*I*(e*x+d)))*(2/b/c/l 
n(F)-b*c*ln(F)/e^2)
 

Mathematica [A] (verified)

Time = 1.07 (sec) , antiderivative size = 173, normalized size of antiderivative = 0.99 \[ \int F^{c (a+b x)} \cot ^3(d+e x) \, dx=\frac {F^{c (a+b x)} \left (-2 i e^2-b c e \csc ^2(d+e x) \log (F)+i b^2 c^2 \log ^2(F)-b^2 c^2 \cot (d) \log ^2(F)+2 i \operatorname {Hypergeometric2F1}\left (1,-\frac {i b c \log (F)}{2 e},1-\frac {i b c \log (F)}{2 e},\cos (2 (d+e x))+i \sin (2 (d+e x))\right ) \left (2 e^2-b^2 c^2 \log ^2(F)\right )+b^2 c^2 \csc (d) \csc (d+e x) \log ^2(F) \sin (e x)\right )}{2 b c e^2 \log (F)} \] Input:

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

Output:

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

Rubi [A] (verified)

Time = 0.41 (sec) , antiderivative size = 212, normalized size of antiderivative = 1.22, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {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 \cot ^3(d+e x) F^{c (a+b x)} \, dx\)

\(\Big \downarrow \) 4943

\(\displaystyle i \int \left (\frac {6 F^{c (a+b x)}}{1-e^{2 i (d+e x)}}-\frac {12 F^{c (a+b x)}}{\left (1-e^{2 i (d+e x)}\right )^2}+\frac {8 F^{c (a+b x)}}{\left (1-e^{2 i (d+e x)}\right )^3}-F^{c (a+b x)}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle i \left (\frac {6 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)}-\frac {12 F^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (2,-\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)}+\frac {8 F^{c (a+b x)} \operatorname {Hypergeometric2F1}\left (3,-\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)}-\frac {F^{c (a+b x)}}{b c \log (F)}\right )\)

Input:

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

Output:

I*(-(F^(c*(a + b*x))/(b*c*Log[F])) + (6*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]) - (12*F^(c*(a + b*x))*Hypergeometric2F1[2, ((-1/2*I)*b*c*Lo 
g[F])/e, 1 - ((I/2)*b*c*Log[F])/e, E^((2*I)*(d + e*x))])/(b*c*Log[F]) + (8 
*F^(c*(a + b*x))*Hypergeometric2F1[3, ((-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]))
 

Defintions of rubi rules used

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

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 )} \cot \left (e x +d \right )^{3}d x\]

Input:

int(F^(c*(b*x+a))*cot(e*x+d)^3,x)
 

Output:

int(F^(c*(b*x+a))*cot(e*x+d)^3,x)
 

Fricas [F]

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

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

Output:

integral(F^(b*c*x + a*c)*cot(e*x + d)^3, x)
 

Sympy [F]

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

integrate(F**(c*(b*x+a))*cot(e*x+d)**3,x)
 

Output:

Integral(F**(c*(a + b*x))*cot(d + e*x)**3, x)
 

Maxima [F]

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

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

Output:

-2*(18*(F^(a*c)*b^4*c^4*e*log(F)^4 + 52*F^(a*c)*b^2*c^2*e^3*log(F)^2 + 576 
*F^(a*c)*e^5)*F^(b*c*x)*cos(4*e*x + 4*d)^2 - 54*(F^(a*c)*b^4*c^4*e*log(F)^ 
4 + 28*F^(a*c)*b^2*c^2*e^3*log(F)^2 - 288*F^(a*c)*e^5)*F^(b*c*x)*cos(2*e*x 
 + 2*d)^2 + 18*(F^(a*c)*b^4*c^4*e*log(F)^4 + 52*F^(a*c)*b^2*c^2*e^3*log(F) 
^2 + 576*F^(a*c)*e^5)*F^(b*c*x)*sin(4*e*x + 4*d)^2 - 54*(F^(a*c)*b^4*c^4*e 
*log(F)^4 + 28*F^(a*c)*b^2*c^2*e^3*log(F)^2 - 288*F^(a*c)*e^5)*F^(b*c*x)*s 
in(2*e*x + 2*d)^2 - 18*(3*F^(a*c)*b^4*c^4*e*log(F)^4 - 212*F^(a*c)*b^2*c^2 
*e^3*log(F)^2 + 640*F^(a*c)*e^5)*F^(b*c*x)*cos(2*e*x + 2*d) + 3*(F^(a*c)*b 
^5*c^5*log(F)^5 - 268*F^(a*c)*b^3*c^3*e^2*log(F)^3 + 1216*F^(a*c)*b*c*e^4* 
log(F))*F^(b*c*x)*sin(2*e*x + 2*d) + 24*(F^(a*c)*b^4*c^4*e*log(F)^4 - 46*F 
^(a*c)*b^2*c^2*e^3*log(F)^2 + 88*F^(a*c)*e^5)*F^(b*c*x) - 3*(2*(F^(a*c)*b^ 
4*c^4*e*log(F)^4 + 52*F^(a*c)*b^2*c^2*e^3*log(F)^2 + 576*F^(a*c)*e^5)*F^(b 
*c*x)*cos(4*e*x + 4*d) + 6*(F^(a*c)*b^4*c^4*e*log(F)^4 + 28*F^(a*c)*b^2*c^ 
2*e^3*log(F)^2 - 288*F^(a*c)*e^5)*F^(b*c*x)*cos(2*e*x + 2*d) + (F^(a*c)*b^ 
5*c^5*log(F)^5 + 52*F^(a*c)*b^3*c^3*e^2*log(F)^3 + 576*F^(a*c)*b*c*e^4*log 
(F))*F^(b*c*x)*sin(4*e*x + 4*d) - 36*(F^(a*c)*b^3*c^3*e^2*log(F)^3 + 36*F^ 
(a*c)*b*c*e^4*log(F))*F^(b*c*x)*sin(2*e*x + 2*d) + 8*(F^(a*c)*b^4*c^4*e*lo 
g(F)^4 - 46*F^(a*c)*b^2*c^2*e^3*log(F)^2 + 88*F^(a*c)*e^5)*F^(b*c*x))*cos( 
6*e*x + 6*d) + 3*(12*(F^(a*c)*b^4*c^4*e*log(F)^4 + 16*F^(a*c)*b^2*c^2*e^3* 
log(F)^2 - 720*F^(a*c)*e^5)*F^(b*c*x)*cos(2*e*x + 2*d) + 3*(F^(a*c)*b^5...
 

Giac [F]

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

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

Output:

integrate(F^((b*x + a)*c)*cot(e*x + d)^3, x)
 

Mupad [F(-1)]

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

int(F^(c*(a + b*x))*cot(d + e*x)^3,x)
 

Output:

int(F^(c*(a + b*x))*cot(d + e*x)^3, x)
 

Reduce [F]

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

int(F^(c*(b*x+a))*cot(e*x+d)^3,x)
 

Output:

f**(a*c)*int(f**(b*c*x)*cot(d + e*x)**3,x)