Optimal. Leaf size=20 \[ -\frac {1}{4} \csc ^4(x)+6 \csc ^2(x)+16 \log (\sin (x)) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {4366, 1247, 698} \[ -\frac {1}{4} \csc ^4(x)+6 \csc ^2(x)+16 \log (\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 698
Rule 1247
Rule 4366
Rubi steps
\begin {align*} \int \cos (5 x) \csc ^5(x) \, dx &=-\operatorname {Subst}\left (\int \frac {x \left (5-20 x^2+16 x^4\right )}{\left (1-x^2\right )^3} \, dx,x,\cos (x)\right )\\ &=-\left (\frac {1}{2} \operatorname {Subst}\left (\int \frac {5-20 x+16 x^2}{(1-x)^3} \, dx,x,\cos ^2(x)\right )\right )\\ &=-\left (\frac {1}{2} \operatorname {Subst}\left (\int \left (-\frac {1}{(-1+x)^3}-\frac {12}{(-1+x)^2}-\frac {16}{-1+x}\right ) \, dx,x,\cos ^2(x)\right )\right )\\ &=6 \csc ^2(x)-\frac {\csc ^4(x)}{4}+16 \log (\sin (x))\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 20, normalized size = 1.00 \[ -\frac {1}{4} \csc ^4(x)+6 \csc ^2(x)+16 \log (\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \cos (5 x) \csc ^5(x) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.97, size = 43, normalized size = 2.15 \[ -\frac {24 \, \cos \relax (x)^{2} - 64 \, {\left (\cos \relax (x)^{4} - 2 \, \cos \relax (x)^{2} + 1\right )} \log \left (\frac {1}{2} \, \sin \relax (x)\right ) - 23}{4 \, {\left (\cos \relax (x)^{4} - 2 \, \cos \relax (x)^{2} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.63, size = 21, normalized size = 1.05 \[ \frac {24 \, \sin \relax (x)^{2} - 1}{4 \, \sin \relax (x)^{4}} + 16 \, \log \left ({\left | \sin \relax (x) \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.14, size = 35, normalized size = 1.75
method | result | size |
default | \(-\frac {5}{4 \sin \relax (x )^{4}}+\frac {5 \left (\cos ^{4}\relax (x )\right )}{\sin \relax (x )^{4}}-4 \left (\cot ^{4}\relax (x )\right )+8 \left (\cot ^{2}\relax (x )\right )+16 \ln \left (\sin \relax (x )\right )\) | \(35\) |
risch | \(-16 i x -\frac {4 \left (6 \,{\mathrm e}^{6 i x}-11 \,{\mathrm e}^{4 i x}+6 \,{\mathrm e}^{2 i x}\right )}{\left ({\mathrm e}^{2 i x}-1\right )^{4}}+16 \ln \left ({\mathrm e}^{2 i x}-1\right )\) | \(49\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 33, normalized size = 1.65 \[ \frac {5}{\sin \relax (x)^{2}} + \frac {4 \, \sin \relax (x)^{2} - 1}{4 \, \sin \relax (x)^{4}} + \frac {11}{2} \, \log \left (\sin \relax (x)^{2}\right ) + 5 \, \log \left (\sin \relax (x)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 21, normalized size = 1.05 \[ 8\,\ln \left ({\sin \relax (x)}^2\right )+\frac {6\,{\sin \relax (x)}^2-\frac {1}{4}}{{\sin \relax (x)}^4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 24.84, size = 22, normalized size = 1.10 \[ 8 \log {\left (\sin ^{2}{\relax (x )} \right )} + \frac {6}{\sin ^{2}{\relax (x )}} - \frac {1}{4 \sin ^{4}{\relax (x )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________