Optimal. Leaf size=31 \[ \frac {4}{5} \sec (x) \sqrt {\sin (2 x)}+\frac {1}{5} \sec ^3(x) \sqrt {\sin (2 x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {4384, 4376}
\begin {gather*} \frac {1}{5} \sqrt {\sin (2 x)} \sec ^3(x)+\frac {4}{5} \sqrt {\sin (2 x)} \sec (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4376
Rule 4384
Rubi steps
\begin {align*} \int \frac {\sec ^3(x)}{\sqrt {\sin (2 x)}} \, dx &=\frac {1}{5} \sec ^3(x) \sqrt {\sin (2 x)}+\frac {4}{5} \int \frac {\sec (x)}{\sqrt {\sin (2 x)}} \, dx\\ &=\frac {4}{5} \sec (x) \sqrt {\sin (2 x)}+\frac {1}{5} \sec ^3(x) \sqrt {\sin (2 x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 20, normalized size = 0.65 \begin {gather*} \frac {1}{5} \sec (x) \left (4+\sec ^2(x)\right ) \sqrt {\sin (2 x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 0.12, size = 286, normalized size = 9.23
method | result | size |
default | \(\frac {\sqrt {-\frac {\tan \left (\frac {x}{2}\right )}{\tan ^{2}\left (\frac {x}{2}\right )-1}}\, \left (\tan ^{2}\left (\frac {x}{2}\right )-1\right ) \left (5 \sqrt {1+\tan \left (\frac {x}{2}\right )}\, \sqrt {-2 \tan \left (\frac {x}{2}\right )+2}\, \sqrt {-\tan \left (\frac {x}{2}\right )}\, \EllipticF \left (\sqrt {1+\tan \left (\frac {x}{2}\right )}, \frac {\sqrt {2}}{2}\right ) \left (\tan ^{6}\left (\frac {x}{2}\right )\right )+15 \sqrt {1+\tan \left (\frac {x}{2}\right )}\, \sqrt {-2 \tan \left (\frac {x}{2}\right )+2}\, \sqrt {-\tan \left (\frac {x}{2}\right )}\, \EllipticF \left (\sqrt {1+\tan \left (\frac {x}{2}\right )}, \frac {\sqrt {2}}{2}\right ) \left (\tan ^{4}\left (\frac {x}{2}\right )\right )-14 \left (\tan ^{7}\left (\frac {x}{2}\right )\right )+15 \sqrt {1+\tan \left (\frac {x}{2}\right )}\, \sqrt {-2 \tan \left (\frac {x}{2}\right )+2}\, \sqrt {-\tan \left (\frac {x}{2}\right )}\, \EllipticF \left (\sqrt {1+\tan \left (\frac {x}{2}\right )}, \frac {\sqrt {2}}{2}\right ) \left (\tan ^{2}\left (\frac {x}{2}\right )\right )+2 \left (\tan ^{5}\left (\frac {x}{2}\right )\right )+5 \sqrt {1+\tan \left (\frac {x}{2}\right )}\, \sqrt {-2 \tan \left (\frac {x}{2}\right )+2}\, \sqrt {-\tan \left (\frac {x}{2}\right )}\, \EllipticF \left (\sqrt {1+\tan \left (\frac {x}{2}\right )}, \frac {\sqrt {2}}{2}\right )-2 \left (\tan ^{3}\left (\frac {x}{2}\right )\right )+14 \tan \left (\frac {x}{2}\right )\right )}{12 \sqrt {\tan \left (\frac {x}{2}\right ) \left (\tan ^{2}\left (\frac {x}{2}\right )-1\right )}\, \left (1+\tan ^{2}\left (\frac {x}{2}\right )\right )^{3} \sqrt {\tan ^{3}\left (\frac {x}{2}\right )-\tan \left (\frac {x}{2}\right )}}\) | \(286\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.07, size = 32, normalized size = 1.03 \begin {gather*} \frac {4 \, \cos \left (x\right )^{3} + \sqrt {2} {\left (4 \, \cos \left (x\right )^{2} + 1\right )} \sqrt {\cos \left (x\right ) \sin \left (x\right )}}{5 \, \cos \left (x\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.39, size = 20, normalized size = 0.65 \begin {gather*} \frac {\sqrt {\sin \left (2\,x\right )}\,\left (2\,\cos \left (2\,x\right )+3\right )}{5\,{\cos \left (x\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________