Optimal. Leaf size=27 \[ \frac {x}{3}-\frac {1}{3} \tan ^{-1}\left (\frac {2 \sin (x) \cos (x)}{2 \cos ^2(x)+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 27, normalized size of antiderivative = 1.00, 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 = {3675, 203} \[ \frac {x}{3}-\frac {1}{3} \tan ^{-1}\left (\frac {2 \sin (x) \cos (x)}{2 \cos ^2(x)+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 3675
Rubi steps
\begin {align*} \int \frac {\sec ^2(x)}{9+\tan ^2(x)} \, dx &=\operatorname {Subst}\left (\int \frac {1}{9+x^2} \, dx,x,\tan (x)\right )\\ &=\frac {x}{3}-\frac {1}{3} \tan ^{-1}\left (\frac {2 \cos (x) \sin (x)}{1+2 \cos ^2(x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 9, normalized size = 0.33 \[ -\frac {1}{3} \tan ^{-1}(3 \cot (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.55, size = 21, normalized size = 0.78 \[ -\frac {1}{6} \, \arctan \left (\frac {10 \, \cos \relax (x)^{2} - 1}{6 \, \cos \relax (x) \sin \relax (x)}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 7, normalized size = 0.26 \[ \frac {1}{3} \, \arctan \left (\frac {1}{3} \, \tan \relax (x)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 8, normalized size = 0.30 \[ \frac {\arctan \left (\frac {\tan \relax (x )}{3}\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 7, normalized size = 0.26 \[ \frac {1}{3} \, \arctan \left (\frac {1}{3} \, \tan \relax (x)\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.88, size = 7, normalized size = 0.26 \[ \frac {\mathrm {atan}\left (\frac {\mathrm {tan}\relax (x)}{3}\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^{2}{\relax (x )}}{\tan ^{2}{\relax (x )} + 9}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________