Find the critical points of the function \[ z=f(x,y)=x^{2}+y^{2}-2x+4y \]
881
Since both partial derivatives exist for all \(x\) and \(y\), the critical points of \(f\) satisfy the system of equations \[ \left\{\begin{array}{l} 2x-2=0\\[3pt] 2y+4=0 \end{array}\right. \]
Solving the system simultaneously, we find that the only critical point is \( (1,-2) \).