Optimal. Leaf size=49 \[ \frac {1}{8} \sqrt {4 \sin ^2(x)-5}-\frac {5}{8 \sqrt {4 \sin ^2(x)-5}}-\frac {1}{4 \left (4 \sin ^2(x)-5\right )^{3/2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {4356, 1247, 698} \[ \frac {1}{8} \sqrt {4 \sin ^2(x)-5}-\frac {5}{8 \sqrt {4 \sin ^2(x)-5}}-\frac {1}{4 \left (4 \sin ^2(x)-5\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 698
Rule 1247
Rule 4356
Rubi steps
\begin {align*} \int \frac {\cos (x) \cos (2 x) \sin (3 x)}{\left (-5+4 \sin ^2(x)\right )^{5/2}} \, dx &=\operatorname {Subst}\left (\int \frac {x \left (3-10 x^2+8 x^4\right )}{\left (-5+4 x^2\right )^{5/2}} \, dx,x,\sin (x)\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {3-10 x+8 x^2}{(-5+4 x)^{5/2}} \, dx,x,\sin ^2(x)\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (\frac {3}{(-5+4 x)^{5/2}}+\frac {5}{2 (-5+4 x)^{3/2}}+\frac {1}{2 \sqrt {-5+4 x}}\right ) \, dx,x,\sin ^2(x)\right )\\ &=-\frac {1}{4 \left (-5+4 \sin ^2(x)\right )^{3/2}}-\frac {5}{8 \sqrt {-5+4 \sin ^2(x)}}+\frac {1}{8} \sqrt {-5+4 \sin ^2(x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 28, normalized size = 0.57 \[ \frac {11 \cos (2 x)+\cos (4 x)+12}{4 \left (4 \sin ^2(x)-5\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos (x) \cos (2 x) \sin (3 x)}{\left (-5+4 \sin ^2(x)\right )^{5/2}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.46, size = 1, normalized size = 0.02 \[ 0 \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.64, size = 33, normalized size = 0.67 \[ \frac {1}{8} \, \sqrt {4 \, \sin \relax (x)^{2} - 5} - \frac {20 \, \sin \relax (x)^{2} - 23}{8 \, {\left (4 \, \sin \relax (x)^{2} - 5\right )}^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.14, size = 46, normalized size = 0.94
method | result | size |
derivativedivides | \(\frac {2 \left (\cos ^{4}\relax (x )\right )}{\left (-4 \left (\cos ^{2}\relax (x )\right )-1\right )^{\frac {3}{2}}}+\frac {7 \left (\cos ^{2}\relax (x )\right )}{2 \left (-4 \left (\cos ^{2}\relax (x )\right )-1\right )^{\frac {3}{2}}}+\frac {1}{2 \left (-4 \left (\cos ^{2}\relax (x )\right )-1\right )^{\frac {3}{2}}}\) | \(46\) |
default | \(\frac {2 \left (\cos ^{4}\relax (x )\right )}{\left (-4 \left (\cos ^{2}\relax (x )\right )-1\right )^{\frac {3}{2}}}+\frac {7 \left (\cos ^{2}\relax (x )\right )}{2 \left (-4 \left (\cos ^{2}\relax (x )\right )-1\right )^{\frac {3}{2}}}+\frac {1}{2 \left (-4 \left (\cos ^{2}\relax (x )\right )-1\right )^{\frac {3}{2}}}\) | \(46\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.53, size = 192, normalized size = 3.92 \[ -\frac {{\left (\cos \left (11 \, x\right ) + 14 \, \cos \left (9 \, x\right ) + 58 \, \cos \left (7 \, x\right ) + 94 \, \cos \left (5 \, x\right ) + 58 \, \cos \left (3 \, x\right ) + 15 \, \cos \relax (x)\right )} \cos \left (\frac {5}{2} \, \arctan \left (\sin \left (4 \, x\right ) + 3 \, \sin \left (2 \, x\right ), -\cos \left (4 \, x\right ) - 3 \, \cos \left (2 \, x\right ) - 1\right )\right ) - {\left (\sin \left (11 \, x\right ) + 14 \, \sin \left (9 \, x\right ) + 58 \, \sin \left (7 \, x\right ) + 94 \, \sin \left (5 \, x\right ) + 58 \, \sin \left (3 \, x\right ) + 13 \, \sin \relax (x)\right )} \sin \left (\frac {5}{2} \, \arctan \left (\sin \left (4 \, x\right ) + 3 \, \sin \left (2 \, x\right ), -\cos \left (4 \, x\right ) - 3 \, \cos \left (2 \, x\right ) - 1\right )\right )}{8 \, {\left (2 \, {\left (3 \, \cos \left (2 \, x\right ) + 1\right )} \cos \left (4 \, x\right ) + \cos \left (4 \, x\right )^{2} + 9 \, \cos \left (2 \, x\right )^{2} + \sin \left (4 \, x\right )^{2} + 6 \, \sin \left (4 \, x\right ) \sin \left (2 \, x\right ) + 9 \, \sin \left (2 \, x\right )^{2} + 6 \, \cos \left (2 \, x\right ) + 1\right )}^{\frac {5}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.63, size = 28, normalized size = 0.57 \[ \frac {2\,{\cos \left (2\,x\right )}^2+11\,\cos \left (2\,x\right )+11}{4\,{\left (-2\,\cos \left (2\,x\right )-3\right )}^{3/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________