Optimal. Leaf size=39 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {3} \cos (x) \left (1+\sin ^2(x)\right )}{2 \sqrt {1-\sin ^6(x)}}\right )}{2 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 50, normalized size of antiderivative = 1.28, number of steps
used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {3295, 2021,
1918, 212} \begin {gather*} \frac {\tanh ^{-1}\left (\frac {\cos (x) \left (6-3 \cos ^2(x)\right )}{2 \sqrt {3} \sqrt {\cos ^6(x)-3 \cos ^4(x)+3 \cos ^2(x)}}\right )}{2 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 1918
Rule 2021
Rule 3295
Rubi steps
\begin {align*} \int \frac {\sin (x)}{\sqrt {1-\sin ^6(x)}} \, dx &=-\text {Subst}\left (\int \frac {1}{\sqrt {1-\left (1-x^2\right )^3}} \, dx,x,\cos (x)\right )\\ &=-\text {Subst}\left (\int \frac {1}{\sqrt {3 x^2-3 x^4+x^6}} \, dx,x,\cos (x)\right )\\ &=\text {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {\cos (x) \left (6-3 \cos ^2(x)\right )}{\sqrt {3 \cos ^2(x)-3 \cos ^4(x)+\cos ^6(x)}}\right )\\ &=\frac {\tanh ^{-1}\left (\frac {\cos (x) \left (6-3 \cos ^2(x)\right )}{2 \sqrt {3} \sqrt {3 \cos ^2(x)-3 \cos ^4(x)+\cos ^6(x)}}\right )}{2 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 65, normalized size = 1.67 \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {\frac {3}{2}} (-3+\cos (2 x))}{\sqrt {15-8 \cos (2 x)+\cos (4 x)}}\right ) \cos (x) \sqrt {15-8 \cos (2 x)+\cos (4 x)}}{4 \sqrt {6-6 \sin ^6(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(66\) vs.
\(2(29)=58\).
time = 0.26, size = 67, normalized size = 1.72
method | result | size |
default | \(-\frac {\cos \left (x \right ) \sqrt {\cos ^{4}\left (x \right )-3 \left (\cos ^{2}\left (x \right )\right )+3}\, \sqrt {3}\, \arctanh \left (\frac {\left (\cos ^{2}\left (x \right )-2\right ) \sqrt {3}}{2 \sqrt {\cos ^{4}\left (x \right )-3 \left (\cos ^{2}\left (x \right )\right )+3}}\right )}{6 \sqrt {3 \left (\cos ^{2}\left (x \right )\right )-3 \left (\cos ^{4}\left (x \right )\right )+\cos ^{6}\left (x \right )}}\) | \(67\) |
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 [B] Leaf count of result is larger than twice the leaf count of optimal. 63 vs.
\(2 (29) = 58\).
time = 0.48, size = 63, normalized size = 1.62 \begin {gather*} \frac {1}{12} \, \sqrt {3} \log \left (\frac {7 \, \cos \left (x\right )^{5} - 24 \, \cos \left (x\right )^{3} - 4 \, \sqrt {\cos \left (x\right )^{6} - 3 \, \cos \left (x\right )^{4} + 3 \, \cos \left (x\right )^{2}} {\left (\sqrt {3} \cos \left (x\right )^{2} - 2 \, \sqrt {3}\right )} + 24 \, \cos \left (x\right )}{\cos \left (x\right )^{5}}\right ) \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 [B] Leaf count of result is larger than twice the leaf count of optimal. 67 vs.
\(2 (29) = 58\).
time = 0.51, size = 67, normalized size = 1.72 \begin {gather*} -\frac {\sqrt {3} \log \left (\cos \left (x\right )^{2} + \sqrt {3} - \sqrt {\cos \left (x\right )^{4} - 3 \, \cos \left (x\right )^{2} + 3}\right ) - \sqrt {3} \log \left (-\cos \left (x\right )^{2} + \sqrt {3} + \sqrt {\cos \left (x\right )^{4} - 3 \, \cos \left (x\right )^{2} + 3}\right )}{6 \, \mathrm {sgn}\left (\cos \left (x\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\sin \left (x\right )}{\sqrt {1-{\sin \left (x\right )}^6}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________