Optimal. Leaf size=15 \[ -\frac{2}{3} \tanh ^{-1}\left (\sqrt{\sec ^3(x)+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0309224, antiderivative size = 15, normalized size of antiderivative = 1., 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 4139
Rule 266
Rule 63
Rule 207
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.013665, size = 15, normalized size = 1. \[ -\frac{2}{3} \tanh ^{-1}\left (\sqrt{\sec ^3(x)+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.043, size = 12, normalized size = 0.8 \begin{align*} -{\frac{2}{3}{\it Artanh} \left ( \sqrt{1+ \left ( \sec \left ( x \right ) \right ) ^{3}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.961202, size = 36, normalized size = 2.4 \begin{align*} -\frac{1}{3} \, \log \left (\sqrt{\frac{1}{\cos \left (x\right )^{3}} + 1} + 1\right ) + \frac{1}{3} \, \log \left (\sqrt{\frac{1}{\cos \left (x\right )^{3}} + 1} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 3.13441, size = 92, normalized size = 6.13 \begin{align*} \frac{1}{3} \, \log \left (2 \, \sqrt{\frac{\cos \left (x\right )^{3} + 1}{\cos \left (x\right )^{3}}} \cos \left (x\right )^{3} - 2 \, \cos \left (x\right )^{3} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan{\left (x \right )}}{\sqrt{\left (\sec{\left (x \right )} + 1\right ) \left (\sec ^{2}{\left (x \right )} - \sec{\left (x \right )} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.23377, size = 38, normalized size = 2.53 \begin{align*} -\frac{1}{3} \, \log \left (\sqrt{\frac{1}{\cos \left (x\right )^{3}} + 1} + 1\right ) + \frac{1}{3} \, \log \left ({\left | \sqrt{\frac{1}{\cos \left (x\right )^{3}} + 1} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]