Show that $f: \mathbb{R^3} \to \mathbb{R}$ $$f(x, y, z) = xy + z^2$$ is continuous.
One could just deduce that since it's a polynomial it's continuous, but how would I show this using $(\varepsilon, \delta)$? I'm not familiar on using the method with multivariate functions.
Note that if $(x,y,z),(x_0,y_0,z_0)\in\Bbb R^3$, then\begin{align}\bigl|f(x,y,z)-f(x_0,y_0,z_0)\bigr|&=|xy-x_0y_0+z^2-z_0^{\,2}|\\&\leqslant|xy-x_0y_0|+|z^2-z_0^{\,2}|\\&=\bigl|(x-x_0)y_0+(y-y_0)x_0+(x-x_0)(y-y_0)\bigr|+\\&\phantom{=}+\bigl|(z-z_0)(z+z_0)\bigr|\\&\leqslant|x-x_0||y_0|+|y-y_0||x_0|+|x-x_0||y-y_0|+\\&\phantom{=}+|z-z_0|\bigl(|z-z_0|+2|z_0|\bigr).\end{align}So, given $\varepsilon>0$, take $\delta>0$ such that:
Then, assuming that $|x-x_0|,|y-y_0|,|z-z_0|<\delta$, since $\bigl|f(x,y,z)-f(x_0,y_0,z_0)\bigr|$ is smaller than or equal to$$\overbrace{|x-x_0||y_0|}^{\phantom{\varepsilon/5}<\varepsilon/5}+\overbrace{|y-y_0||x_0|}^{\phantom{\varepsilon/5}<\varepsilon/5}+\overbrace{|x-x_0||y-y_0|}^{\phantom{\varepsilon/5}<\varepsilon/5}+\overbrace{|z-z_0|^2}^{\phantom{\varepsilon/5}<\varepsilon/5}+\overbrace{2|z-z_0||z_0|}^{\phantom{\varepsilon/5}<\varepsilon/5},$$you have$$\bigl|f(x,y,z)-f(x_0,y_0,z_0)\bigr|<\varepsilon.$$