\frac{\partial P}{\partial y}=\frac{\partial Q}{\partial x}.