Integrand size = 4, antiderivative size = 6 \[ \int \tan ^2(x) \, dx=-x+\tan (x) \]
[Out]
Time = 0.00 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3554, 8} \[ \int \tan ^2(x) \, dx=\tan (x)-x \]
[In]
[Out]
Rule 8
Rule 3554
Rubi steps \begin{align*} \text {integral}& = \tan (x)-\int 1 \, dx \\ & = -x+\tan (x) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 8, normalized size of antiderivative = 1.33 \[ \int \tan ^2(x) \, dx=-\arctan (\tan (x))+\tan (x) \]
[In]
[Out]
Time = 0.01 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.17
method | result | size |
norman | \(-x +\tan \left (x \right )\) | \(7\) |
parallelrisch | \(-x +\tan \left (x \right )\) | \(7\) |
derivativedivides | \(\tan \left (x \right )-\arctan \left (\tan \left (x \right )\right )\) | \(9\) |
default | \(\tan \left (x \right )-\arctan \left (\tan \left (x \right )\right )\) | \(9\) |
risch | \(-x +\frac {2 i}{{\mathrm e}^{2 i x}+1}\) | \(17\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \tan ^2(x) \, dx=-x + \tan \left (x\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 7 vs. \(2 (3) = 6\).
Time = 0.03 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.17 \[ \int \tan ^2(x) \, dx=- x + \frac {\sin {\left (x \right )}}{\cos {\left (x \right )}} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \tan ^2(x) \, dx=-x + \tan \left (x\right ) \]
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \tan ^2(x) \, dx=-x + \tan \left (x\right ) \]
[In]
[Out]
Time = 0.07 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \tan ^2(x) \, dx=\mathrm {tan}\left (x\right )-x \]
[In]
[Out]