Integrand size = 14, antiderivative size = 48 \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=\frac {x}{\sqrt {2}}+\frac {\arctan \left (\frac {\cos (2+3 x) \sin (2+3 x)}{1+\sqrt {2}+\sin ^2(2+3 x)}\right )}{3 \sqrt {2}} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 48, 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.143, Rules used = {3260, 209} \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=\frac {\arctan \left (\frac {\sin (3 x+2) \cos (3 x+2)}{\sin ^2(3 x+2)+\sqrt {2}+1}\right )}{3 \sqrt {2}}+\frac {x}{\sqrt {2}} \]
[In]
[Out]
Rule 209
Rule 3260
Rubi steps \begin{align*} \text {integral}& = -\left (\frac {1}{3} \text {Subst}\left (\int \frac {1}{2+x^2} \, dx,x,\cot (2+3 x)\right )\right ) \\ & = \frac {x}{\sqrt {2}}+\frac {\arctan \left (\frac {\cos (2+3 x) \sin (2+3 x)}{1+\sqrt {2}+\sin ^2(2+3 x)}\right )}{3 \sqrt {2}} \\ \end{align*}
Time = 0.84 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.46 \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=\frac {\arctan \left (\sqrt {2} \tan (2+3 x)\right )}{3 \sqrt {2}} \]
[In]
[Out]
Time = 0.78 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.35
method | result | size |
derivativedivides | \(\frac {\sqrt {2}\, \arctan \left (\tan \left (2+3 x \right ) \sqrt {2}\right )}{6}\) | \(17\) |
default | \(\frac {\sqrt {2}\, \arctan \left (\tan \left (2+3 x \right ) \sqrt {2}\right )}{6}\) | \(17\) |
risch | \(\frac {i \sqrt {2}\, \ln \left ({\mathrm e}^{2 i \left (2+3 x \right )}-3-2 \sqrt {2}\right )}{12}-\frac {i \sqrt {2}\, \ln \left ({\mathrm e}^{2 i \left (2+3 x \right )}-3+2 \sqrt {2}\right )}{12}\) | \(48\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 43, normalized size of antiderivative = 0.90 \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=-\frac {1}{12} \, \sqrt {2} \arctan \left (\frac {3 \, \sqrt {2} \cos \left (3 \, x + 2\right )^{2} - 2 \, \sqrt {2}}{4 \, \cos \left (3 \, x + 2\right ) \sin \left (3 \, x + 2\right )}\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 246 vs. \(2 (44) = 88\).
Time = 3.03 (sec) , antiderivative size = 246, normalized size of antiderivative = 5.12 \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=\frac {47321 \sqrt {2} \sqrt {3 - 2 \sqrt {2}} \left (\operatorname {atan}{\left (\frac {\tan {\left (\frac {3 x}{2} + 1 \right )}}{\sqrt {3 - 2 \sqrt {2}}} \right )} + \pi \left \lfloor {\frac {\frac {3 x}{2} - \frac {\pi }{2} + 1}{\pi }}\right \rfloor \right )}{83160 \sqrt {2} + 117606} + \frac {66922 \sqrt {3 - 2 \sqrt {2}} \left (\operatorname {atan}{\left (\frac {\tan {\left (\frac {3 x}{2} + 1 \right )}}{\sqrt {3 - 2 \sqrt {2}}} \right )} + \pi \left \lfloor {\frac {\frac {3 x}{2} - \frac {\pi }{2} + 1}{\pi }}\right \rfloor \right )}{83160 \sqrt {2} + 117606} + \frac {8119 \sqrt {2} \sqrt {2 \sqrt {2} + 3} \left (\operatorname {atan}{\left (\frac {\tan {\left (\frac {3 x}{2} + 1 \right )}}{\sqrt {2 \sqrt {2} + 3}} \right )} + \pi \left \lfloor {\frac {\frac {3 x}{2} - \frac {\pi }{2} + 1}{\pi }}\right \rfloor \right )}{83160 \sqrt {2} + 117606} + \frac {11482 \sqrt {2 \sqrt {2} + 3} \left (\operatorname {atan}{\left (\frac {\tan {\left (\frac {3 x}{2} + 1 \right )}}{\sqrt {2 \sqrt {2} + 3}} \right )} + \pi \left \lfloor {\frac {\frac {3 x}{2} - \frac {\pi }{2} + 1}{\pi }}\right \rfloor \right )}{83160 \sqrt {2} + 117606} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.33 \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=\frac {1}{6} \, \sqrt {2} \arctan \left (\sqrt {2} \tan \left (3 \, x + 2\right )\right ) \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.19 \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=\frac {1}{6} \, \sqrt {2} {\left (3 \, x + \arctan \left (-\frac {\sqrt {2} \sin \left (6 \, x + 4\right ) - 2 \, \sin \left (6 \, x + 4\right )}{\sqrt {2} \cos \left (6 \, x + 4\right ) + \sqrt {2} - 2 \, \cos \left (6 \, x + 4\right ) + 2}\right ) + 2\right )} \]
[In]
[Out]
Time = 27.50 (sec) , antiderivative size = 35, normalized size of antiderivative = 0.73 \[ \int \frac {1}{2-\cos ^2(2+3 x)} \, dx=\frac {\sqrt {2}\,\left (3\,x-\mathrm {atan}\left (\mathrm {tan}\left (3\,x+2\right )\right )\right )}{6}+\frac {\sqrt {2}\,\mathrm {atan}\left (\sqrt {2}\,\mathrm {tan}\left (3\,x+2\right )\right )}{6} \]
[In]
[Out]