0
$\begingroup$

I want calculate the maximum and minimum of the following function \begin{equation} f(x)=\Biggl\{ \begin{array}{c} \cos x \ \ \ \ \ x\in(0,\pi] \\ \sin x \ \ \ x\in[-\pi,0] \end{array} \end{equation} The points $x=-\pi/2$, $x=\pi$ are absolute minimum. Instead, the point $x=-\pi$ is a relative maximum. My question is: what happens in $ x = 0 $? It is not an absolute maximum. It can be a relative maximum?

Thank you very much.

  • 0
    -1 (as usual) for Wikipedia (the full statement there is poorly written).2012-12-13

1 Answers 1

0

No, you can draw pictures to see this, or just note that when $\pi>x>0$, $cos x>0$, when $-\pi, $sin x<0$, and $f(0)=0.$