Optimal. Leaf size=26 \[ \frac {3}{8} \tanh ^{-1}(\sin (x))+\frac {1}{4} \tan (x) \sec ^3(x)+\frac {3}{8} \tan (x) \sec (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3768, 3770} \[ \frac {3}{8} \tanh ^{-1}(\sin (x))+\frac {1}{4} \tan (x) \sec ^3(x)+\frac {3}{8} \tan (x) \sec (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3768
Rule 3770
Rubi steps
\begin {align*} \int \sec ^5(x) \, dx &=\frac {1}{4} \sec ^3(x) \tan (x)+\frac {3}{4} \int \sec ^3(x) \, dx\\ &=\frac {3}{8} \sec (x) \tan (x)+\frac {1}{4} \sec ^3(x) \tan (x)+\frac {3}{8} \int \sec (x) \, dx\\ &=\frac {3}{8} \tanh ^{-1}(\sin (x))+\frac {3}{8} \sec (x) \tan (x)+\frac {1}{4} \sec ^3(x) \tan (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.12, size = 58, normalized size = 2.23 \[ \frac {1}{16} \left (\frac {1}{2} (11 \sin (x)+3 \sin (3 x)) \sec ^4(x)-6 \log \left (\cos \left (\frac {x}{2}\right )-\sin \left (\frac {x}{2}\right )\right )+6 \log \left (\sin \left (\frac {x}{2}\right )+\cos \left (\frac {x}{2}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.46, size = 43, normalized size = 1.65 \[ \frac {3 \, \cos \relax (x)^{4} \log \left (\sin \relax (x) + 1\right ) - 3 \, \cos \relax (x)^{4} \log \left (-\sin \relax (x) + 1\right ) + 2 \, {\left (3 \, \cos \relax (x)^{2} + 2\right )} \sin \relax (x)}{16 \, \cos \relax (x)^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.90, size = 38, normalized size = 1.46 \[ -\frac {3 \, \sin \relax (x)^{3} - 5 \, \sin \relax (x)}{8 \, {\left (\sin \relax (x)^{2} - 1\right )}^{2}} + \frac {3}{16} \, \log \left (\sin \relax (x) + 1\right ) - \frac {3}{16} \, \log \left (-\sin \relax (x) + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 25, normalized size = 0.96 \[ \frac {3 \ln \left (\sec \relax (x )+\tan \relax (x )\right )}{8}-\left (-\frac {\left (\sec ^{3}\relax (x )\right )}{4}-\frac {3 \sec \relax (x )}{8}\right ) \tan \relax (x ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.65, size = 42, normalized size = 1.62 \[ -\frac {3 \, \sin \relax (x)^{3} - 5 \, \sin \relax (x)}{8 \, {\left (\sin \relax (x)^{4} - 2 \, \sin \relax (x)^{2} + 1\right )}} + \frac {3}{16} \, \log \left (\sin \relax (x) + 1\right ) - \frac {3}{16} \, \log \left (\sin \relax (x) - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 29, normalized size = 1.12 \[ \frac {3\,\ln \left (\frac {\sin \relax (x)+1}{\cos \relax (x)}\right )}{8}+\sin \relax (x)\,\left (\frac {3}{8\,{\cos \relax (x)}^2}+\frac {1}{4\,{\cos \relax (x)}^4}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 46, normalized size = 1.77 \[ - \frac {3 \sin ^{3}{\relax (x )} - 5 \sin {\relax (x )}}{8 \sin ^{4}{\relax (x )} - 16 \sin ^{2}{\relax (x )} + 8} - \frac {3 \log {\left (\sin {\relax (x )} - 1 \right )}}{16} + \frac {3 \log {\left (\sin {\relax (x )} + 1 \right )}}{16} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________