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.53, antiderivative size = 208, normalized size of antiderivative = 1.00, 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 21
Rule 3792
Rule 3800
Rule 3803
Rule 3814
Rule 4001
Rule 4397
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.35, 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]
________________________________________________________________________________________
fricas [A] time = 1.05, size = 132, normalized size = 0.63 \[ \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 )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
maple [A] time = 1.12, size = 105, normalized size = 0.50 \[ \frac {2 \sqrt {2}\, \left (2176 \left (\cos ^{8}\left (b x +a \right )\right )-4896 \left (\cos ^{6}\left (b x +a \right )\right )+4284 \left (\cos ^{4}\left (b x +a \right )\right )-1785 \left (\cos ^{2}\left (b x +a \right )\right )+315\right ) \cos \left (b x +a \right ) \left (\frac {c \left (\sin ^{2}\left (b x +a \right )\right )}{2 \left (\cos ^{2}\left (b x +a \right )\right )-1}\right )^{\frac {3}{2}}}{315 b \left (2 \left (\cos ^{2}\left (b x +a \right )\right )-1\right )^{3} \sin \left (b x +a \right )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [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]
[Out]
________________________________________________________________________________________
mupad [B] time = 10.18, size = 594, normalized size = 2.86 \[ \frac {\left (\frac {c\,16{}\mathrm {i}}{9\,b}+\frac {c\,{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,16{}\mathrm {i}}{9\,b}\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 )}}}{\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 )}^4}-\frac {\left (\frac {c\,40{}\mathrm {i}}{7\,b}+\frac {c\,{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,88{}\mathrm {i}}{63\,b}\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 )}}}{\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}+\frac {\left (\frac {c\,24{}\mathrm {i}}{5\,b}-\frac {c\,{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,176{}\mathrm {i}}{105\,b}\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 )}}}{\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 )}^2}+\frac {c\,{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,\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 )}}\,272{}\mathrm {i}}{315\,b\,\left ({\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}-1\right )}+\frac {c\,{\mathrm {e}}^{a\,2{}\mathrm {i}+b\,x\,2{}\mathrm {i}}\,\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 )}}\,136{}\mathrm {i}}{315\,b\,\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 )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________