I have $f(x,y)=x^2-y^2$ and need to find absolute values in the region defined by $x^2+y^2 \le 1$
I have a solution that my teacher gave me, where $r(t)= (\cos t, \sin t)$ with $0 \le t \le 2\pi$
$$f (r (t))= g (t)=\cos^2 (t)-\sin^2 (t)$$
And its derivative: $$g'(t)=-4 \cos (t) \sin (t)$$
Trying to find critical points:
$$-4 \cos(t) \sin (t) = 0$$ Then we get that cosine will be $0$ or sine will be $0$.
If $\cos (t)=0 $ then $t=\pi/2$ or $t=3\pi/2$ . Then points will be $(0;1)$ and $(0;-1)$
If $\sin (t)=0$ then $t=0$ or $t=2\pi$ but those are not within the region (why??), or $t=\pi$ and point is $(-1;0)$
I don't understand how exactly he got those $3$ points. Also, why he says $t=0$ and $t=\pi$ are not in the region. Thanks.