Integrand size = 7, antiderivative size = 5 \[ \int \sin (x) \tan ^2(x) \, dx=\cos (x)+\sec (x) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 5, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {2670, 14} \[ \int \sin (x) \tan ^2(x) \, dx=\cos (x)+\sec (x) \]
[In]
[Out]
Rule 14
Rule 2670
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {1-x^2}{x^2} \, dx,x,\cos (x)\right ) \\ & = -\text {Subst}\left (\int \left (-1+\frac {1}{x^2}\right ) \, dx,x,\cos (x)\right ) \\ & = \cos (x)+\sec (x) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 5, normalized size of antiderivative = 1.00 \[ \int \sin (x) \tan ^2(x) \, dx=\cos (x)+\sec (x) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(19\) vs. \(2(5)=10\).
Time = 0.22 (sec) , antiderivative size = 20, normalized size of antiderivative = 4.00
method | result | size |
default | \(\frac {\sin \left (x \right )^{4}}{\cos \left (x \right )}+\left (2+\sin \left (x \right )^{2}\right ) \cos \left (x \right )\) | \(20\) |
risch | \(\frac {{\mathrm e}^{3 i x}+7 \cos \left (x \right )+5 i \sin \left (x \right )}{2 \,{\mathrm e}^{2 i x}+2}\) | \(27\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 11 vs. \(2 (5) = 10\).
Time = 0.26 (sec) , antiderivative size = 11, normalized size of antiderivative = 2.20 \[ \int \sin (x) \tan ^2(x) \, dx=\frac {\cos \left (x\right )^{2} + 1}{\cos \left (x\right )} \]
[In]
[Out]
Time = 0.03 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.40 \[ \int \sin (x) \tan ^2(x) \, dx=\cos {\left (x \right )} + \frac {1}{\cos {\left (x \right )}} \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.40 \[ \int \sin (x) \tan ^2(x) \, dx=\frac {1}{\cos \left (x\right )} + \cos \left (x\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.40 \[ \int \sin (x) \tan ^2(x) \, dx=\frac {1}{\cos \left (x\right )} + \cos \left (x\right ) \]
[In]
[Out]
Time = 15.42 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.40 \[ \int \sin (x) \tan ^2(x) \, dx=\cos \left (x\right )+\frac {1}{\cos \left (x\right )} \]
[In]
[Out]