Optimal. Leaf size=9 \[ \frac{1}{2} \sin (2 \sin (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0104997, antiderivative size = 9, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {4334, 2637} \[ \frac{1}{2} \sin (2 \sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4334
Rule 2637
Rubi steps
\begin{align*} \int \cos (x) \cos (2 \sin (x)) \, dx &=\operatorname{Subst}(\int \cos (2 x) \, dx,x,\sin (x))\\ &=\frac{1}{2} \sin (2 \sin (x))\\ \end{align*}
Mathematica [A] time = 1.37057, size = 9, normalized size = 1. \[ \frac{1}{2} \sin (2 \sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 8, normalized size = 0.9 \begin{align*}{\frac{\sin \left ( 2\,\sin \left ( x \right ) \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.964211, size = 9, normalized size = 1. \begin{align*} \frac{1}{2} \, \sin \left (2 \, \sin \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.03069, size = 57, normalized size = 6.33 \begin{align*} \frac{1}{2} \, \sin \left (\frac{4 \, \tan \left (\frac{1}{2} \, x\right )}{\tan \left (\frac{1}{2} \, x\right )^{2} + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.515596, size = 7, normalized size = 0.78 \begin{align*} \frac{\sin{\left (2 \sin{\left (x \right )} \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09994, size = 9, normalized size = 1. \begin{align*} \frac{1}{2} \, \sin \left (2 \, \sin \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]