Optimal. Leaf size=15 \[ -\frac {2}{3} \tanh ^{-1}\left (\sqrt {\sec ^3(x)+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {4139, 266, 63, 207} \[ -\frac {2}{3} \tanh ^{-1}\left (\sqrt {\sec ^3(x)+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 207
Rule 266
Rule 4139
Rubi steps
\begin {align*} \int \frac {\tan (x)}{\sqrt {1+\sec ^3(x)}} \, dx &=\operatorname {Subst}\left (\int \frac {1}{x \sqrt {1+x^3}} \, dx,x,\sec (x)\right )\\ &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{x \sqrt {1+x}} \, dx,x,\sec ^3(x)\right )\\ &=\frac {2}{3} \operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\sqrt {1+\sec ^3(x)}\right )\\ &=-\frac {2}{3} \tanh ^{-1}\left (\sqrt {1+\sec ^3(x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 15, normalized size = 1.00 \[ -\frac {2}{3} \tanh ^{-1}\left (\sqrt {\sec ^3(x)+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.50, size = 30, normalized size = 2.00 \[ \frac {1}{3} \, \log \left (2 \, \sqrt {\frac {\cos \relax (x)^{3} + 1}{\cos \relax (x)^{3}}} \cos \relax (x)^{3} - 2 \, \cos \relax (x)^{3} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.23, size = 28, normalized size = 1.87 \[ -\frac {1}{3} \, \log \left (\sqrt {\frac {1}{\cos \relax (x)^{3}} + 1} + 1\right ) + \frac {1}{3} \, \log \left ({\left | \sqrt {\frac {1}{\cos \relax (x)^{3}} + 1} - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 12, normalized size = 0.80 \[ -\frac {2 \arctanh \left (\sqrt {\sec ^{3}\relax (x )+1}\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.42, size = 27, normalized size = 1.80 \[ -\frac {1}{3} \, \log \left (\sqrt {\frac {1}{\cos \relax (x)^{3}} + 1} + 1\right ) + \frac {1}{3} \, \log \left (\sqrt {\frac {1}{\cos \relax (x)^{3}} + 1} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.07 \[ \int \frac {\mathrm {tan}\relax (x)}{\sqrt {\frac {1}{{\cos \relax (x)}^3}+1}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan {\relax (x )}}{\sqrt {\left (\sec {\relax (x )} + 1\right ) \left (\sec ^{2}{\relax (x )} - \sec {\relax (x )} + 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________