3.675 \(\int \cos (x) \cos (\sin (x)) \cos (\sin (\sin (x))) \, dx\)

Optimal. Leaf size=4 \[ \sin (\sin (\sin (x))) \]

[Out]

sin(sin(sin(x)))

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4334, 2637} \[ \sin (\sin (\sin (x))) \]

Antiderivative was successfully verified.

[In]

Int[Cos[x]*Cos[Sin[x]]*Cos[Sin[Sin[x]]],x]

[Out]

Sin[Sin[Sin[x]]]

Rule 2637

Int[sin[Pi/2 + (c_.) + (d_.)*(x_)], x_Symbol] :> Simp[Sin[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rule 4334

Int[(u_)*(F_)[(c_.)*((a_.) + (b_.)*(x_))], x_Symbol] :> With[{d = FreeFactors[Sin[c*(a + b*x)], x]}, Dist[d/(b
*c), Subst[Int[SubstFor[1, Sin[c*(a + b*x)]/d, u, x], x], x, Sin[c*(a + b*x)]/d], x] /; FunctionOfQ[Sin[c*(a +
 b*x)]/d, u, x, True]] /; FreeQ[{a, b, c}, x] && (EqQ[F, Cos] || EqQ[F, cos])

Rubi steps

\begin {align*} \int \cos (x) \cos (\sin (x)) \cos (\sin (\sin (x))) \, dx &=\operatorname {Subst}(\int \cos (x) \cos (\sin (x)) \, dx,x,\sin (x))\\ &=\operatorname {Subst}(\int \cos (x) \, dx,x,\sin (\sin (x)))\\ &=\sin (\sin (\sin (x)))\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 8.96, size = 4, normalized size = 1.00 \[ \sin (\sin (\sin (x))) \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[x]*Cos[Sin[x]]*Cos[Sin[Sin[x]]],x]

[Out]

Sin[Sin[Sin[x]]]

________________________________________________________________________________________

fricas [B]  time = 0.67, size = 41, normalized size = 10.25 \[ \sin \left (\frac {2 \, \tan \left (\frac {\tan \left (\frac {1}{2} \, x\right )}{\tan \left (\frac {1}{2} \, x\right )^{2} + 1}\right )}{\tan \left (\frac {\tan \left (\frac {1}{2} \, x\right )}{\tan \left (\frac {1}{2} \, x\right )^{2} + 1}\right )^{2} + 1}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)*cos(sin(x))*cos(sin(sin(x))),x, algorithm="fricas")

[Out]

sin(2*tan(tan(1/2*x)/(tan(1/2*x)^2 + 1))/(tan(tan(1/2*x)/(tan(1/2*x)^2 + 1))^2 + 1))

________________________________________________________________________________________

giac [A]  time = 0.13, size = 4, normalized size = 1.00 \[ \sin \left (\sin \left (\sin \relax (x)\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)*cos(sin(x))*cos(sin(sin(x))),x, algorithm="giac")

[Out]

sin(sin(sin(x)))

________________________________________________________________________________________

maple [A]  time = 0.01, size = 5, normalized size = 1.25 \[ \sin \left (\sin \left (\sin \relax (x )\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(x)*cos(sin(x))*cos(sin(sin(x))),x)

[Out]

sin(sin(sin(x)))

________________________________________________________________________________________

maxima [A]  time = 0.32, size = 4, normalized size = 1.00 \[ \sin \left (\sin \left (\sin \relax (x)\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)*cos(sin(x))*cos(sin(sin(x))),x, algorithm="maxima")

[Out]

sin(sin(sin(x)))

________________________________________________________________________________________

mupad [B]  time = 3.00, size = 4, normalized size = 1.00 \[ \sin \left (\sin \left (\sin \relax (x)\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(sin(x))*cos(sin(sin(x)))*cos(x),x)

[Out]

sin(sin(sin(x)))

________________________________________________________________________________________

sympy [A]  time = 8.85, size = 5, normalized size = 1.25 \[ \sin {\left (\sin {\left (\sin {\relax (x )} \right )} \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)*cos(sin(x))*cos(sin(sin(x))),x)

[Out]

sin(sin(sin(x)))

________________________________________________________________________________________