Integrand size = 10, antiderivative size = 14 \[ \int x \sec (1+x) \tan (1+x) \, dx=-\text {arctanh}(\sin (1+x))+x \sec (1+x) \]
[Out]
Time = 0.01 (sec) , antiderivative size = 14, 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.200, Rules used = {3842, 3855} \[ \int x \sec (1+x) \tan (1+x) \, dx=x \sec (x+1)-\text {arctanh}(\sin (x+1)) \]
[In]
[Out]
Rule 3842
Rule 3855
Rubi steps \begin{align*} \text {integral}& = x \sec (1+x)-\int \sec (1+x) \, dx \\ & = -\text {arctanh}(\sin (1+x))+x \sec (1+x) \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(47\) vs. \(2(14)=28\).
Time = 0.04 (sec) , antiderivative size = 47, normalized size of antiderivative = 3.36 \[ \int x \sec (1+x) \tan (1+x) \, dx=\log \left (\cos \left (\frac {1+x}{2}\right )-\sin \left (\frac {1+x}{2}\right )\right )-\log \left (\cos \left (\frac {1+x}{2}\right )+\sin \left (\frac {1+x}{2}\right )\right )+x \sec (1+x) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(31\) vs. \(2(14)=28\).
Time = 0.29 (sec) , antiderivative size = 32, normalized size of antiderivative = 2.29
method | result | size |
derivativedivides | \(\frac {x +1}{\cos \left (x +1\right )}-\ln \left (\sec \left (x +1\right )+\tan \left (x +1\right )\right )-\frac {1}{\cos \left (x +1\right )}\) | \(32\) |
default | \(\frac {x +1}{\cos \left (x +1\right )}-\ln \left (\sec \left (x +1\right )+\tan \left (x +1\right )\right )-\frac {1}{\cos \left (x +1\right )}\) | \(32\) |
risch | \(\frac {2 x \,{\mathrm e}^{i \left (x +1\right )}}{{\mathrm e}^{2 i \left (x +1\right )}+1}+\ln \left ({\mathrm e}^{i \left (x +1\right )}-i\right )-\ln \left ({\mathrm e}^{i \left (x +1\right )}+i\right )\) | \(47\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 39 vs. \(2 (14) = 28\).
Time = 0.24 (sec) , antiderivative size = 39, normalized size of antiderivative = 2.79 \[ \int x \sec (1+x) \tan (1+x) \, dx=-\frac {\cos \left (x + 1\right ) \log \left (\sin \left (x + 1\right ) + 1\right ) - \cos \left (x + 1\right ) \log \left (-\sin \left (x + 1\right ) + 1\right ) - 2 \, x}{2 \, \cos \left (x + 1\right )} \]
[In]
[Out]
Time = 0.85 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.21 \[ \int x \sec (1+x) \tan (1+x) \, dx=x \sec {\left (x + 1 \right )} - \log {\left (\tan {\left (x + 1 \right )} + \sec {\left (x + 1 \right )} \right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 176 vs. \(2 (14) = 28\).
Time = 0.28 (sec) , antiderivative size = 176, normalized size of antiderivative = 12.57 \[ \int x \sec (1+x) \tan (1+x) \, dx=\frac {4 \, {\left (x + 1\right )} \cos \left (2 \, x + 2\right ) \cos \left (x + 1\right ) + 4 \, {\left (x + 1\right )} \sin \left (2 \, x + 2\right ) \sin \left (x + 1\right ) + 4 \, {\left (x + 1\right )} \cos \left (x + 1\right ) - {\left (\cos \left (2 \, x + 2\right )^{2} + \sin \left (2 \, x + 2\right )^{2} + 2 \, \cos \left (2 \, x + 2\right ) + 1\right )} \log \left (\cos \left (x + 1\right )^{2} + \sin \left (x + 1\right )^{2} + 2 \, \sin \left (x + 1\right ) + 1\right ) + {\left (\cos \left (2 \, x + 2\right )^{2} + \sin \left (2 \, x + 2\right )^{2} + 2 \, \cos \left (2 \, x + 2\right ) + 1\right )} \log \left (\cos \left (x + 1\right )^{2} + \sin \left (x + 1\right )^{2} - 2 \, \sin \left (x + 1\right ) + 1\right )}{2 \, {\left (\cos \left (2 \, x + 2\right )^{2} + \sin \left (2 \, x + 2\right )^{2} + 2 \, \cos \left (2 \, x + 2\right ) + 1\right )}} - \frac {1}{\cos \left (x + 1\right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 949 vs. \(2 (14) = 28\).
Time = 0.45 (sec) , antiderivative size = 949, normalized size of antiderivative = 67.79 \[ \int x \sec (1+x) \tan (1+x) \, dx=\text {Too large to display} \]
[In]
[Out]
Time = 26.92 (sec) , antiderivative size = 34, normalized size of antiderivative = 2.43 \[ \int x \sec (1+x) \tan (1+x) \, dx=\frac {2\,x\,\cos \left (x+1\right )}{\cos \left (2\,x+2\right )+1}+\mathrm {atan}\left (\cos \left (x+1\right )+\sin \left (x+1\right )\,1{}\mathrm {i}\right )\,2{}\mathrm {i} \]
[In]
[Out]