Integrand size = 17, antiderivative size = 26 \[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=\frac {1}{2} \arcsin (\tan (x))+\frac {1}{2} \tan (x) \sqrt {1-\tan ^2(x)} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {3756, 201, 222} \[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=\frac {1}{2} \arcsin (\tan (x))+\frac {1}{2} \tan (x) \sqrt {1-\tan ^2(x)} \]
[In]
[Out]
Rule 201
Rule 222
Rule 3756
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \sqrt {1-x^2} \, dx,x,\tan (x)\right ) \\ & = \frac {1}{2} \tan (x) \sqrt {1-\tan ^2(x)}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2}} \, dx,x,\tan (x)\right ) \\ & = \frac {1}{2} \arcsin (\tan (x))+\frac {1}{2} \tan (x) \sqrt {1-\tan ^2(x)} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(63\) vs. \(2(26)=52\).
Time = 0.11 (sec) , antiderivative size = 63, normalized size of antiderivative = 2.42 \[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=\frac {\cos (2 x) \tan (x)+\arcsin \left (\frac {\sin (x)}{\sqrt {\cos ^2(x)}}\right ) \cos (x) \sqrt {\cos ^2(x)} \sqrt {1-\tan ^2(x)}}{2 \sqrt {\cos ^2(x)} \sqrt {\cos (2 x)}} \]
[In]
[Out]
Time = 0.96 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.81
method | result | size |
derivativedivides | \(\frac {\arcsin \left (\tan \left (x \right )\right )}{2}+\frac {\sqrt {1-\tan \left (x \right )^{2}}\, \tan \left (x \right )}{2}\) | \(21\) |
default | \(\frac {\arcsin \left (\tan \left (x \right )\right )}{2}+\frac {\sqrt {1-\tan \left (x \right )^{2}}\, \tan \left (x \right )}{2}\) | \(21\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 72 vs. \(2 (20) = 40\).
Time = 0.26 (sec) , antiderivative size = 72, normalized size of antiderivative = 2.77 \[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=-\frac {\arctan \left (\frac {{\left (3 \, \cos \left (x\right )^{3} - 2 \, \cos \left (x\right )\right )} \sqrt {\frac {2 \, \cos \left (x\right )^{2} - 1}{\cos \left (x\right )^{2}}}}{2 \, {\left (2 \, \cos \left (x\right )^{2} - 1\right )} \sin \left (x\right )}\right ) \cos \left (x\right ) - 2 \, \sqrt {\frac {2 \, \cos \left (x\right )^{2} - 1}{\cos \left (x\right )^{2}}} \sin \left (x\right )}{4 \, \cos \left (x\right )} \]
[In]
[Out]
\[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=\int \sqrt {- \left (\tan {\left (x \right )} - 1\right ) \left (\tan {\left (x \right )} + 1\right )} \sec ^{2}{\left (x \right )}\, dx \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.77 \[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=\frac {1}{2} \, \sqrt {-\tan \left (x\right )^{2} + 1} \tan \left (x\right ) + \frac {1}{2} \, \arcsin \left (\tan \left (x\right )\right ) \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.77 \[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=\frac {1}{2} \, \sqrt {-\tan \left (x\right )^{2} + 1} \tan \left (x\right ) + \frac {1}{2} \, \arcsin \left (\tan \left (x\right )\right ) \]
[In]
[Out]
Timed out. \[ \int \sec ^2(x) \sqrt {1-\tan ^2(x)} \, dx=\int \frac {\sqrt {1-{\mathrm {tan}\left (x\right )}^2}}{{\cos \left (x\right )}^2} \,d x \]
[In]
[Out]