Optimal. Leaf size=3 \[ \tan ^{-1}(\sin (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0301497, antiderivative size = 3, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {4397, 3190, 203} \[ \tan ^{-1}(\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4397
Rule 3190
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{\sec (x)+\sin (x) \tan (x)} \, dx &=\int \frac{\cos (x)}{1+\sin ^2(x)} \, dx\\ &=\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sin (x)\right )\\ &=\tan ^{-1}(\sin (x))\\ \end{align*}
Mathematica [A] time = 0.0175787, size = 3, normalized size = 1. \[ \tan ^{-1}(\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.043, size = 4, normalized size = 1.3 \begin{align*} \arctan \left ( \sin \left ( x \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.971993, size = 61, normalized size = 20.33 \begin{align*} \frac{1}{2} \, \arctan \left (\sin \left (2 \, x\right ) + 2 \, \sin \left (x\right ), \cos \left (2 \, x\right ) + 2 \, \cos \left (x\right ) - 1\right ) - \frac{1}{2} \, \arctan \left (\sin \left (2 \, x\right ) - 2 \, \sin \left (x\right ), \cos \left (2 \, x\right ) - 2 \, \cos \left (x\right ) - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.09466, size = 22, normalized size = 7.33 \begin{align*} \arctan \left (\sin \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sin{\left (x \right )} \tan{\left (x \right )} + \sec{\left (x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09693, size = 4, normalized size = 1.33 \begin{align*} \arctan \left (\sin \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]