Optimal. Leaf size=55 \[ \frac {\cos (x)}{10 \left (-2+7 \cos ^2(x)\right )^{5/2}}-\frac {\cos (x)}{15 \left (-2+7 \cos ^2(x)\right )^{3/2}}+\frac {\cos (x)}{15 \sqrt {-2+7 \cos ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4442, 198, 197}
\begin {gather*} \frac {\cos (x)}{15 \sqrt {7 \cos ^2(x)-2}}-\frac {\cos (x)}{15 \left (7 \cos ^2(x)-2\right )^{3/2}}+\frac {\cos (x)}{10 \left (7 \cos ^2(x)-2\right )^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 198
Rule 4442
Rubi steps
\begin {align*} \int \frac {\sin (x)}{\left (5 \cos ^2(x)-2 \sin ^2(x)\right )^{7/2}} \, dx &=-\text {Subst}\left (\int \frac {1}{\left (-2+7 x^2\right )^{7/2}} \, dx,x,\cos (x)\right )\\ &=\frac {\cos (x)}{10 \left (-2+7 \cos ^2(x)\right )^{5/2}}+\frac {2}{5} \text {Subst}\left (\int \frac {1}{\left (-2+7 x^2\right )^{5/2}} \, dx,x,\cos (x)\right )\\ &=\frac {\cos (x)}{10 \left (-2+7 \cos ^2(x)\right )^{5/2}}-\frac {\cos (x)}{15 \left (-2+7 \cos ^2(x)\right )^{3/2}}-\frac {2}{15} \text {Subst}\left (\int \frac {1}{\left (-2+7 x^2\right )^{3/2}} \, dx,x,\cos (x)\right )\\ &=\frac {\cos (x)}{10 \left (-2+7 \cos ^2(x)\right )^{5/2}}-\frac {\cos (x)}{15 \left (-2+7 \cos ^2(x)\right )^{3/2}}+\frac {\cos (x)}{15 \sqrt {-2+7 \cos ^2(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 37, normalized size = 0.67 \begin {gather*} \frac {\cos (x) (67+56 \cos (2 x)+49 \cos (4 x))}{15 \sqrt {2} (3+7 \cos (2 x))^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 44, normalized size = 0.80
method | result | size |
derivativedivides | \(\frac {\cos \left (x \right )}{10 \left (-2+7 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {5}{2}}}-\frac {\cos \left (x \right )}{15 \left (-2+7 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {3}{2}}}+\frac {\cos \left (x \right )}{15 \sqrt {-2+7 \left (\cos ^{2}\left (x \right )\right )}}\) | \(44\) |
default | \(\frac {\cos \left (x \right )}{10 \left (-2+7 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {5}{2}}}-\frac {\cos \left (x \right )}{15 \left (-2+7 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {3}{2}}}+\frac {\cos \left (x \right )}{15 \sqrt {-2+7 \left (\cos ^{2}\left (x \right )\right )}}\) | \(44\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.31, size = 43, normalized size = 0.78 \begin {gather*} \frac {\cos \left (x\right )}{15 \, \sqrt {7 \, \cos \left (x\right )^{2} - 2}} - \frac {\cos \left (x\right )}{15 \, {\left (7 \, \cos \left (x\right )^{2} - 2\right )}^{\frac {3}{2}}} + \frac {\cos \left (x\right )}{10 \, {\left (7 \, \cos \left (x\right )^{2} - 2\right )}^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.35, size = 51, normalized size = 0.93 \begin {gather*} \frac {{\left (98 \, \cos \left (x\right )^{5} - 70 \, \cos \left (x\right )^{3} + 15 \, \cos \left (x\right )\right )} \sqrt {7 \, \cos \left (x\right )^{2} - 2}}{30 \, {\left (343 \, \cos \left (x\right )^{6} - 294 \, \cos \left (x\right )^{4} + 84 \, \cos \left (x\right )^{2} - 8\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.91, size = 30, normalized size = 0.55 \begin {gather*} \frac {{\left (14 \, {\left (7 \, \cos \left (x\right )^{2} - 5\right )} \cos \left (x\right )^{2} + 15\right )} \cos \left (x\right )}{30 \, {\left (7 \, \cos \left (x\right )^{2} - 2\right )}^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.66, size = 28, normalized size = 0.51 \begin {gather*} \frac {\cos \left (x\right )\,\left (98\,{\cos \left (x\right )}^4-70\,{\cos \left (x\right )}^2+15\right )}{30\,{\left (7\,{\cos \left (x\right )}^2-2\right )}^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________