Optimal. Leaf size=7 \[ -\tan ^{-1}(\cos (2 x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0391762, antiderivative size = 7, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {12, 1107, 617, 204} \[ -\tan ^{-1}(\cos (2 x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1107
Rule 617
Rule 204
Rubi steps
\begin{align*} \int \frac{\sin (2 x)}{\cos ^4(x)+\sin ^4(x)} \, dx &=\operatorname{Subst}\left (\int \frac{2 x}{1-2 x^2+2 x^4} \, dx,x,\sin (x)\right )\\ &=2 \operatorname{Subst}\left (\int \frac{x}{1-2 x^2+2 x^4} \, dx,x,\sin (x)\right )\\ &=\operatorname{Subst}\left (\int \frac{1}{1-2 x+2 x^2} \, dx,x,\sin ^2(x)\right )\\ &=\operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-2 \sin ^2(x)\right )\\ &=-\tan ^{-1}\left (1-2 \sin ^2(x)\right )\\ \end{align*}
Mathematica [A] time = 0.0310197, size = 7, normalized size = 1. \[ -\tan ^{-1}(\cos (2 x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.035, size = 12, normalized size = 1.7 \begin{align*} -\arctan \left ( 2\, \left ( \cos \left ( x \right ) \right ) ^{2}-1 \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.42329, size = 12, normalized size = 1.71 \begin{align*} \arctan \left (2 \, \sin \left (x\right )^{2} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.27802, size = 34, normalized size = 4.86 \begin{align*} -\arctan \left (2 \, \cos \left (x\right )^{2} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.07174, size = 12, normalized size = 1.71 \begin{align*} \arctan \left (2 \, \sin \left (x\right )^{2} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]