3.606 \(\int \sec (2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx\)

Optimal. Leaf size=33 \[ \frac {c \tan (2 a+2 b x)}{b \sqrt {c \sec (2 a+2 b x)-c}} \]

[Out]

c*tan(2*b*x+2*a)/b/(-c+c*sec(2*b*x+2*a))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.06, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {4397, 3792} \[ \frac {c \tan (2 a+2 b x)}{b \sqrt {c \sec (2 a+2 b x)-c}} \]

Antiderivative was successfully verified.

[In]

Int[Sec[2*(a + b*x)]*Sqrt[c*Tan[a + b*x]*Tan[2*(a + b*x)]],x]

[Out]

(c*Tan[2*a + 2*b*x])/(b*Sqrt[-c + c*Sec[2*a + 2*b*x]])

Rule 3792

Int[csc[(e_.) + (f_.)*(x_)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Simp[(-2*b*Cot[e + f*x])/
(f*Sqrt[a + b*Csc[e + f*x]]), x] /; FreeQ[{a, b, e, f}, x] && EqQ[a^2 - b^2, 0]

Rule 4397

Int[u_, x_Symbol] :> Int[TrigSimplify[u], x] /; TrigSimplifyQ[u]

Rubi steps

\begin {align*} \int \sec (2 (a+b x)) \sqrt {c \tan (a+b x) \tan (2 (a+b x))} \, dx &=\int \sec (2 a+2 b x) \sqrt {-c+c \sec (2 a+2 b x)} \, dx\\ &=\frac {c \tan (2 a+2 b x)}{b \sqrt {-c+c \sec (2 a+2 b x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 30, normalized size = 0.91 \[ \frac {\cot (a+b x) \sqrt {c \tan (a+b x) \tan (2 (a+b x))}}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[Sec[2*(a + b*x)]*Sqrt[c*Tan[a + b*x]*Tan[2*(a + b*x)]],x]

[Out]

(Cot[a + b*x]*Sqrt[c*Tan[a + b*x]*Tan[2*(a + b*x)]])/b

________________________________________________________________________________________

fricas [A]  time = 0.43, size = 40, normalized size = 1.21 \[ \frac {\sqrt {2} \sqrt {-\frac {c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}}}{b \tan \left (b x + a\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(2*b*x+2*a)*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x, algorithm="fricas")

[Out]

sqrt(2)*sqrt(-c*tan(b*x + a)^2/(tan(b*x + a)^2 - 1))/(b*tan(b*x + a))

________________________________________________________________________________________

giac [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(2*b*x+2*a)*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x, algorithm="giac")

[Out]

Timed out

________________________________________________________________________________________

maple [A]  time = 0.97, size = 52, normalized size = 1.58 \[ \frac {\sqrt {2}\, \sqrt {\frac {c \left (\sin ^{2}\left (b x +a \right )\right )}{2 \left (\cos ^{2}\left (b x +a \right )\right )-1}}\, \cos \left (b x +a \right ) \sqrt {4}}{2 b \sin \left (b x +a \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(2*b*x+2*a)*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x)

[Out]

1/2*2^(1/2)/b*(c*sin(b*x+a)^2/(2*cos(b*x+a)^2-1))^(1/2)*cos(b*x+a)/sin(b*x+a)*4^(1/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(2*b*x+2*a)*(c*tan(b*x+a)*tan(2*b*x+2*a))^(1/2),x, algorithm="maxima")

[Out]

(2*(cos(4*b*x + 4*a)^2 + sin(4*b*x + 4*a)^2 + 2*cos(4*b*x + 4*a) + 1)^(1/4)*b*sqrt(c)*integrate(-(((cos(8*b*x
+ 8*a)*cos(4*b*x + 4*a) + cos(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(8*b*x + 8*a) - 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(1/2*arctan2(sin(4*b*x + 4*a), co
s(4*b*x + 4*a))) + ((cos(4*b*x + 4*a)*sin(8*b*x + 8*a) - cos(8*b*x + 8*a)*sin(4*b*x + 4*a))*cos(1/2*arctan2(si
n(4*b*x + 4*a), -cos(4*b*x + 4*a) - 1)) - (cos(8*b*x + 8*a)*cos(4*b*x + 4*a) + cos(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(1
/2*arctan2(sin(4*b*x + 4*a), cos(4*b*x + 4*a))))/(((cos(8*b*x + 8*a)^2 + 2*cos(8*b*x + 8*a)*cos(4*b*x + 4*a) +
 cos(4*b*x + 4*a)^2 + sin(8*b*x + 8*a)^2 + 2*sin(8*b*x + 8*a)*sin(4*b*x + 4*a) + sin(4*b*x + 4*a)^2)*cos(1/2*a
rctan2(sin(4*b*x + 4*a), -cos(4*b*x + 4*a) - 1))^2 + (cos(8*b*x + 8*a)^2 + 2*cos(8*b*x + 8*a)*cos(4*b*x + 4*a)
 + cos(4*b*x + 4*a)^2 + sin(8*b*x + 8*a)^2 + 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))^2)*(cos(4*b*x + 4*a)^2 + sin(4*b*x + 4*a)^2 + 2*cos(4*b*x +
 4*a) + 1)^(1/4)), x) - sqrt(c)*sin(1/2*arctan2(sin(4*b*x + 4*a), -cos(4*b*x + 4*a) - 1)))/((cos(4*b*x + 4*a)^
2 + sin(4*b*x + 4*a)^2 + 2*cos(4*b*x + 4*a) + 1)^(1/4)*b)

________________________________________________________________________________________

mupad [B]  time = 3.68, size = 87, normalized size = 2.64 \[ -\frac {\sin \left (2\,a+2\,b\,x\right )\,\sqrt {\frac {c\,\left (\cos \left (2\,a+2\,b\,x\right )-\cos \left (6\,a+6\,b\,x\right )\right )}{3\,\cos \left (2\,a+2\,b\,x\right )+2\,\cos \left (4\,a+4\,b\,x\right )+\cos \left (6\,a+6\,b\,x\right )+2}}}{b\,\left (\cos \left (2\,a+2\,b\,x\right )-1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*tan(a + b*x)*tan(2*a + 2*b*x))^(1/2)/cos(2*a + 2*b*x),x)

[Out]

-(sin(2*a + 2*b*x)*((c*(cos(2*a + 2*b*x) - cos(6*a + 6*b*x)))/(3*cos(2*a + 2*b*x) + 2*cos(4*a + 4*b*x) + cos(6
*a + 6*b*x) + 2))^(1/2))/(b*(cos(2*a + 2*b*x) - 1))

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(2*b*x+2*a)*(c*tan(b*x+a)*tan(2*b*x+2*a))**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________