Optimal. Leaf size=208 \[ \frac{c^2 \tan (2 a+2 b x) \sec ^4(2 a+2 b x)}{9 b \sqrt{c \sec (2 a+2 b x)-c}}-\frac{17 c^2 \tan (2 a+2 b x) \sec ^3(2 a+2 b x)}{63 b \sqrt{c \sec (2 a+2 b x)-c}}+\frac{34 c^2 \tan (2 a+2 b x)}{45 b \sqrt{c \sec (2 a+2 b x)-c}}+\frac{34 \tan (2 a+2 b x) (c \sec (2 a+2 b x)-c)^{3/2}}{105 b}+\frac{68 c \tan (2 a+2 b x) \sqrt{c \sec (2 a+2 b x)-c}}{315 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.527679, antiderivative size = 208, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.226, Rules used = {4397, 3814, 21, 3803, 3800, 4001, 3792} \[ \frac{c^2 \tan (2 a+2 b x) \sec ^4(2 a+2 b x)}{9 b \sqrt{c \sec (2 a+2 b x)-c}}-\frac{17 c^2 \tan (2 a+2 b x) \sec ^3(2 a+2 b x)}{63 b \sqrt{c \sec (2 a+2 b x)-c}}+\frac{34 c^2 \tan (2 a+2 b x)}{45 b \sqrt{c \sec (2 a+2 b x)-c}}+\frac{34 \tan (2 a+2 b x) (c \sec (2 a+2 b x)-c)^{3/2}}{105 b}+\frac{68 c \tan (2 a+2 b x) \sqrt{c \sec (2 a+2 b x)-c}}{315 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4397
Rule 3814
Rule 21
Rule 3803
Rule 3800
Rule 4001
Rule 3792
Rubi steps
\begin{align*} \int \sec ^4(2 (a+b x)) (c \tan (a+b x) \tan (2 (a+b x)))^{3/2} \, dx &=\int \sec ^4(2 a+2 b x) (-c+c \sec (2 a+2 b x))^{3/2} \, dx\\ &=\frac{c^2 \sec ^4(2 a+2 b x) \tan (2 a+2 b x)}{9 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{1}{9} (2 c) \int \frac{\sec ^4(2 a+2 b x) \left (\frac{17 c}{2}-\frac{17}{2} c \sec (2 a+2 b x)\right )}{\sqrt{-c+c \sec (2 a+2 b x)}} \, dx\\ &=\frac{c^2 \sec ^4(2 a+2 b x) \tan (2 a+2 b x)}{9 b \sqrt{-c+c \sec (2 a+2 b x)}}-\frac{1}{9} (17 c) \int \sec ^4(2 a+2 b x) \sqrt{-c+c \sec (2 a+2 b x)} \, dx\\ &=-\frac{17 c^2 \sec ^3(2 a+2 b x) \tan (2 a+2 b x)}{63 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{c^2 \sec ^4(2 a+2 b x) \tan (2 a+2 b x)}{9 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{1}{21} (34 c) \int \sec ^3(2 a+2 b x) \sqrt{-c+c \sec (2 a+2 b x)} \, dx\\ &=-\frac{17 c^2 \sec ^3(2 a+2 b x) \tan (2 a+2 b x)}{63 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{c^2 \sec ^4(2 a+2 b x) \tan (2 a+2 b x)}{9 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{34 (-c+c \sec (2 a+2 b x))^{3/2} \tan (2 a+2 b x)}{105 b}+\frac{68}{105} \int \sec (2 a+2 b x) \sqrt{-c+c \sec (2 a+2 b x)} \left (\frac{3 c}{2}+c \sec (2 a+2 b x)\right ) \, dx\\ &=-\frac{17 c^2 \sec ^3(2 a+2 b x) \tan (2 a+2 b x)}{63 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{c^2 \sec ^4(2 a+2 b x) \tan (2 a+2 b x)}{9 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{68 c \sqrt{-c+c \sec (2 a+2 b x)} \tan (2 a+2 b x)}{315 b}+\frac{34 (-c+c \sec (2 a+2 b x))^{3/2} \tan (2 a+2 b x)}{105 b}+\frac{1}{45} (34 c) \int \sec (2 a+2 b x) \sqrt{-c+c \sec (2 a+2 b x)} \, dx\\ &=\frac{34 c^2 \tan (2 a+2 b x)}{45 b \sqrt{-c+c \sec (2 a+2 b x)}}-\frac{17 c^2 \sec ^3(2 a+2 b x) \tan (2 a+2 b x)}{63 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{c^2 \sec ^4(2 a+2 b x) \tan (2 a+2 b x)}{9 b \sqrt{-c+c \sec (2 a+2 b x)}}+\frac{68 c \sqrt{-c+c \sec (2 a+2 b x)} \tan (2 a+2 b x)}{315 b}+\frac{34 (-c+c \sec (2 a+2 b x))^{3/2} \tan (2 a+2 b x)}{105 b}\\ \end{align*}
Mathematica [A] time = 0.367165, size = 85, normalized size = 0.41 \[ \frac{\cot (a+b x) (c \tan (a+b x) \tan (2 (a+b x)))^{3/2} \left (188 \cot (a+b x) \cot (2 (a+b x))+35 \sec ^3(2 (a+b x))-50 \sec ^2(2 (a+b x))+52 \sec (2 (a+b x))-84\right )}{315 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.519, size = 105, normalized size = 0.5 \begin{align*}{\frac{2\,\sqrt{2} \left ( 2176\, \left ( \cos \left ( bx+a \right ) \right ) ^{8}-4896\, \left ( \cos \left ( bx+a \right ) \right ) ^{6}+4284\, \left ( \cos \left ( bx+a \right ) \right ) ^{4}-1785\, \left ( \cos \left ( bx+a \right ) \right ) ^{2}+315 \right ) \cos \left ( bx+a \right ) }{315\,b \left ( 2\, \left ( \cos \left ( bx+a \right ) \right ) ^{2}-1 \right ) ^{3} \left ( \sin \left ( bx+a \right ) \right ) ^{3}} \left ({\frac{c \left ( \sin \left ( bx+a \right ) \right ) ^{2}}{2\, \left ( \cos \left ( bx+a \right ) \right ) ^{2}-1}} \right ) ^{{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.06705, size = 348, normalized size = 1.67 \begin{align*} \frac{2 \, \sqrt{2}{\left (315 \, c \tan \left (b x + a\right )^{8} - 525 \, c \tan \left (b x + a\right )^{6} + 819 \, c \tan \left (b x + a\right )^{4} - 423 \, c \tan \left (b x + a\right )^{2} + 94 \, c\right )} \sqrt{-\frac{c \tan \left (b x + a\right )^{2}}{\tan \left (b x + a\right )^{2} - 1}}}{315 \,{\left (b \tan \left (b x + a\right )^{9} - 4 \, b \tan \left (b x + a\right )^{7} + 6 \, b \tan \left (b x + a\right )^{5} - 4 \, b \tan \left (b x + a\right )^{3} + b \tan \left (b x + a\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]