Para hallar los extremos hay que resolver la ecuación
$$\frac{d}{d x} f{\left(x \right)} = 0$$
(la derivada es igual a cero),
y las raíces de esta ecuación serán los extremos de esta función:
$$\frac{d}{d x} f{\left(x \right)} = $$
primera derivada$$\frac{\frac{\sin^{2}{\left(x \right)}}{2} - \frac{\cos^{2}{\left(x \right)}}{2}}{\left|{\sin{\left(x \right)}}\right|} + \frac{\cos^{2}{\left(x \right)} \operatorname{sign}{\left(\sin{\left(x \right)} \right)}}{2 \sin{\left(x \right)}} = 0$$
Resolvermos esta ecuaciónRaíces de esta ecuación
$$x_{1} = 40.8407044966673$$
$$x_{2} = 15.707963267949$$
$$x_{3} = -285.884931476671$$
$$x_{4} = 97.3893722612836$$
$$x_{5} = -56.5486677646163$$
$$x_{6} = 53.4070751110265$$
$$x_{7} = 87.9645943005142$$
$$x_{8} = -97.3893722612836$$
$$x_{9} = 62.8318530717959$$
$$x_{10} = 43.9822971502571$$
$$x_{11} = -21.9911485751286$$
$$x_{12} = 65.9734457253857$$
$$x_{13} = -50.2654824574367$$
$$x_{14} = -94.2477796076938$$
$$x_{15} = -75.398223686155$$
$$x_{16} = 12.5663706143592$$
$$x_{17} = -34.5575191894877$$
$$x_{18} = 21.9911485751286$$
$$x_{19} = -9.42477796076935$$
$$x_{20} = -47.1238898038469$$
$$x_{21} = -43.9822971502571$$
$$x_{22} = 28.2743338823081$$
$$x_{23} = -6.28318530717959$$
$$x_{24} = -25.1327412287183$$
$$x_{25} = -3.14159265358979$$
$$x_{26} = 650.309679293087$$
$$x_{27} = 59.6902604182061$$
$$x_{28} = -65.9734457253857$$
$$x_{29} = 72.2566310325652$$
$$x_{30} = -59.6902604182061$$
$$x_{31} = 31.4159265358979$$
$$x_{32} = -427.256600888212$$
$$x_{33} = 34.5575191894877$$
$$x_{34} = 94.2477796076938$$
$$x_{35} = -12.5663706143592$$
$$x_{36} = -53.4070751110265$$
$$x_{37} = 81.6814089933346$$
$$x_{38} = -91.106186954104$$
$$x_{39} = -100.530964914873$$
$$x_{40} = -31.4159265358979$$
$$x_{41} = 78.5398163397448$$
$$x_{42} = 84.8230016469244$$
$$x_{43} = 100.530964914873$$
$$x_{44} = -69.1150383789755$$
$$x_{45} = 9.42477796076938$$
$$x_{46} = -28.2743338823081$$
$$x_{47} = -78.5398163397448$$
$$x_{48} = -87.9645943005142$$
$$x_{49} = -81.6814089933346$$
$$x_{50} = 56.5486677646163$$
$$x_{51} = -15.707963267949$$
$$x_{52} = 37.6991118430775$$
$$x_{53} = -37.6991118430775$$
$$x_{54} = 18.8495559215388$$
$$x_{55} = 50.2654824574367$$
$$x_{56} = -72.2566310325652$$
$$x_{57} = 75.398223686155$$
$$x_{58} = 6.28318530717959$$
Signos de extremos en los puntos:
(40.840704496667314, 0)
(15.707963267948962, 1)
(-285.88493147667117, 0)
(97.3893722612836, 0)
(-56.548667764616276, 0)
(53.40707511102649, 0)
(87.96459430051421, 1)
(-97.3893722612836, 1)
(62.83185307179586, 1)
(43.982297150257104, 1)
(-21.991148575128552, 0)
(65.97344572538566, 0)
(-50.26548245743669, 0)
(-94.2477796076938, 1)
(-75.39822368615503, 5.55111512312578e-17)
(12.566370614359196, 0)
(-34.55751918948773, 1)
(21.991148575128552, 1)
(-9.424777960769353, 0)
(-47.1238898038469, 1)
(-43.982297150257104, 0)
(28.274333882308138, 1)
(-6.283185307179588, 1)
(-25.132741228718345, 0)
(-3.141592653589793, 0)
(650.3096792930872, 0)
(59.69026041820606, 1)
(-65.97344572538566, 1)
(72.25663103256524, 1)
(-59.69026041820607, 1)
(31.41592653589793, 1)
(-427.2566008882119, 1)
(34.557519189487735, 0)
(94.2477796076938, 0)
(-12.566370614359172, 0)
(-53.40707511102648, 0)
(81.68140899333463, 0)
(-91.106186954104, 1)
(-100.53096491487338, 0)
(-31.415926535897928, 0)
(78.53981633974483, 0)
(84.82300164692441, 1)
(100.53096491487338, 1)
(-69.11503837897546, 1)
(9.42477796076938, 1)
(-28.27433388230814, 1)
(-78.53981633974483, 1)
(-87.96459430051421, 0)
(-81.68140899333463, 1)
(56.54866776461628, 0)
(-15.707963267948966, 5.55111512312578e-17)
(37.69911184307751, 1)
(-37.69911184307752, 5.55111512312578e-17)
(18.84955592153876, 1)
(50.26548245743669, 1)
(-72.25663103256524, 0)
(75.39822368615503, 1)
(6.283185307179586, 1)
Intervalos de crecimiento y decrecimiento de la función:Hallemos los intervalos donde la función crece y decrece y también los puntos mínimos y máximos de la función, para lo cual miramos cómo se comporta la función en los extremos con desviación mínima del extremo:
Puntos mínimos de la función:
$$x_{1} = 40.8407044966673$$
$$x_{2} = -285.884931476671$$
$$x_{3} = 97.3893722612836$$
$$x_{4} = -56.5486677646163$$
$$x_{5} = 53.4070751110265$$
$$x_{6} = -21.9911485751286$$
$$x_{7} = 65.9734457253857$$
$$x_{8} = -50.2654824574367$$
$$x_{9} = -75.398223686155$$
$$x_{10} = 12.5663706143592$$
$$x_{11} = -9.42477796076935$$
$$x_{12} = -43.9822971502571$$
$$x_{13} = -25.1327412287183$$
$$x_{14} = -3.14159265358979$$
$$x_{15} = 650.309679293087$$
$$x_{16} = 34.5575191894877$$
$$x_{17} = 94.2477796076938$$
$$x_{18} = -12.5663706143592$$
$$x_{19} = -53.4070751110265$$
$$x_{20} = 81.6814089933346$$
$$x_{21} = -100.530964914873$$
$$x_{22} = -31.4159265358979$$
$$x_{23} = 78.5398163397448$$
$$x_{24} = -87.9645943005142$$
$$x_{25} = 56.5486677646163$$
$$x_{26} = -15.707963267949$$
$$x_{27} = -37.6991118430775$$
$$x_{28} = -72.2566310325652$$
Puntos máximos de la función:
$$x_{28} = 15.707963267949$$
$$x_{28} = 87.9645943005142$$
$$x_{28} = -97.3893722612836$$
$$x_{28} = 62.8318530717959$$
$$x_{28} = 43.9822971502571$$
$$x_{28} = -94.2477796076938$$
$$x_{28} = -34.5575191894877$$
$$x_{28} = 21.9911485751286$$
$$x_{28} = -47.1238898038469$$
$$x_{28} = 28.2743338823081$$
$$x_{28} = -6.28318530717959$$
$$x_{28} = 59.6902604182061$$
$$x_{28} = -65.9734457253857$$
$$x_{28} = 72.2566310325652$$
$$x_{28} = -59.6902604182061$$
$$x_{28} = 31.4159265358979$$
$$x_{28} = -427.256600888212$$
$$x_{28} = -91.106186954104$$
$$x_{28} = 84.8230016469244$$
$$x_{28} = 100.530964914873$$
$$x_{28} = -69.1150383789755$$
$$x_{28} = 9.42477796076938$$
$$x_{28} = -28.2743338823081$$
$$x_{28} = -78.5398163397448$$
$$x_{28} = -81.6814089933346$$
$$x_{28} = 37.6991118430775$$
$$x_{28} = 18.8495559215388$$
$$x_{28} = 50.2654824574367$$
$$x_{28} = 75.398223686155$$
$$x_{28} = 6.28318530717959$$
Decrece en los intervalos
$$\left[650.309679293087, \infty\right)$$
Crece en los intervalos
$$\left(-\infty, -285.884931476671\right]$$