Optimal. Leaf size=8 \[ x+2 \sin (x) \cos (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0303075, antiderivative size = 8, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 7, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {385, 203} \[ x+2 \sin (x) \cos (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 385
Rule 203
Rubi steps
\begin{align*} \int \csc (x) \sin (3 x) \, dx &=\operatorname{Subst}\left (\int \frac{3-x^2}{\left (1+x^2\right )^2} \, dx,x,\tan (x)\right )\\ &=2 \cos (x) \sin (x)+\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\tan (x)\right )\\ &=x+2 \cos (x) \sin (x)\\ \end{align*}
Mathematica [A] time = 0.0116813, size = 6, normalized size = 0.75 \[ x+\sin (2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.032, size = 9, normalized size = 1.1 \begin{align*} x+2\,\cos \left ( x \right ) \sin \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.02185, size = 8, normalized size = 1. \begin{align*} x + \sin \left (2 \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.42448, size = 28, normalized size = 3.5 \begin{align*} 2 \, \cos \left (x\right ) \sin \left (x\right ) + x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.68294, size = 5, normalized size = 0.62 \begin{align*} x + \sin{\left (2 x \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09955, size = 8, normalized size = 1. \begin{align*} x + \sin \left (2 \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]