Optimal. Leaf size=11 \[ -\sin ^{-1}\left (\frac {\cos ^2(x)}{3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {12, 1121, 633,
222} \begin {gather*} -\sin ^{-1}\left (\frac {\cos ^2(x)}{3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 222
Rule 633
Rule 1121
Rubi steps
\begin {align*} \int \frac {\sin (2 x)}{\sqrt {9-\cos ^4(x)}} \, dx &=\text {Subst}\left (\int \frac {2 x}{\sqrt {8+2 x^2-x^4}} \, dx,x,\sin (x)\right )\\ &=2 \text {Subst}\left (\int \frac {x}{\sqrt {8+2 x^2-x^4}} \, dx,x,\sin (x)\right )\\ &=\text {Subst}\left (\int \frac {1}{\sqrt {8+2 x-x^2}} \, dx,x,\sin ^2(x)\right )\\ &=-\left (\frac {1}{6} \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{36}}} \, dx,x,2 \cos ^2(x)\right )\right )\\ &=-\sin ^{-1}\left (\frac {\cos ^2(x)}{3}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 11, normalized size = 1.00 \begin {gather*} -\sin ^{-1}\left (\frac {\cos ^2(x)}{3}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 10, normalized size = 0.91
method | result | size |
derivativedivides | \(-\arcsin \left (\frac {\left (\cos ^{2}\left (x \right )\right )}{3}\right )\) | \(10\) |
default | \(-\arcsin \left (\frac {\left (\cos ^{2}\left (x \right )\right )}{3}\right )\) | \(10\) |
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. 24 vs.
\(2 (9) = 18\).
time = 0.39, size = 24, normalized size = 2.18 \begin {gather*} \arctan \left (\frac {\sqrt {-\cos \left (x\right )^{4} + 9} \cos \left (x\right )^{2}}{\cos \left (x\right )^{4} - 9}\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 [A]
time = 0.01, size = 9, normalized size = 0.82 \begin {gather*} -\arcsin \left (\frac {\cos ^{2}x}{3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.43, size = 18, normalized size = 1.64 \begin {gather*} -\mathrm {atan}\left (\frac {{\cos \left (x\right )}^2}{\sqrt {9-{\cos \left (x\right )}^4}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________