Integrand size = 13, antiderivative size = 15 \[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=-\cos (x) \log (\cos (x)) \sqrt {\sec ^2(x)} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 15, 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.231, Rules used = {3738, 4210, 3556} \[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=-\cos (x) \sqrt {\sec ^2(x)} \log (\cos (x)) \]
[In]
[Out]
Rule 3556
Rule 3738
Rule 4210
Rubi steps \begin{align*} \text {integral}& = \int \sqrt {\sec ^2(x)} \sin (x) \, dx \\ & = \left (\cos (x) \sqrt {\sec ^2(x)}\right ) \int \tan (x) \, dx \\ & = -\cos (x) \log (\cos (x)) \sqrt {\sec ^2(x)} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.00 \[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=-\cos (x) \log (\cos (x)) \sqrt {\sec ^2(x)} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 0.37 (sec) , antiderivative size = 36, normalized size of antiderivative = 2.40
method | result | size |
default | \(-\operatorname {csgn}\left (\sec \left (x \right )\right ) \left (\ln \left (1+\csc \left (x \right )-\cot \left (x \right )\right )+\ln \left (\csc \left (x \right )-\cot \left (x \right )-1\right )-\ln \left (\frac {2}{1+\cos \left (x \right )}\right )\right )\) | \(36\) |
risch | \(2 i \sqrt {\frac {{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, x \cos \left (x \right )-2 \sqrt {\frac {{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \ln \left ({\mathrm e}^{2 i x}+1\right ) \cos \left (x \right )\) | \(54\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.33 \[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=\log \left (-\cos \left (x\right )\right ) \]
[In]
[Out]
\[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=\int \sqrt {\tan ^{2}{\left (x \right )} + 1} \sin {\left (x \right )}\, dx \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.87 \[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=-\sqrt {\frac {1}{\cos \left (x\right )^{2}}} \cos \left (x\right ) \log \left (\cos \left (x\right )\right ) \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 6, normalized size of antiderivative = 0.40 \[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=-\log \left ({\left | \cos \left (x\right ) \right |}\right ) \]
[In]
[Out]
Timed out. \[ \int \sin (x) \sqrt {1+\tan ^2(x)} \, dx=\int \sin \left (x\right )\,\sqrt {{\mathrm {tan}\left (x\right )}^2+1} \,d x \]
[In]
[Out]