Integrand size = 17, antiderivative size = 81 \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=-\frac {35 \text {arctanh}(\cos (a+b x))}{8 b}+\frac {3 \cos (a+b x)}{b}+\frac {\cos ^3(a+b x)}{3 b}+\frac {13 \cot (a+b x) \csc (a+b x)}{8 b}-\frac {\cot (a+b x) \csc ^3(a+b x)}{4 b} \] Output:
-35/8*arctanh(cos(b*x+a))/b+3*cos(b*x+a)/b+1/3*cos(b*x+a)^3/b+13/8*cot(b*x +a)*csc(b*x+a)/b-1/4*cot(b*x+a)*csc(b*x+a)^3/b
Time = 0.20 (sec) , antiderivative size = 141, normalized size of antiderivative = 1.74 \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=\frac {13 \cos (a+b x)}{4 b}+\frac {\cos (3 (a+b x))}{12 b}+\frac {13 \csc ^2\left (\frac {1}{2} (a+b x)\right )}{32 b}-\frac {\csc ^4\left (\frac {1}{2} (a+b x)\right )}{64 b}-\frac {35 \log \left (\cos \left (\frac {1}{2} (a+b x)\right )\right )}{8 b}+\frac {35 \log \left (\sin \left (\frac {1}{2} (a+b x)\right )\right )}{8 b}-\frac {13 \sec ^2\left (\frac {1}{2} (a+b x)\right )}{32 b}+\frac {\sec ^4\left (\frac {1}{2} (a+b x)\right )}{64 b} \] Input:
Integrate[Cos[a + b*x]^3*Cot[a + b*x]^5,x]
Output:
(13*Cos[a + b*x])/(4*b) + Cos[3*(a + b*x)]/(12*b) + (13*Csc[(a + b*x)/2]^2 )/(32*b) - Csc[(a + b*x)/2]^4/(64*b) - (35*Log[Cos[(a + b*x)/2]])/(8*b) + (35*Log[Sin[(a + b*x)/2]])/(8*b) - (13*Sec[(a + b*x)/2]^2)/(32*b) + Sec[(a + b*x)/2]^4/(64*b)
Time = 0.44 (sec) , antiderivative size = 95, normalized size of antiderivative = 1.17, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.412, Rules used = {3042, 25, 3072, 252, 252, 254, 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 \cos ^3(a+b x) \cot ^5(a+b x) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int -\sin \left (a+b x+\frac {\pi }{2}\right )^3 \tan \left (a+b x+\frac {\pi }{2}\right )^5dx\) |
\(\Big \downarrow \) 25 |
\(\displaystyle -\int \sin \left (\frac {1}{2} (2 a+\pi )+b x\right )^3 \tan \left (\frac {1}{2} (2 a+\pi )+b x\right )^5dx\) |
\(\Big \downarrow \) 3072 |
\(\displaystyle -\frac {\int \frac {\cos ^8(a+b x)}{\left (1-\cos ^2(a+b x)\right )^3}d\cos (a+b x)}{b}\) |
\(\Big \downarrow \) 252 |
\(\displaystyle -\frac {\frac {\cos ^7(a+b x)}{4 \left (1-\cos ^2(a+b x)\right )^2}-\frac {7}{4} \int \frac {\cos ^6(a+b x)}{\left (1-\cos ^2(a+b x)\right )^2}d\cos (a+b x)}{b}\) |
\(\Big \downarrow \) 252 |
\(\displaystyle -\frac {\frac {\cos ^7(a+b x)}{4 \left (1-\cos ^2(a+b x)\right )^2}-\frac {7}{4} \left (\frac {\cos ^5(a+b x)}{2 \left (1-\cos ^2(a+b x)\right )}-\frac {5}{2} \int \frac {\cos ^4(a+b x)}{1-\cos ^2(a+b x)}d\cos (a+b x)\right )}{b}\) |
\(\Big \downarrow \) 254 |
\(\displaystyle -\frac {\frac {\cos ^7(a+b x)}{4 \left (1-\cos ^2(a+b x)\right )^2}-\frac {7}{4} \left (\frac {\cos ^5(a+b x)}{2 \left (1-\cos ^2(a+b x)\right )}-\frac {5}{2} \int \left (-\cos ^2(a+b x)+\frac {1}{1-\cos ^2(a+b x)}-1\right )d\cos (a+b x)\right )}{b}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {\frac {\cos ^7(a+b x)}{4 \left (1-\cos ^2(a+b x)\right )^2}-\frac {7}{4} \left (\frac {\cos ^5(a+b x)}{2 \left (1-\cos ^2(a+b x)\right )}-\frac {5}{2} \left (\text {arctanh}(\cos (a+b x))-\frac {1}{3} \cos ^3(a+b x)-\cos (a+b x)\right )\right )}{b}\) |
Input:
Int[Cos[a + b*x]^3*Cot[a + b*x]^5,x]
Output:
-((Cos[a + b*x]^7/(4*(1 - Cos[a + b*x]^2)^2) - (7*(Cos[a + b*x]^5/(2*(1 - Cos[a + b*x]^2)) - (5*(ArcTanh[Cos[a + b*x]] - Cos[a + b*x] - Cos[a + b*x] ^3/3))/2))/4)/b)
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[c*(c*x )^(m - 1)*((a + b*x^2)^(p + 1)/(2*b*(p + 1))), x] - Simp[c^2*((m - 1)/(2*b* (p + 1))) Int[(c*x)^(m - 2)*(a + b*x^2)^(p + 1), x], x] /; FreeQ[{a, b, c }, x] && LtQ[p, -1] && GtQ[m, 1] && !ILtQ[(m + 2*p + 3)/2, 0] && IntBinomi alQ[a, b, c, 2, m, p, x]
Int[(x_)^(m_)/((a_) + (b_.)*(x_)^2), x_Symbol] :> Int[PolynomialDivide[x^m, a + b*x^2, x], x] /; FreeQ[{a, b}, x] && IGtQ[m, 3]
Int[((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*tan[(e_.) + (f_.)*(x_)]^(n_.), x_ Symbol] :> With[{ff = FreeFactors[Sin[e + f*x], x]}, Simp[ff/f Subst[Int[ (ff*x)^(m + n)/(a^2 - ff^2*x^2)^((n + 1)/2), x], x, a*(Sin[e + f*x]/ff)], x ]] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n + 1)/2]
Time = 5.20 (sec) , antiderivative size = 98, normalized size of antiderivative = 1.21
method | result | size |
derivativedivides | \(\frac {-\frac {\cos \left (b x +a \right )^{9}}{4 \sin \left (b x +a \right )^{4}}+\frac {5 \cos \left (b x +a \right )^{9}}{8 \sin \left (b x +a \right )^{2}}+\frac {5 \cos \left (b x +a \right )^{7}}{8}+\frac {7 \cos \left (b x +a \right )^{5}}{8}+\frac {35 \cos \left (b x +a \right )^{3}}{24}+\frac {35 \cos \left (b x +a \right )}{8}+\frac {35 \ln \left (\csc \left (b x +a \right )-\cot \left (b x +a \right )\right )}{8}}{b}\) | \(98\) |
default | \(\frac {-\frac {\cos \left (b x +a \right )^{9}}{4 \sin \left (b x +a \right )^{4}}+\frac {5 \cos \left (b x +a \right )^{9}}{8 \sin \left (b x +a \right )^{2}}+\frac {5 \cos \left (b x +a \right )^{7}}{8}+\frac {7 \cos \left (b x +a \right )^{5}}{8}+\frac {35 \cos \left (b x +a \right )^{3}}{24}+\frac {35 \cos \left (b x +a \right )}{8}+\frac {35 \ln \left (\csc \left (b x +a \right )-\cot \left (b x +a \right )\right )}{8}}{b}\) | \(98\) |
risch | \(\frac {{\mathrm e}^{3 i \left (b x +a \right )}}{24 b}+\frac {13 \,{\mathrm e}^{i \left (b x +a \right )}}{8 b}+\frac {13 \,{\mathrm e}^{-i \left (b x +a \right )}}{8 b}+\frac {{\mathrm e}^{-3 i \left (b x +a \right )}}{24 b}-\frac {13 \,{\mathrm e}^{7 i \left (b x +a \right )}-5 \,{\mathrm e}^{5 i \left (b x +a \right )}-5 \,{\mathrm e}^{3 i \left (b x +a \right )}+13 \,{\mathrm e}^{i \left (b x +a \right )}}{4 b \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )^{4}}-\frac {35 \ln \left ({\mathrm e}^{i \left (b x +a \right )}+1\right )}{8 b}+\frac {35 \ln \left ({\mathrm e}^{i \left (b x +a \right )}-1\right )}{8 b}\) | \(155\) |
Input:
int(cos(b*x+a)^3*cot(b*x+a)^5,x,method=_RETURNVERBOSE)
Output:
1/b*(-1/4/sin(b*x+a)^4*cos(b*x+a)^9+5/8/sin(b*x+a)^2*cos(b*x+a)^9+5/8*cos( b*x+a)^7+7/8*cos(b*x+a)^5+35/24*cos(b*x+a)^3+35/8*cos(b*x+a)+35/8*ln(csc(b *x+a)-cot(b*x+a)))
Time = 0.13 (sec) , antiderivative size = 132, normalized size of antiderivative = 1.63 \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=\frac {16 \, \cos \left (b x + a\right )^{7} + 112 \, \cos \left (b x + a\right )^{5} - 350 \, \cos \left (b x + a\right )^{3} - 105 \, {\left (\cos \left (b x + a\right )^{4} - 2 \, \cos \left (b x + a\right )^{2} + 1\right )} \log \left (\frac {1}{2} \, \cos \left (b x + a\right ) + \frac {1}{2}\right ) + 105 \, {\left (\cos \left (b x + a\right )^{4} - 2 \, \cos \left (b x + a\right )^{2} + 1\right )} \log \left (-\frac {1}{2} \, \cos \left (b x + a\right ) + \frac {1}{2}\right ) + 210 \, \cos \left (b x + a\right )}{48 \, {\left (b \cos \left (b x + a\right )^{4} - 2 \, b \cos \left (b x + a\right )^{2} + b\right )}} \] Input:
integrate(cos(b*x+a)^3*cot(b*x+a)^5,x, algorithm="fricas")
Output:
1/48*(16*cos(b*x + a)^7 + 112*cos(b*x + a)^5 - 350*cos(b*x + a)^3 - 105*(c os(b*x + a)^4 - 2*cos(b*x + a)^2 + 1)*log(1/2*cos(b*x + a) + 1/2) + 105*(c os(b*x + a)^4 - 2*cos(b*x + a)^2 + 1)*log(-1/2*cos(b*x + a) + 1/2) + 210*c os(b*x + a))/(b*cos(b*x + a)^4 - 2*b*cos(b*x + a)^2 + b)
Timed out. \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=\text {Timed out} \] Input:
integrate(cos(b*x+a)**3*cot(b*x+a)**5,x)
Output:
Timed out
Time = 0.05 (sec) , antiderivative size = 89, normalized size of antiderivative = 1.10 \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=\frac {16 \, \cos \left (b x + a\right )^{3} - \frac {6 \, {\left (13 \, \cos \left (b x + a\right )^{3} - 11 \, \cos \left (b x + a\right )\right )}}{\cos \left (b x + a\right )^{4} - 2 \, \cos \left (b x + a\right )^{2} + 1} + 144 \, \cos \left (b x + a\right ) - 105 \, \log \left (\cos \left (b x + a\right ) + 1\right ) + 105 \, \log \left (\cos \left (b x + a\right ) - 1\right )}{48 \, b} \] Input:
integrate(cos(b*x+a)^3*cot(b*x+a)^5,x, algorithm="maxima")
Output:
1/48*(16*cos(b*x + a)^3 - 6*(13*cos(b*x + a)^3 - 11*cos(b*x + a))/(cos(b*x + a)^4 - 2*cos(b*x + a)^2 + 1) + 144*cos(b*x + a) - 105*log(cos(b*x + a) + 1) + 105*log(cos(b*x + a) - 1))/b
Time = 0.13 (sec) , antiderivative size = 96, normalized size of antiderivative = 1.19 \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=-\frac {35 \, \log \left ({\left | \cos \left (b x + a\right ) + 1 \right |}\right )}{16 \, b} + \frac {35 \, \log \left ({\left | \cos \left (b x + a\right ) - 1 \right |}\right )}{16 \, b} + \frac {b^{2} \cos \left (b x + a\right )^{3} + 9 \, b^{2} \cos \left (b x + a\right )}{3 \, b^{3}} - \frac {13 \, \cos \left (b x + a\right )^{3} - 11 \, \cos \left (b x + a\right )}{8 \, {\left (\cos \left (b x + a\right )^{2} - 1\right )}^{2} b} \] Input:
integrate(cos(b*x+a)^3*cot(b*x+a)^5,x, algorithm="giac")
Output:
-35/16*log(abs(cos(b*x + a) + 1))/b + 35/16*log(abs(cos(b*x + a) - 1))/b + 1/3*(b^2*cos(b*x + a)^3 + 9*b^2*cos(b*x + a))/b^3 - 1/8*(13*cos(b*x + a)^ 3 - 11*cos(b*x + a))/((cos(b*x + a)^2 - 1)^2*b)
Time = 25.45 (sec) , antiderivative size = 157, normalized size of antiderivative = 1.94 \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=\frac {{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^4}{64\,b}-\frac {3\,{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^2}{8\,b}+\frac {35\,\ln \left (\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )\right )}{8\,b}+\frac {\frac {67\,{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^8}{8}+\frac {839\,{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^6}{64}+\frac {1487\,{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^4}{192}+\frac {21\,{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^2}{64}-\frac {1}{64}}{b\,\left ({\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^{10}+3\,{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^8+3\,{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^6+{\mathrm {tan}\left (\frac {a}{2}+\frac {b\,x}{2}\right )}^4\right )} \] Input:
int(cos(a + b*x)^3*cot(a + b*x)^5,x)
Output:
tan(a/2 + (b*x)/2)^4/(64*b) - (3*tan(a/2 + (b*x)/2)^2)/(8*b) + (35*log(tan (a/2 + (b*x)/2)))/(8*b) + ((21*tan(a/2 + (b*x)/2)^2)/64 + (1487*tan(a/2 + (b*x)/2)^4)/192 + (839*tan(a/2 + (b*x)/2)^6)/64 + (67*tan(a/2 + (b*x)/2)^8 )/8 - 1/64)/(b*(tan(a/2 + (b*x)/2)^4 + 3*tan(a/2 + (b*x)/2)^6 + 3*tan(a/2 + (b*x)/2)^8 + tan(a/2 + (b*x)/2)^10))
Time = 0.18 (sec) , antiderivative size = 100, normalized size of antiderivative = 1.23 \[ \int \cos ^3(a+b x) \cot ^5(a+b x) \, dx=\frac {-64 \cos \left (b x +a \right ) \sin \left (b x +a \right )^{6}+640 \cos \left (b x +a \right ) \sin \left (b x +a \right )^{4}+312 \cos \left (b x +a \right ) \sin \left (b x +a \right )^{2}-48 \cos \left (b x +a \right )+840 \,\mathrm {log}\left (\tan \left (\frac {b x}{2}+\frac {a}{2}\right )\right ) \sin \left (b x +a \right )^{4}-847 \sin \left (b x +a \right )^{4}}{192 \sin \left (b x +a \right )^{4} b} \] Input:
int(cos(b*x+a)^3*cot(b*x+a)^5,x)
Output:
( - 64*cos(a + b*x)*sin(a + b*x)**6 + 640*cos(a + b*x)*sin(a + b*x)**4 + 3 12*cos(a + b*x)*sin(a + b*x)**2 - 48*cos(a + b*x) + 840*log(tan((a + b*x)/ 2))*sin(a + b*x)**4 - 847*sin(a + b*x)**4)/(192*sin(a + b*x)**4*b)