Optimal. Leaf size=8 \[ \frac{\sin ^2(x)}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0066878, antiderivative size = 8, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 5, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {2564, 30} \[ \frac{\sin ^2(x)}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2564
Rule 30
Rubi steps
\begin{align*} \int \cos (x) \sin (x) \, dx &=\operatorname{Subst}(\int x \, dx,x,\sin (x))\\ &=\frac{\sin ^2(x)}{2}\\ \end{align*}
Mathematica [A] time = 0.0009839, size = 8, normalized size = 1. \[ -\frac{1}{2} \cos ^2(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 7, normalized size = 0.9 \begin{align*}{\frac{ \left ( \sin \left ( x \right ) \right ) ^{2}}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.912815, size = 8, normalized size = 1. \begin{align*} -\frac{1}{2} \, \cos \left (x\right )^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.9149, size = 20, normalized size = 2.5 \begin{align*} -\frac{1}{2} \, \cos \left (x\right )^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.053909, size = 5, normalized size = 0.62 \begin{align*} \frac{\sin ^{2}{\left (x \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08135, size = 8, normalized size = 1. \begin{align*} -\frac{1}{2} \, \cos \left (x\right )^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]