Optimal. Leaf size=5 \[ -\tan ^{-1}(\cos (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0332322, antiderivative size = 5, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {4339, 203} \[ -\tan ^{-1}(\cos (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4339
Rule 203
Rubi steps
\begin{align*} \int \frac{\sec (x) \tan (x)}{1+\sec ^2(x)} \, dx &=-\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\cos (x)\right )\\ &=-\tan ^{-1}(\cos (x))\\ \end{align*}
Mathematica [A] time = 0.0222478, size = 5, normalized size = 1. \[ -\tan ^{-1}(\cos (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.025, size = 4, normalized size = 0.8 \begin{align*} \arctan \left ( \sec \left ( x \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.45471, size = 7, normalized size = 1.4 \begin{align*} -\arctan \left (\cos \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.49107, size = 23, normalized size = 4.6 \begin{align*} -\arctan \left (\cos \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.269607, size = 3, normalized size = 0.6 \begin{align*} \operatorname{atan}{\left (\sec{\left (x \right )} \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08875, size = 7, normalized size = 1.4 \begin{align*} -\arctan \left (\cos \left (x\right )\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]