Integrand size = 31, antiderivative size = 72 \[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=-\frac {c \tan (2 a+2 b x)}{3 b \sqrt {-c+c \sec (2 a+2 b x)}}+\frac {\sqrt {-c+c \sec (2 a+2 b x)} \tan (2 a+2 b x)}{3 b} \] Output:
-1/3*c*tan(2*b*x+2*a)/b/(-c+c*sec(2*b*x+2*a))^(1/2)+1/3*(-c+c*sec(2*b*x+2* a))^(1/2)*tan(2*b*x+2*a)/b
Time = 0.49 (sec) , antiderivative size = 44, normalized size of antiderivative = 0.61 \[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=\frac {\sqrt {c \tan (a+b x) \tan (2 (a+b x))} (-\cot (a+b x)+\tan (2 (a+b x)))}{3 b} \] Input:
Integrate[Sec[2*(a + b*x)]^2*Sqrt[c*Tan[a + b*x]*Tan[2*(a + b*x)]],x]
Output:
(Sqrt[c*Tan[a + b*x]*Tan[2*(a + b*x)]]*(-Cot[a + b*x] + Tan[2*(a + b*x)])) /(3*b)
Time = 0.51 (sec) , antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.194, Rules used = {3042, 4897, 3042, 4285, 3042, 4279}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \sec (2 a+2 b x)^2 \sqrt {c \tan (a+b x) \tan (2 a+2 b x)}dx\) |
\(\Big \downarrow \) 4897 |
\(\displaystyle \int \sec ^2(2 a+2 b x) \sqrt {c \sec (2 a+2 b x)-c}dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \csc \left (2 a+2 b x+\frac {\pi }{2}\right )^2 \sqrt {c \csc \left (2 a+2 b x+\frac {\pi }{2}\right )-c}dx\) |
\(\Big \downarrow \) 4285 |
\(\displaystyle \frac {\tan (2 a+2 b x) \sqrt {c \sec (2 a+2 b x)-c}}{3 b}-\frac {1}{3} \int \sec (2 a+2 b x) \sqrt {c \sec (2 a+2 b x)-c}dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\tan (2 a+2 b x) \sqrt {c \sec (2 a+2 b x)-c}}{3 b}-\frac {1}{3} \int \csc \left (2 a+2 b x+\frac {\pi }{2}\right ) \sqrt {c \csc \left (2 a+2 b x+\frac {\pi }{2}\right )-c}dx\) |
\(\Big \downarrow \) 4279 |
\(\displaystyle \frac {\tan (2 a+2 b x) \sqrt {c \sec (2 a+2 b x)-c}}{3 b}-\frac {c \tan (2 a+2 b x)}{3 b \sqrt {c \sec (2 a+2 b x)-c}}\) |
Input:
Int[Sec[2*(a + b*x)]^2*Sqrt[c*Tan[a + b*x]*Tan[2*(a + b*x)]],x]
Output:
-1/3*(c*Tan[2*a + 2*b*x])/(b*Sqrt[-c + c*Sec[2*a + 2*b*x]]) + (Sqrt[-c + c *Sec[2*a + 2*b*x]]*Tan[2*a + 2*b*x])/(3*b)
Int[csc[(e_.) + (f_.)*(x_)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_S ymbol] :> Simp[-2*b*(Cot[e + f*x]/(f*Sqrt[a + b*Csc[e + f*x]])), x] /; Free Q[{a, b, e, f}, x] && EqQ[a^2 - b^2, 0]
Int[csc[(e_.) + (f_.)*(x_)]^2*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Simp[(-Cot[e + f*x])*((a + b*Csc[e + f*x])^m/(f*(m + 1))), x] + Simp[a*(m/(b*(m + 1))) Int[Csc[e + f*x]*(a + b*Csc[e + f*x])^m, x], x] /; FreeQ[{a, b, e, f, m}, x] && EqQ[a^2 - b^2, 0] && !LtQ[m, -2^(-1)]
Time = 1.15 (sec) , antiderivative size = 70, normalized size of antiderivative = 0.97
method | result | size |
default | \(-\frac {\sqrt {2}\, \sqrt {4}\, \left (4 \cos \left (b x +a \right )^{2}-3\right ) \sqrt {\frac {c \sin \left (b x +a \right )^{2}}{2 \cos \left (b x +a \right )^{2}-1}}\, \cot \left (b x +a \right )}{6 b \left (2 \cos \left (b x +a \right )^{2}-1\right )}\) | \(70\) |
Input:
int(sec(2*b*x+2*a)^2*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x,method=_RETURNV ERBOSE)
Output:
-1/6*2^(1/2)/b*4^(1/2)*(4*cos(b*x+a)^2-3)*(c*sin(b*x+a)^2/(2*cos(b*x+a)^2- 1))^(1/2)/(2*cos(b*x+a)^2-1)*cot(b*x+a)
Time = 0.08 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.89 \[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=-\frac {\sqrt {2} \sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}} {\left (3 \, \tan \left (b x + a\right )^{2} - 1\right )}}{3 \, {\left (b \tan \left (b x + a\right )^{3} - b \tan \left (b x + a\right )\right )}} \] Input:
integrate(sec(2*b*x+2*a)^2*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x, algorith m="fricas")
Output:
-1/3*sqrt(2)*sqrt(-c*tan(b*x + a)^2/(tan(b*x + a)^2 - 1))*(3*tan(b*x + a)^ 2 - 1)/(b*tan(b*x + a)^3 - b*tan(b*x + a))
Timed out. \[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=\text {Timed out} \] Input:
integrate(sec(2*b*x+2*a)**2*(c*tan(b*x+a)*tan(2*b*x+2*a))**(1/2),x)
Output:
Timed out
\[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=\int { \sqrt {c \tan \left (2 \, b x + 2 \, a\right ) \tan \left (b x + a\right )} \sec \left (2 \, b x + 2 \, a\right )^{2} \,d x } \] Input:
integrate(sec(2*b*x+2*a)^2*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x, algorith m="maxima")
Output:
-2/3*(6*(cos(4*b*x + 4*a)^2 + sin(4*b*x + 4*a)^2 + 2*cos(4*b*x + 4*a) + 1) ^(3/4)*b*sqrt(c)*integrate(-(((cos(12*b*x + 12*a)*cos(4*b*x + 4*a) + 2*cos (8*b*x + 8*a)*cos(4*b*x + 4*a) + cos(4*b*x + 4*a)^2 + sin(12*b*x + 12*a)*s in(4*b*x + 4*a) + 2*sin(8*b*x + 8*a)*sin(4*b*x + 4*a) + sin(4*b*x + 4*a)^2 )*cos(1/2*arctan2(sin(4*b*x + 4*a), -cos(4*b*x + 4*a) - 1)) + (cos(4*b*x + 4*a)*sin(12*b*x + 12*a) + 2*cos(4*b*x + 4*a)*sin(8*b*x + 8*a) - cos(12*b* x + 12*a)*sin(4*b*x + 4*a) - 2*cos(8*b*x + 8*a)*sin(4*b*x + 4*a))*sin(1/2* arctan2(sin(4*b*x + 4*a), -cos(4*b*x + 4*a) - 1)))*cos(3/2*arctan2(sin(4*b *x + 4*a), cos(4*b*x + 4*a))) + ((cos(4*b*x + 4*a)*sin(12*b*x + 12*a) + 2* cos(4*b*x + 4*a)*sin(8*b*x + 8*a) - cos(12*b*x + 12*a)*sin(4*b*x + 4*a) - 2*cos(8*b*x + 8*a)*sin(4*b*x + 4*a))*cos(1/2*arctan2(sin(4*b*x + 4*a), -co s(4*b*x + 4*a) - 1)) - (cos(12*b*x + 12*a)*cos(4*b*x + 4*a) + 2*cos(8*b*x + 8*a)*cos(4*b*x + 4*a) + cos(4*b*x + 4*a)^2 + sin(12*b*x + 12*a)*sin(4*b* x + 4*a) + 2*sin(8*b*x + 8*a)*sin(4*b*x + 4*a) + sin(4*b*x + 4*a)^2)*sin(1 /2*arctan2(sin(4*b*x + 4*a), -cos(4*b*x + 4*a) - 1)))*sin(3/2*arctan2(sin( 4*b*x + 4*a), cos(4*b*x + 4*a))))/(((2*(2*cos(8*b*x + 8*a) + cos(4*b*x + 4 *a))*cos(12*b*x + 12*a) + cos(12*b*x + 12*a)^2 + 4*cos(8*b*x + 8*a)^2 + 4* cos(8*b*x + 8*a)*cos(4*b*x + 4*a) + cos(4*b*x + 4*a)^2 + 2*(2*sin(8*b*x + 8*a) + sin(4*b*x + 4*a))*sin(12*b*x + 12*a) + sin(12*b*x + 12*a)^2 + 4*sin (8*b*x + 8*a)^2 + 4*sin(8*b*x + 8*a)*sin(4*b*x + 4*a) + sin(4*b*x + 4*a...
Exception generated. \[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=\text {Exception raised: TypeError} \] Input:
integrate(sec(2*b*x+2*a)^2*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x, algorith m="giac")
Output:
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value
Time = 21.35 (sec) , antiderivative size = 129, normalized size of antiderivative = 1.79 \[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=-\frac {2\,\left ({\mathrm {e}}^{a\,6{}\mathrm {i}+b\,x\,6{}\mathrm {i}}\,1{}\mathrm {i}+1{}\mathrm {i}\right )\,\sqrt {\frac {c\,\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,\left ({\mathrm {e}}^{a\,4{}\mathrm {i}+b\,x\,4{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )}{\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}+1\right )\,\left ({\mathrm {e}}^{a\,4{}\mathrm {i}+b\,x\,4{}\mathrm {i}}+1\right )}}}{3\,b\,\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}-{\mathrm {e}}^{a\,4{}\mathrm {i}+b\,x\,4{}\mathrm {i}}+{\mathrm {e}}^{a\,6{}\mathrm {i}+b\,x\,6{}\mathrm {i}}-1\right )} \] Input:
int((c*tan(a + b*x)*tan(2*a + 2*b*x))^(1/2)/cos(2*a + 2*b*x)^2,x)
Output:
-(2*(exp(a*6i + b*x*6i)*1i + 1i)*((c*(exp(a*2i + b*x*2i)*1i - 1i)*(exp(a*4 i + b*x*4i)*1i - 1i))/((exp(a*2i + b*x*2i) + 1)*(exp(a*4i + b*x*4i) + 1))) ^(1/2))/(3*b*(exp(a*2i + b*x*2i) - exp(a*4i + b*x*4i) + exp(a*6i + b*x*6i) - 1))
\[ \int \sec ^2(2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx=\sqrt {c}\, \left (\int \sqrt {\tan \left (b x +a \right )}\, \sqrt {\tan \left (2 b x +2 a \right )}\, \sec \left (2 b x +2 a \right )^{2}d x \right ) \] Input:
int(sec(2*b*x+2*a)^2*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x)
Output:
sqrt(c)*int(sqrt(tan(a + b*x))*sqrt(tan(2*a + 2*b*x))*sec(2*a + 2*b*x)**2, x)