I'm trying to learn how to do delta-epsilon proofs of continuity from "Introduction to Topology" by Bert Mendelson. The problem I'm working on is this:
Define the function $f:R^2\rightarrow R$ by $f(x_1,x_2)=x_1+x_2$. Prove that $f$ is continuous, where the distance function on $R^2$ is either $d$ or $d'$.
And then d and d' have been previously defined in the text. (Right now I'm working on $d'$, which is the euclidean distance function.)
My question is, does my $\delta$ have to be constant, or can it be a function of $(x_1,x_2)$?
Your $\delta$ can be a function of $(x_1,x_2)$, since you are trying to prove coontinuity on each point of the function's domain.
The case where $\delta$ is constant (same for all points) is called uniform continuity and is much stronger than simple continuity.
Uniform Continuity
Edit: To get an intuition for both cases take as example functions from $\mathbb{R}$ to $\mathbb{R}$ like $f(x)=x$ and $g(x)=\exp{x}$, both are continuous.
Now given $\epsilon>0$ you can take $\delta=\frac{\epsilon}{2}$ and for any point you have $|f(x\pm\delta)-f(x)|<\epsilon$ showing the uniformity of $f$.
While for $g$ you can't find such $\delta>0$ for a given $\epsilon>0$ since as you increase $x$ the difference $|g(x\pm\delta)-g(x)|=|g(x)||g(\pm\delta)-1|$ increases unbounded.