3.194 \(\int \frac {\cot ^6(c+d x)}{(a+a \sec (c+d x))^{3/2}} \, dx\)

Optimal. Leaf size=387 \[ -\frac {2 \tan ^{-1}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {a \sec (c+d x)+a}}\right )}{a^{3/2} d}+\frac {16363 \tan ^{-1}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {2} \sqrt {a \sec (c+d x)+a}}\right )}{8192 \sqrt {2} a^{3/2} d}+\frac {12267 \cot ^5(c+d x) (a \sec (c+d x)+a)^{5/2}}{10240 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{128 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{768 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{3072 a^4 d}-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{2048 a^4 d}-\frac {8171 \cot ^3(c+d x) (a \sec (c+d x)+a)^{3/2}}{12288 a^3 d}-\frac {21 \cot (c+d x) \sqrt {a \sec (c+d x)+a}}{8192 a^2 d} \]

[Out]

-2*arctan(a^(1/2)*tan(d*x+c)/(a+a*sec(d*x+c))^(1/2))/a^(3/2)/d-8171/12288*cot(d*x+c)^3*(a+a*sec(d*x+c))^(3/2)/
a^3/d+12267/10240*cot(d*x+c)^5*(a+a*sec(d*x+c))^(5/2)/a^4/d-2045/2048*cos(d*x+c)*cot(d*x+c)^5*sec(1/2*d*x+1/2*
c)^2*(a+a*sec(d*x+c))^(5/2)/a^4/d-511/3072*cos(d*x+c)^2*cot(d*x+c)^5*sec(1/2*d*x+1/2*c)^4*(a+a*sec(d*x+c))^(5/
2)/a^4/d-29/768*cos(d*x+c)^3*cot(d*x+c)^5*sec(1/2*d*x+1/2*c)^6*(a+a*sec(d*x+c))^(5/2)/a^4/d-1/128*cos(d*x+c)^4
*cot(d*x+c)^5*sec(1/2*d*x+1/2*c)^8*(a+a*sec(d*x+c))^(5/2)/a^4/d+16363/16384*arctan(1/2*a^(1/2)*tan(d*x+c)*2^(1
/2)/(a+a*sec(d*x+c))^(1/2))*2^(1/2)/a^(3/2)/d-21/8192*cot(d*x+c)*(a+a*sec(d*x+c))^(1/2)/a^2/d

________________________________________________________________________________________

Rubi [A]  time = 0.37, antiderivative size = 387, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3887, 472, 579, 583, 522, 203} \[ \frac {12267 \cot ^5(c+d x) (a \sec (c+d x)+a)^{5/2}}{10240 a^4 d}-\frac {8171 \cot ^3(c+d x) (a \sec (c+d x)+a)^{3/2}}{12288 a^3 d}-\frac {21 \cot (c+d x) \sqrt {a \sec (c+d x)+a}}{8192 a^2 d}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {a \sec (c+d x)+a}}\right )}{a^{3/2} d}+\frac {16363 \tan ^{-1}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {2} \sqrt {a \sec (c+d x)+a}}\right )}{8192 \sqrt {2} a^{3/2} d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{128 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{768 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{3072 a^4 d}-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a \sec (c+d x)+a)^{5/2}}{2048 a^4 d} \]

Antiderivative was successfully verified.

[In]

Int[Cot[c + d*x]^6/(a + a*Sec[c + d*x])^(3/2),x]

[Out]

(-2*ArcTan[(Sqrt[a]*Tan[c + d*x])/Sqrt[a + a*Sec[c + d*x]]])/(a^(3/2)*d) + (16363*ArcTan[(Sqrt[a]*Tan[c + d*x]
)/(Sqrt[2]*Sqrt[a + a*Sec[c + d*x]])])/(8192*Sqrt[2]*a^(3/2)*d) - (21*Cot[c + d*x]*Sqrt[a + a*Sec[c + d*x]])/(
8192*a^2*d) - (8171*Cot[c + d*x]^3*(a + a*Sec[c + d*x])^(3/2))/(12288*a^3*d) + (12267*Cot[c + d*x]^5*(a + a*Se
c[c + d*x])^(5/2))/(10240*a^4*d) - (2045*Cos[c + d*x]*Cot[c + d*x]^5*Sec[(c + d*x)/2]^2*(a + a*Sec[c + d*x])^(
5/2))/(2048*a^4*d) - (511*Cos[c + d*x]^2*Cot[c + d*x]^5*Sec[(c + d*x)/2]^4*(a + a*Sec[c + d*x])^(5/2))/(3072*a
^4*d) - (29*Cos[c + d*x]^3*Cot[c + d*x]^5*Sec[(c + d*x)/2]^6*(a + a*Sec[c + d*x])^(5/2))/(768*a^4*d) - (Cos[c
+ d*x]^4*Cot[c + d*x]^5*Sec[(c + d*x)/2]^8*(a + a*Sec[c + d*x])^(5/2))/(128*a^4*d)

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 472

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> -Simp[(b*(e*x
)^(m + 1)*(a + b*x^n)^(p + 1)*(c + d*x^n)^(q + 1))/(a*e*n*(b*c - a*d)*(p + 1)), x] + Dist[1/(a*n*(b*c - a*d)*(
p + 1)), Int[(e*x)^m*(a + b*x^n)^(p + 1)*(c + d*x^n)^q*Simp[c*b*(m + 1) + n*(b*c - a*d)*(p + 1) + d*b*(m + n*(
p + q + 2) + 1)*x^n, x], x], x] /; FreeQ[{a, b, c, d, e, m, q}, x] && NeQ[b*c - a*d, 0] && IGtQ[n, 0] && LtQ[p
, -1] && IntBinomialQ[a, b, c, d, e, m, n, p, q, x]

Rule 522

Int[((e_) + (f_.)*(x_)^(n_))/(((a_) + (b_.)*(x_)^(n_))*((c_) + (d_.)*(x_)^(n_))), x_Symbol] :> Dist[(b*e - a*f
)/(b*c - a*d), Int[1/(a + b*x^n), x], x] - Dist[(d*e - c*f)/(b*c - a*d), Int[1/(c + d*x^n), x], x] /; FreeQ[{a
, b, c, d, e, f, n}, x]

Rule 579

Int[((g_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_)*((e_) + (f_.)*(x_)^(n_)), x
_Symbol] :> -Simp[((b*e - a*f)*(g*x)^(m + 1)*(a + b*x^n)^(p + 1)*(c + d*x^n)^(q + 1))/(a*g*n*(b*c - a*d)*(p +
1)), x] + Dist[1/(a*n*(b*c - a*d)*(p + 1)), Int[(g*x)^m*(a + b*x^n)^(p + 1)*(c + d*x^n)^q*Simp[c*(b*e - a*f)*(
m + 1) + e*n*(b*c - a*d)*(p + 1) + d*(b*e - a*f)*(m + n*(p + q + 2) + 1)*x^n, x], x], x] /; FreeQ[{a, b, c, d,
 e, f, g, m, q}, x] && IGtQ[n, 0] && LtQ[p, -1]

Rule 583

Int[((g_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.)*((e_) + (f_.)*(x_)^(n_)),
x_Symbol] :> Simp[(e*(g*x)^(m + 1)*(a + b*x^n)^(p + 1)*(c + d*x^n)^(q + 1))/(a*c*g*(m + 1)), x] + Dist[1/(a*c*
g^n*(m + 1)), Int[(g*x)^(m + n)*(a + b*x^n)^p*(c + d*x^n)^q*Simp[a*f*c*(m + 1) - e*(b*c + a*d)*(m + n + 1) - e
*n*(b*c*p + a*d*q) - b*e*d*(m + n*(p + q + 2) + 1)*x^n, x], x], x] /; FreeQ[{a, b, c, d, e, f, g, p, q}, x] &&
 IGtQ[n, 0] && LtQ[m, -1]

Rule 3887

Int[cot[(c_.) + (d_.)*(x_)]^(m_.)*(csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_))^(n_.), x_Symbol] :> Dist[(-2*a^(m/2 +
 n + 1/2))/d, Subst[Int[(x^m*(2 + a*x^2)^(m/2 + n - 1/2))/(1 + a*x^2), x], x, Cot[c + d*x]/Sqrt[a + b*Csc[c +
d*x]]], x] /; FreeQ[{a, b, c, d}, x] && EqQ[a^2 - b^2, 0] && IntegerQ[m/2] && IntegerQ[n - 1/2]

Rubi steps

\begin {align*} \int \frac {\cot ^6(c+d x)}{(a+a \sec (c+d x))^{3/2}} \, dx &=-\frac {2 \operatorname {Subst}\left (\int \frac {1}{x^6 \left (1+a x^2\right ) \left (2+a x^2\right )^5} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{a^4 d}\\ &=-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}-\frac {\operatorname {Subst}\left (\int \frac {3 a-13 a^2 x^2}{x^6 \left (1+a x^2\right ) \left (2+a x^2\right )^4} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{8 a^5 d}\\ &=-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}-\frac {\operatorname {Subst}\left (\int \frac {-127 a^2-319 a^3 x^2}{x^6 \left (1+a x^2\right ) \left (2+a x^2\right )^3} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{96 a^6 d}\\ &=-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{3072 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}-\frac {\operatorname {Subst}\left (\int \frac {-3063 a^3-4599 a^4 x^2}{x^6 \left (1+a x^2\right ) \left (2+a x^2\right )^2} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{768 a^7 d}\\ &=-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{2048 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{3072 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}-\frac {\operatorname {Subst}\left (\int \frac {-36801 a^4-42945 a^5 x^2}{x^6 \left (1+a x^2\right ) \left (2+a x^2\right )} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{3072 a^8 d}\\ &=\frac {12267 \cot ^5(c+d x) (a+a \sec (c+d x))^{5/2}}{10240 a^4 d}-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{2048 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{3072 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}+\frac {\operatorname {Subst}\left (\int \frac {-122565 a^5-184005 a^6 x^2}{x^4 \left (1+a x^2\right ) \left (2+a x^2\right )} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{30720 a^8 d}\\ &=-\frac {8171 \cot ^3(c+d x) (a+a \sec (c+d x))^{3/2}}{12288 a^3 d}+\frac {12267 \cot ^5(c+d x) (a+a \sec (c+d x))^{5/2}}{10240 a^4 d}-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{2048 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{3072 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}-\frac {\operatorname {Subst}\left (\int \frac {945 a^6-367695 a^7 x^2}{x^2 \left (1+a x^2\right ) \left (2+a x^2\right )} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{184320 a^8 d}\\ &=-\frac {21 \cot (c+d x) \sqrt {a+a \sec (c+d x)}}{8192 a^2 d}-\frac {8171 \cot ^3(c+d x) (a+a \sec (c+d x))^{3/2}}{12288 a^3 d}+\frac {12267 \cot ^5(c+d x) (a+a \sec (c+d x))^{5/2}}{10240 a^4 d}-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{2048 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{3072 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}+\frac {\operatorname {Subst}\left (\int \frac {738225 a^7+945 a^8 x^2}{\left (1+a x^2\right ) \left (2+a x^2\right )} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{368640 a^8 d}\\ &=-\frac {21 \cot (c+d x) \sqrt {a+a \sec (c+d x)}}{8192 a^2 d}-\frac {8171 \cot ^3(c+d x) (a+a \sec (c+d x))^{3/2}}{12288 a^3 d}+\frac {12267 \cot ^5(c+d x) (a+a \sec (c+d x))^{5/2}}{10240 a^4 d}-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{2048 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{3072 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}-\frac {16363 \operatorname {Subst}\left (\int \frac {1}{2+a x^2} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{8192 a d}+\frac {2 \operatorname {Subst}\left (\int \frac {1}{1+a x^2} \, dx,x,-\frac {\tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{a d}\\ &=-\frac {2 \tan ^{-1}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{a^{3/2} d}+\frac {16363 \tan ^{-1}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {2} \sqrt {a+a \sec (c+d x)}}\right )}{8192 \sqrt {2} a^{3/2} d}-\frac {21 \cot (c+d x) \sqrt {a+a \sec (c+d x)}}{8192 a^2 d}-\frac {8171 \cot ^3(c+d x) (a+a \sec (c+d x))^{3/2}}{12288 a^3 d}+\frac {12267 \cot ^5(c+d x) (a+a \sec (c+d x))^{5/2}}{10240 a^4 d}-\frac {2045 \cos (c+d x) \cot ^5(c+d x) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{2048 a^4 d}-\frac {511 \cos ^2(c+d x) \cot ^5(c+d x) \sec ^4\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{3072 a^4 d}-\frac {29 \cos ^3(c+d x) \cot ^5(c+d x) \sec ^6\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{768 a^4 d}-\frac {\cos ^4(c+d x) \cot ^5(c+d x) \sec ^8\left (\frac {1}{2} (c+d x)\right ) (a+a \sec (c+d x))^{5/2}}{128 a^4 d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 24.21, size = 5662, normalized size = 14.63 \[ \text {Result too large to show} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Cot[c + d*x]^6/(a + a*Sec[c + d*x])^(3/2),x]

[Out]

Result too large to show

________________________________________________________________________________________

fricas [A]  time = 0.67, size = 955, normalized size = 2.47 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(d*x+c)^6/(a+a*sec(d*x+c))^(3/2),x, algorithm="fricas")

[Out]

[-1/491520*(245445*sqrt(2)*(cos(d*x + c)^6 + 2*cos(d*x + c)^5 - cos(d*x + c)^4 - 4*cos(d*x + c)^3 - cos(d*x +
c)^2 + 2*cos(d*x + c) + 1)*sqrt(-a)*log((2*sqrt(2)*sqrt(-a)*sqrt((a*cos(d*x + c) + a)/cos(d*x + c))*cos(d*x +
c)*sin(d*x + c) + 3*a*cos(d*x + c)^2 + 2*a*cos(d*x + c) - a)/(cos(d*x + c)^2 + 2*cos(d*x + c) + 1))*sin(d*x +
c) + 245760*(cos(d*x + c)^6 + 2*cos(d*x + c)^5 - cos(d*x + c)^4 - 4*cos(d*x + c)^3 - cos(d*x + c)^2 + 2*cos(d*
x + c) + 1)*sqrt(-a)*log(-(8*a*cos(d*x + c)^3 - 4*(2*cos(d*x + c)^2 - cos(d*x + c))*sqrt(-a)*sqrt((a*cos(d*x +
 c) + a)/cos(d*x + c))*sin(d*x + c) - 7*a*cos(d*x + c) + a)/(cos(d*x + c) + 1))*sin(d*x + c) + 4*(151041*cos(d
*x + c)^7 + 103524*cos(d*x + c)^6 - 228999*cos(d*x + c)^5 - 181256*cos(d*x + c)^4 + 97611*cos(d*x + c)^3 + 823
40*cos(d*x + c)^2 + 315*cos(d*x + c))*sqrt((a*cos(d*x + c) + a)/cos(d*x + c)))/((a^2*d*cos(d*x + c)^6 + 2*a^2*
d*cos(d*x + c)^5 - a^2*d*cos(d*x + c)^4 - 4*a^2*d*cos(d*x + c)^3 - a^2*d*cos(d*x + c)^2 + 2*a^2*d*cos(d*x + c)
 + a^2*d)*sin(d*x + c)), -1/245760*(245445*sqrt(2)*(cos(d*x + c)^6 + 2*cos(d*x + c)^5 - cos(d*x + c)^4 - 4*cos
(d*x + c)^3 - cos(d*x + c)^2 + 2*cos(d*x + c) + 1)*sqrt(a)*arctan(sqrt(2)*sqrt((a*cos(d*x + c) + a)/cos(d*x +
c))*cos(d*x + c)/(sqrt(a)*sin(d*x + c)))*sin(d*x + c) + 245760*(cos(d*x + c)^6 + 2*cos(d*x + c)^5 - cos(d*x +
c)^4 - 4*cos(d*x + c)^3 - cos(d*x + c)^2 + 2*cos(d*x + c) + 1)*sqrt(a)*arctan(2*sqrt(a)*sqrt((a*cos(d*x + c) +
 a)/cos(d*x + c))*cos(d*x + c)*sin(d*x + c)/(2*a*cos(d*x + c)^2 + a*cos(d*x + c) - a))*sin(d*x + c) + 2*(15104
1*cos(d*x + c)^7 + 103524*cos(d*x + c)^6 - 228999*cos(d*x + c)^5 - 181256*cos(d*x + c)^4 + 97611*cos(d*x + c)^
3 + 82340*cos(d*x + c)^2 + 315*cos(d*x + c))*sqrt((a*cos(d*x + c) + a)/cos(d*x + c)))/((a^2*d*cos(d*x + c)^6 +
 2*a^2*d*cos(d*x + c)^5 - a^2*d*cos(d*x + c)^4 - 4*a^2*d*cos(d*x + c)^3 - a^2*d*cos(d*x + c)^2 + 2*a^2*d*cos(d
*x + c) + a^2*d)*sin(d*x + c))]

________________________________________________________________________________________

giac [A]  time = 2.51, size = 414, normalized size = 1.07 \[ \frac {5 \, {\left (2 \, {\left (4 \, {\left (\frac {6 \, \sqrt {2} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2}}{a^{2} \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )} - \frac {65 \, \sqrt {2}}{a^{2} \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + \frac {1451 \, \sqrt {2}}{a^{2} \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - \frac {13503 \, \sqrt {2}}{a^{2} \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )}\right )} \sqrt {-a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + \frac {256 \, \sqrt {2} {\left (555 \, {\left (\sqrt {-a} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - \sqrt {-a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a}\right )}^{8} - 1950 \, {\left (\sqrt {-a} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - \sqrt {-a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a}\right )}^{6} a + 2780 \, {\left (\sqrt {-a} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - \sqrt {-a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a}\right )}^{4} a^{2} - 1810 \, {\left (\sqrt {-a} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - \sqrt {-a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a}\right )}^{2} a^{3} + 473 \, a^{4}\right )}}{{\left ({\left (\sqrt {-a} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - \sqrt {-a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a}\right )}^{2} - a\right )}^{5} \sqrt {-a} \mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )}}{245760 \, d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(d*x+c)^6/(a+a*sec(d*x+c))^(3/2),x, algorithm="giac")

[Out]

1/245760*(5*(2*(4*(6*sqrt(2)*tan(1/2*d*x + 1/2*c)^2/(a^2*sgn(tan(1/2*d*x + 1/2*c)^2 - 1)) - 65*sqrt(2)/(a^2*sg
n(tan(1/2*d*x + 1/2*c)^2 - 1)))*tan(1/2*d*x + 1/2*c)^2 + 1451*sqrt(2)/(a^2*sgn(tan(1/2*d*x + 1/2*c)^2 - 1)))*t
an(1/2*d*x + 1/2*c)^2 - 13503*sqrt(2)/(a^2*sgn(tan(1/2*d*x + 1/2*c)^2 - 1)))*sqrt(-a*tan(1/2*d*x + 1/2*c)^2 +
a)*tan(1/2*d*x + 1/2*c) + 256*sqrt(2)*(555*(sqrt(-a)*tan(1/2*d*x + 1/2*c) - sqrt(-a*tan(1/2*d*x + 1/2*c)^2 + a
))^8 - 1950*(sqrt(-a)*tan(1/2*d*x + 1/2*c) - sqrt(-a*tan(1/2*d*x + 1/2*c)^2 + a))^6*a + 2780*(sqrt(-a)*tan(1/2
*d*x + 1/2*c) - sqrt(-a*tan(1/2*d*x + 1/2*c)^2 + a))^4*a^2 - 1810*(sqrt(-a)*tan(1/2*d*x + 1/2*c) - sqrt(-a*tan
(1/2*d*x + 1/2*c)^2 + a))^2*a^3 + 473*a^4)/(((sqrt(-a)*tan(1/2*d*x + 1/2*c) - sqrt(-a*tan(1/2*d*x + 1/2*c)^2 +
 a))^2 - a)^5*sqrt(-a)*sgn(tan(1/2*d*x + 1/2*c)^2 - 1)))/d

________________________________________________________________________________________

maple [B]  time = 1.54, size = 1240, normalized size = 3.20 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cot(d*x+c)^6/(a+a*sec(d*x+c))^(3/2),x)

[Out]

-1/245760/d*(a*(1+cos(d*x+c))/cos(d*x+c))^(1/2)*(1+cos(d*x+c))^2*(-1+cos(d*x+c))^4*(-245760*cos(d*x+c)^6*sin(d
*x+c)*2^(1/2)*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*arctanh(1/2*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)
/cos(d*x+c)*2^(1/2))-245445*cos(d*x+c)^6*sin(d*x+c)*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*ln(-(-(-2*cos(d*x+c)/
(1+cos(d*x+c)))^(1/2)*sin(d*x+c)+cos(d*x+c)-1)/sin(d*x+c))-491520*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*cos(d*x
+c)^5*sin(d*x+c)*2^(1/2)*arctanh(1/2*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)/cos(d*x+c)*2^(1/2))-49089
0*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*cos(d*x+c)^5*sin(d*x+c)*ln(-(-(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(
d*x+c)+cos(d*x+c)-1)/sin(d*x+c))+245760*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*cos(d*x+c)^4*sin(d*x+c)*2^(1/2)*a
rctanh(1/2*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)/cos(d*x+c)*2^(1/2))+302082*cos(d*x+c)^7+245445*(-2*
cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*cos(d*x+c)^4*sin(d*x+c)*ln(-(-(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)
+cos(d*x+c)-1)/sin(d*x+c))+983040*cos(d*x+c)^3*sin(d*x+c)*2^(1/2)*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*arctanh
(1/2*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)/cos(d*x+c)*2^(1/2))+207048*cos(d*x+c)^6+981780*cos(d*x+c)
^3*sin(d*x+c)*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*ln(-(-(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)+cos(d
*x+c)-1)/sin(d*x+c))+245760*2^(1/2)*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*arctanh(1/2*(-2*cos(d*x+c)/(1+cos(d*x
+c)))^(1/2)*sin(d*x+c)/cos(d*x+c)*2^(1/2))*cos(d*x+c)^2*sin(d*x+c)-457998*cos(d*x+c)^5+245445*(-2*cos(d*x+c)/(
1+cos(d*x+c)))^(1/2)*ln(-(-(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)+cos(d*x+c)-1)/sin(d*x+c))*cos(d*x+c
)^2*sin(d*x+c)-491520*cos(d*x+c)*sin(d*x+c)*2^(1/2)*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*arctanh(1/2*(-2*cos(d
*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)/cos(d*x+c)*2^(1/2))-362512*cos(d*x+c)^4-490890*cos(d*x+c)*sin(d*x+c)*(-
2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*ln(-(-(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)+cos(d*x+c)-1)/sin(d*x
+c))-245760*2^(1/2)*sin(d*x+c)*arctanh(1/2*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*sin(d*x+c)/cos(d*x+c)*2^(1/2))
*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)+195222*cos(d*x+c)^3-245445*sin(d*x+c)*ln(-(-(-2*cos(d*x+c)/(1+cos(d*x+c)
))^(1/2)*sin(d*x+c)+cos(d*x+c)-1)/sin(d*x+c))*(-2*cos(d*x+c)/(1+cos(d*x+c)))^(1/2)+164680*cos(d*x+c)^2+630*cos
(d*x+c))/sin(d*x+c)^13/a^2

________________________________________________________________________________________

maxima [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(d*x+c)^6/(a+a*sec(d*x+c))^(3/2),x, algorithm="maxima")

[Out]

Timed out

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\mathrm {cot}\left (c+d\,x\right )}^6}{{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{3/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cot(c + d*x)^6/(a + a/cos(c + d*x))^(3/2),x)

[Out]

int(cot(c + d*x)^6/(a + a/cos(c + d*x))^(3/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cot ^{6}{\left (c + d x \right )}}{\left (a \left (\sec {\left (c + d x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(d*x+c)**6/(a+a*sec(d*x+c))**(3/2),x)

[Out]

Integral(cot(c + d*x)**6/(a*(sec(c + d*x) + 1))**(3/2), x)

________________________________________________________________________________________