Integrand size = 8, antiderivative size = 6 \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x-\cos (x) \]
[Out]
Time = 0.01 (sec) , antiderivative size = 6, 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.250, Rules used = {3240, 2718} \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x-\cos (x) \]
[In]
[Out]
Rule 2718
Rule 3240
Rubi steps \begin{align*} \text {integral}& = \int (1+\sin (x)) \, dx \\ & = x+\int \sin (x) \, dx \\ & = x-\cos (x) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x-\cos (x) \]
[In]
[Out]
Time = 1.20 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.17
method | result | size |
default | \(x -\cos \left (x \right )\) | \(7\) |
risch | \(x -\cos \left (x \right )\) | \(7\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x - \cos \left (x\right ) \]
[In]
[Out]
Time = 0.50 (sec) , antiderivative size = 3, normalized size of antiderivative = 0.50 \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x - \cos {\left (x \right )} \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x - \cos \left (x\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 14 vs. \(2 (6) = 12\).
Time = 0.27 (sec) , antiderivative size = 14, normalized size of antiderivative = 2.33 \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x - \frac {2}{\tan \left (\frac {1}{2} \, x\right )^{2} + 1} \]
[In]
[Out]
Time = 26.60 (sec) , antiderivative size = 6, normalized size of antiderivative = 1.00 \[ \int \cos (x) (\sec (x)+\tan (x)) \, dx=x-\cos \left (x\right ) \]
[In]
[Out]