Optimal. Leaf size=12 \[ -2 \csc ^2(x)-8 \log (\sin (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0214947, antiderivative size = 12, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 1, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {14} \[ -2 \csc ^2(x)-8 \log (\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin{align*} \int \csc ^4(x) \sin (4 x) \, dx &=\operatorname{Subst}\left (\int \frac{4-8 x^2}{x^3} \, dx,x,\sin (x)\right )\\ &=\operatorname{Subst}\left (\int \left (\frac{4}{x^3}-\frac{8}{x}\right ) \, dx,x,\sin (x)\right )\\ &=-2 \csc ^2(x)-8 \log (\sin (x))\\ \end{align*}
Mathematica [A] time = 0.0091205, size = 12, normalized size = 1. \[ -2 \csc ^2(x)-8 \log (\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.05, size = 19, normalized size = 1.6 \begin{align*} 2\, \left ( \sin \left ( x \right ) \right ) ^{-2}-4\, \left ( \cot \left ( x \right ) \right ) ^{2}-8\,\ln \left ( \sin \left ( x \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.936607, size = 26, normalized size = 2.17 \begin{align*} -\frac{2}{\sin \left (x\right )^{2}} - 2 \, \log \left (\sin \left (x\right )^{2}\right ) - 4 \, \log \left (\sin \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.24487, size = 78, normalized size = 6.5 \begin{align*} -\frac{2 \,{\left (4 \,{\left (\cos \left (x\right )^{2} - 1\right )} \log \left (\frac{1}{2} \, \sin \left (x\right )\right ) - 1\right )}}{\cos \left (x\right )^{2} - 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 15.3909, size = 14, normalized size = 1.17 \begin{align*} - 8 \log{\left (\sin{\left (x \right )} \right )} - \frac{2}{\sin ^{2}{\left (x \right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.08126, size = 96, normalized size = 8. \begin{align*} \frac{{\left (\frac{8 \,{\left (\cos \left (x\right ) - 1\right )}}{\cos \left (x\right ) + 1} + 1\right )}{\left (\cos \left (x\right ) + 1\right )}}{2 \,{\left (\cos \left (x\right ) - 1\right )}} + \frac{\cos \left (x\right ) - 1}{2 \,{\left (\cos \left (x\right ) + 1\right )}} + 8 \, \log \left (-\frac{\cos \left (x\right ) - 1}{\cos \left (x\right ) + 1} + 1\right ) - 4 \, \log \left (-\frac{\cos \left (x\right ) - 1}{\cos \left (x\right ) + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]