Optimal. Leaf size=25 \[ \frac {2}{7} (\sec (x)+1)^{7/2}-\frac {4}{5} (\sec (x)+1)^{5/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {4373, 1570, 1469, 627, 43} \[ \frac {2}{7} (\sec (x)+1)^{7/2}-\frac {4}{5} (\sec (x)+1)^{5/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 627
Rule 1469
Rule 1570
Rule 4373
Rubi steps
\begin {align*} \int \sec (x) \sqrt {1+\sec (x)} \tan ^3(x) \, dx &=-\operatorname {Subst}\left (\int \frac {\sqrt {1+\frac {1}{x}} \left (1-x^2\right )}{x^4} \, dx,x,\cos (x)\right )\\ &=-\operatorname {Subst}\left (\int \frac {\left (-1+\frac {1}{x^2}\right ) \sqrt {1+\frac {1}{x}}}{x^2} \, dx,x,\cos (x)\right )\\ &=\operatorname {Subst}\left (\int \sqrt {1+x} \left (-1+x^2\right ) \, dx,x,\sec (x)\right )\\ &=\operatorname {Subst}\left (\int (-1+x) (1+x)^{3/2} \, dx,x,\sec (x)\right )\\ &=\operatorname {Subst}\left (\int \left (-2 (1+x)^{3/2}+(1+x)^{5/2}\right ) \, dx,x,\sec (x)\right )\\ &=-\frac {4}{5} (1+\sec (x))^{5/2}+\frac {2}{7} (1+\sec (x))^{7/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.19, size = 30, normalized size = 1.20 \[ -\frac {8}{35} \cos ^4\left (\frac {x}{2}\right ) (9 \cos (x)-5) \sec ^3(x) \sqrt {\sec (x)+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.87, size = 35, normalized size = 1.40 \[ -\frac {2 \, {\left (9 \, \cos \relax (x)^{3} + 13 \, \cos \relax (x)^{2} - \cos \relax (x) - 5\right )} \sqrt {\frac {\cos \relax (x) + 1}{\cos \relax (x)}}}{35 \, \cos \relax (x)^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.17, size = 128, normalized size = 5.12 \[ -\frac {2 \, {\left (35 \, {\left (\sqrt {\cos \relax (x)^{2} + \cos \relax (x)} - \cos \relax (x)\right )}^{6} - 35 \, {\left (\sqrt {\cos \relax (x)^{2} + \cos \relax (x)} - \cos \relax (x)\right )}^{5} - 35 \, {\left (\sqrt {\cos \relax (x)^{2} + \cos \relax (x)} - \cos \relax (x)\right )}^{4} + 105 \, {\left (\sqrt {\cos \relax (x)^{2} + \cos \relax (x)} - \cos \relax (x)\right )}^{3} - 91 \, {\left (\sqrt {\cos \relax (x)^{2} + \cos \relax (x)} - \cos \relax (x)\right )}^{2} + 35 \, \sqrt {\cos \relax (x)^{2} + \cos \relax (x)} - 35 \, \cos \relax (x) - 5\right )} \mathrm {sgn}\left (\cos \relax (x)\right )}{35 \, {\left (\sqrt {\cos \relax (x)^{2} + \cos \relax (x)} - \cos \relax (x)\right )}^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.17, size = 34, normalized size = 1.36 \[ -\frac {2 \left (9 \cos \relax (x )-5\right ) \sqrt {\frac {1+\cos \relax (x )}{\cos \relax (x )}}\, \left (\sin ^{4}\relax (x )\right )}{35 \left (-1+\cos \relax (x )\right )^{2} \cos \relax (x )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 21, normalized size = 0.84 \[ \frac {2}{7} \, {\left (\frac {1}{\cos \relax (x)} + 1\right )}^{\frac {7}{2}} - \frac {4}{5} \, {\left (\frac {1}{\cos \relax (x)} + 1\right )}^{\frac {5}{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.33, size = 24, normalized size = 0.96 \[ -\frac {2\,{\left (\cos \relax (x)+1\right )}^{5/2}\,\sqrt {\frac {1}{\cos \relax (x)}}\,\left (9\,\cos \relax (x)-5\right )}{35\,{\cos \relax (x)}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {\sec {\relax (x )} + 1} \tan ^{3}{\relax (x )} \sec {\relax (x )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________