$\begin{array}{l} Z = x^2 + y^2 + xy + x - y\\ \Rightarrow \begin{cases}Z_x' = 2x + y + 1 =0\\Z_y' = 2x + x -1 = 0\end{cases}\,\,\Leftrightarrow \begin{cases}x = -1\\y = 1 \end{cases}\\ \Rightarrow \text{M(-1;1) là tọa độ điểm dừng}\\ Đặt \begin{cases}A = Z_{xx}'' = 2\\B = Z_{xy}'' = 1\\C = Z_{yy}''=2 \end{cases}\\ \text{Ta được:}\\ \begin{cases}B^2 - AC = 1^2 - 2.2 = -3 < 0\\A = 2 > 0 \end{cases}\\ \Rightarrow \text{Hàm số đạt cực tiểu tại M(-1;1)}\\ \Rightarrow minZ = Z(-1;1) = -1 \end{array}$