Integrand size = 29, antiderivative size = 178 \[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=-\frac {3 \text {arctanh}\left (\frac {\sqrt {c} \tan (2 a+2 b x)}{\sqrt {-c+c \sec (2 a+2 b x)}}\right )}{2 b c^{3/2}}+\frac {9 \text {arctanh}\left (\frac {\sqrt {c} \tan (2 a+2 b x)}{\sqrt {2} \sqrt {-c+c \sec (2 a+2 b x)}}\right )}{4 \sqrt {2} b c^{3/2}}-\frac {\sin (2 a+2 b x)}{4 b (-c+c \sec (2 a+2 b x))^{3/2}}-\frac {3 \sin (2 a+2 b x)}{4 b c \sqrt {-c+c \sec (2 a+2 b x)}} \]
[Out]
Time = 0.39 (sec) , antiderivative size = 178, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.241, Rules used = {4482, 3902, 4107, 4005, 3859, 213, 3880} \[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=-\frac {3 \text {arctanh}\left (\frac {\sqrt {c} \tan (2 a+2 b x)}{\sqrt {c \sec (2 a+2 b x)-c}}\right )}{2 b c^{3/2}}+\frac {9 \text {arctanh}\left (\frac {\sqrt {c} \tan (2 a+2 b x)}{\sqrt {2} \sqrt {c \sec (2 a+2 b x)-c}}\right )}{4 \sqrt {2} b c^{3/2}}-\frac {3 \sin (2 a+2 b x)}{4 b c \sqrt {c \sec (2 a+2 b x)-c}}-\frac {\sin (2 a+2 b x)}{4 b (c \sec (2 a+2 b x)-c)^{3/2}} \]
[In]
[Out]
Rule 213
Rule 3859
Rule 3880
Rule 3902
Rule 4005
Rule 4107
Rule 4482
Rubi steps \begin{align*} \text {integral}& = \int \frac {\cos (2 a+2 b x)}{(-c+c \sec (2 a+2 b x))^{3/2}} \, dx \\ & = -\frac {\sin (2 a+2 b x)}{4 b (-c+c \sec (2 a+2 b x))^{3/2}}-\frac {\int \frac {\cos (2 a+2 b x) \left (3 c+\frac {3}{2} c \sec (2 a+2 b x)\right )}{\sqrt {-c+c \sec (2 a+2 b x)}} \, dx}{2 c^2} \\ & = -\frac {\sin (2 a+2 b x)}{4 b (-c+c \sec (2 a+2 b x))^{3/2}}-\frac {3 \sin (2 a+2 b x)}{4 b c \sqrt {-c+c \sec (2 a+2 b x)}}-\frac {\int \frac {3 c^2+\frac {3}{2} c^2 \sec (2 a+2 b x)}{\sqrt {-c+c \sec (2 a+2 b x)}} \, dx}{2 c^3} \\ & = -\frac {\sin (2 a+2 b x)}{4 b (-c+c \sec (2 a+2 b x))^{3/2}}-\frac {3 \sin (2 a+2 b x)}{4 b c \sqrt {-c+c \sec (2 a+2 b x)}}+\frac {3 \int \sqrt {-c+c \sec (2 a+2 b x)} \, dx}{2 c^2}-\frac {9 \int \frac {\sec (2 a+2 b x)}{\sqrt {-c+c \sec (2 a+2 b x)}} \, dx}{4 c} \\ & = -\frac {\sin (2 a+2 b x)}{4 b (-c+c \sec (2 a+2 b x))^{3/2}}-\frac {3 \sin (2 a+2 b x)}{4 b c \sqrt {-c+c \sec (2 a+2 b x)}}-\frac {3 \text {Subst}\left (\int \frac {1}{-c+x^2} \, dx,x,-\frac {c \tan (2 a+2 b x)}{\sqrt {-c+c \sec (2 a+2 b x)}}\right )}{2 b c}+\frac {9 \text {Subst}\left (\int \frac {1}{-2 c+x^2} \, dx,x,-\frac {c \tan (2 a+2 b x)}{\sqrt {-c+c \sec (2 a+2 b x)}}\right )}{4 b c} \\ & = -\frac {3 \text {arctanh}\left (\frac {\sqrt {c} \tan (2 a+2 b x)}{\sqrt {-c+c \sec (2 a+2 b x)}}\right )}{2 b c^{3/2}}+\frac {9 \text {arctanh}\left (\frac {\sqrt {c} \tan (2 a+2 b x)}{\sqrt {2} \sqrt {-c+c \sec (2 a+2 b x)}}\right )}{4 \sqrt {2} b c^{3/2}}-\frac {\sin (2 a+2 b x)}{4 b (-c+c \sec (2 a+2 b x))^{3/2}}-\frac {3 \sin (2 a+2 b x)}{4 b c \sqrt {-c+c \sec (2 a+2 b x)}} \\ \end{align*}
Time = 5.86 (sec) , antiderivative size = 217, normalized size of antiderivative = 1.22 \[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=\frac {\csc (a+b x) \sec (a+b x) \left (6 \text {arctanh}\left (\sqrt {1-\tan ^2(a+b x)}\right ) \cos (2 (a+b x))-6 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {1-\tan ^2(a+b x)}}{\sqrt {2}}\right ) \cos (2 (a+b x))+(1-3 \cos (2 (a+b x))+\cos (4 (a+b x))) \cot ^2(a+b x) \sqrt {\cos (2 (a+b x)) \sec ^2(a+b x)}-3 \arctan \left (\sqrt {-1+\tan ^2(a+b x)}\right ) \cos ^2(a+b x) \sqrt {-\left (-1+\tan ^2(a+b x)\right )^2}\right ) \sqrt {c \tan (a+b x) \tan (2 (a+b x))}}{8 b c^2 \sqrt {1-\tan ^2(a+b x)}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(1074\) vs. \(2(151)=302\).
Time = 2.96 (sec) , antiderivative size = 1075, normalized size of antiderivative = 6.04
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 528, normalized size of antiderivative = 2.97 \[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=\left [\frac {9 \, \sqrt {2} {\left (\tan \left (b x + a\right )^{5} + \tan \left (b x + a\right )^{3}\right )} \sqrt {c} \log \left (\frac {c \tan \left (b x + a\right )^{3} + 2 \, \sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}} {\left (\tan \left (b x + a\right )^{2} - 1\right )} \sqrt {c} - 2 \, c \tan \left (b x + a\right )}{\tan \left (b x + a\right )^{3}}\right ) + 12 \, {\left (\tan \left (b x + a\right )^{5} + \tan \left (b x + a\right )^{3}\right )} \sqrt {c} \log \left (\frac {c \tan \left (b x + a\right )^{3} - 2 \, \sqrt {2} \sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}} {\left (\tan \left (b x + a\right )^{2} - 1\right )} \sqrt {c} - 3 \, c \tan \left (b x + a\right )}{\tan \left (b x + a\right )^{3} + \tan \left (b x + a\right )}\right ) + 2 \, \sqrt {2} {\left (5 \, \tan \left (b x + a\right )^{4} - 4 \, \tan \left (b x + a\right )^{2} - 1\right )} \sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}}}{16 \, {\left (b c^{2} \tan \left (b x + a\right )^{5} + b c^{2} \tan \left (b x + a\right )^{3}\right )}}, \frac {9 \, \sqrt {2} {\left (\tan \left (b x + a\right )^{5} + \tan \left (b x + a\right )^{3}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}} {\left (\tan \left (b x + a\right )^{2} - 1\right )} \sqrt {-c}}{c \tan \left (b x + a\right )}\right ) - 12 \, {\left (\tan \left (b x + a\right )^{5} + \tan \left (b x + a\right )^{3}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {2} \sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}} {\left (\tan \left (b x + a\right )^{2} - 1\right )} \sqrt {-c}}{2 \, c \tan \left (b x + a\right )}\right ) + \sqrt {2} {\left (5 \, \tan \left (b x + a\right )^{4} - 4 \, \tan \left (b x + a\right )^{2} - 1\right )} \sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}}}{8 \, {\left (b c^{2} \tan \left (b x + a\right )^{5} + b c^{2} \tan \left (b x + a\right )^{3}\right )}}\right ] \]
[In]
[Out]
Timed out. \[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=\int { \frac {\cos \left (2 \, b x + 2 \, a\right )}{\left (c \tan \left (2 \, b x + 2 \, a\right ) \tan \left (b x + a\right )\right )^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos (2 (a+b x))}{(c \tan (a+b x) \tan (2 (a+b x)))^{3/2}} \, dx=\int \frac {\cos \left (2\,a+2\,b\,x\right )}{{\left (c\,\mathrm {tan}\left (a+b\,x\right )\,\mathrm {tan}\left (2\,a+2\,b\,x\right )\right )}^{3/2}} \,d x \]
[In]
[Out]