Find extrema of $f(x,y)=x^2-xy+y^2$ from set $M=\{ [x,y] \in \mathbb{R}^2;|x|+|y|\le1\}$
I am solving this kind of problems for the first time and I am not sure what I am doing, what I have got is:
M is compact set(it is bounded and it is closed) and $f$ is continuous, therefore $f$ has maximum and minimum in set M
Firstly I tried to solve it for $Int(M)=\{[x,y] \in \mathbb{R}^2;|x|+|y|<1\}$ $$\nabla f(x,y)=(2x-y,2y-x)=0 \Leftrightarrow (x,y)=(0,0)$$ Which is first "suspicious" point for extreme, but then I got stuck with the the border of my set $B(M)=\{ [x,y] \in \mathbb{R}^2;|x|+|y|=1\}$. I suppose it is possible either without Lagrange multiplier( in somewhat elementary way) or with it, which we just learnt in class recently, and I don't know how to apply it here.

You can first see that $$ x^2 - xy + y^2 = (x-y/2)^2 + 3/4 y^2 $$ here it is obvious to see that the minimum is in $(0,0)$.
In general, it is convex function, so the global minimum is unique, and if a minimum is local then it is global. As you found a local minimum inside the domain, there is no need to look at the border.
Now if you did not see any of this, you have to define a path of the border, so for example: $$ x = t, y = 1-t, 0< t< 1 $$for the first border, and look for the minimum of the new 1 variable function (4 times, if you cut your border in 4 pieces).