\(\int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx\) [282]

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 = 21, antiderivative size = 78 \[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\frac {\sqrt [4]{\cos ^2(a+b x)} \csc ^{-1+p}(a+b x) \operatorname {Hypergeometric2F1}\left (\frac {5}{4},\frac {1-p}{2},\frac {3-p}{2},\sin ^2(a+b x)\right )}{b d (1-p) \sqrt {d \cos (a+b x)}} \] Output:

(cos(b*x+a)^2)^(1/4)*csc(b*x+a)^(-1+p)*hypergeom([5/4, 1/2-1/2*p],[3/2-1/2 
*p],sin(b*x+a)^2)/b/d/(1-p)/(d*cos(b*x+a))^(1/2)
 

Mathematica [A] (verified)

Time = 10.83 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.87 \[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\frac {2 \csc ^{-1+p}(a+b x) \operatorname {Hypergeometric2F1}\left (-\frac {1}{4},\frac {1+p}{2},\frac {3}{4},\cos ^2(a+b x)\right ) \sin ^2(a+b x)^{\frac {1}{2} (-1+p)}}{b d \sqrt {d \cos (a+b x)}} \] Input:

Integrate[Csc[a + b*x]^p/(d*Cos[a + b*x])^(3/2),x]
 

Output:

(2*Csc[a + b*x]^(-1 + p)*Hypergeometric2F1[-1/4, (1 + p)/2, 3/4, Cos[a + b 
*x]^2]*(Sin[a + b*x]^2)^((-1 + p)/2))/(b*d*Sqrt[d*Cos[a + b*x]])
 

Rubi [A] (verified)

Time = 0.36 (sec) , antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {3042, 3067, 3042, 3057}

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 {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \int \frac {\left (-\sec \left (a+b x+\frac {\pi }{2}\right )\right )^p}{\left (d \sin \left (a+b x+\frac {\pi }{2}\right )\right )^{3/2}}dx\)

\(\Big \downarrow \) 3067

\(\displaystyle \sin ^p(a+b x) \csc ^p(a+b x) \int \frac {\sin ^{-p}(a+b x)}{(d \cos (a+b x))^{3/2}}dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \sin ^p(a+b x) \csc ^p(a+b x) \int \frac {\sin (a+b x)^{-p}}{(d \cos (a+b x))^{3/2}}dx\)

\(\Big \downarrow \) 3057

\(\displaystyle \frac {\sqrt [4]{\cos ^2(a+b x)} \csc ^{p-1}(a+b x) \operatorname {Hypergeometric2F1}\left (\frac {5}{4},\frac {1-p}{2},\frac {3-p}{2},\sin ^2(a+b x)\right )}{b d (1-p) \sqrt {d \cos (a+b x)}}\)

Input:

Int[Csc[a + b*x]^p/(d*Cos[a + b*x])^(3/2),x]
 

Output:

((Cos[a + b*x]^2)^(1/4)*Csc[a + b*x]^(-1 + p)*Hypergeometric2F1[5/4, (1 - 
p)/2, (3 - p)/2, Sin[a + b*x]^2])/(b*d*(1 - p)*Sqrt[d*Cos[a + b*x]])
 

Defintions of rubi rules used

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 3057
Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m 
_), x_Symbol] :> Simp[b^(2*IntPart[(n - 1)/2] + 1)*(b*Cos[e + f*x])^(2*Frac 
Part[(n - 1)/2])*((a*Sin[e + f*x])^(m + 1)/(a*f*(m + 1)*(Cos[e + f*x]^2)^Fr 
acPart[(n - 1)/2]))*Hypergeometric2F1[(1 + m)/2, (1 - n)/2, (3 + m)/2, Sin[ 
e + f*x]^2], x] /; FreeQ[{a, b, e, f, m, n}, x]
 

rule 3067
Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m 
_), x_Symbol] :> Simp[b^2*(b*Cos[e + f*x])^(n - 1)*(b*Sec[e + f*x])^(n - 1) 
   Int[(a*Sin[e + f*x])^m/(b*Cos[e + f*x])^n, x], x] /; FreeQ[{a, b, e, f, 
m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n]
 
Maple [F]

\[\int \frac {\csc \left (b x +a \right )^{p}}{\left (\cos \left (b x +a \right ) d \right )^{\frac {3}{2}}}d x\]

Input:

int(csc(b*x+a)^p/(cos(b*x+a)*d)^(3/2),x)
 

Output:

int(csc(b*x+a)^p/(cos(b*x+a)*d)^(3/2),x)
 

Fricas [F]

\[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\int { \frac {\csc \left (b x + a\right )^{p}}{\left (d \cos \left (b x + a\right )\right )^{\frac {3}{2}}} \,d x } \] Input:

integrate(csc(b*x+a)^p/(d*cos(b*x+a))^(3/2),x, algorithm="fricas")
 

Output:

integral(sqrt(d*cos(b*x + a))*csc(b*x + a)^p/(d^2*cos(b*x + a)^2), x)
 

Sympy [F]

\[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\int \frac {\csc ^{p}{\left (a + b x \right )}}{\left (d \cos {\left (a + b x \right )}\right )^{\frac {3}{2}}}\, dx \] Input:

integrate(csc(b*x+a)**p/(d*cos(b*x+a))**(3/2),x)
 

Output:

Integral(csc(a + b*x)**p/(d*cos(a + b*x))**(3/2), x)
 

Maxima [F]

\[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\int { \frac {\csc \left (b x + a\right )^{p}}{\left (d \cos \left (b x + a\right )\right )^{\frac {3}{2}}} \,d x } \] Input:

integrate(csc(b*x+a)^p/(d*cos(b*x+a))^(3/2),x, algorithm="maxima")
 

Output:

integrate(csc(b*x + a)^p/(d*cos(b*x + a))^(3/2), x)
 

Giac [F]

\[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\int { \frac {\csc \left (b x + a\right )^{p}}{\left (d \cos \left (b x + a\right )\right )^{\frac {3}{2}}} \,d x } \] Input:

integrate(csc(b*x+a)^p/(d*cos(b*x+a))^(3/2),x, algorithm="giac")
 

Output:

integrate(csc(b*x + a)^p/(d*cos(b*x + a))^(3/2), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\int \frac {{\left (\frac {1}{\sin \left (a+b\,x\right )}\right )}^p}{{\left (d\,\cos \left (a+b\,x\right )\right )}^{3/2}} \,d x \] Input:

int((1/sin(a + b*x))^p/(d*cos(a + b*x))^(3/2),x)
 

Output:

int((1/sin(a + b*x))^p/(d*cos(a + b*x))^(3/2), x)
 

Reduce [F]

\[ \int \frac {\csc ^p(a+b x)}{(d \cos (a+b x))^{3/2}} \, dx=\frac {\sqrt {d}\, \left (\int \frac {\csc \left (b x +a \right )^{p} \sqrt {\cos \left (b x +a \right )}}{\cos \left (b x +a \right )^{2}}d x \right )}{d^{2}} \] Input:

int(csc(b*x+a)^p/(d*cos(b*x+a))^(3/2),x)
 

Output:

(sqrt(d)*int((csc(a + b*x)**p*sqrt(cos(a + b*x)))/cos(a + b*x)**2,x))/d**2