Suppose $f$ is uniformly continuous, show $cf$ is uniformly continuous where $c$ is a real constant.
Proof:
Since $f$ is uniformly continuous, we know that there exists $\delta >0$ such that $|x-y| \Rightarrow |f(x)-f(y)| < \varepsilon$ for all $x,y\in M$.
So choose $\delta = \frac{\varepsilon}{c}$, and so
$|cf(x)-cf(y)| < |cx-cy|\le|c||x-y| \le c\cdot\delta \le c\cdot\frac{\varepsilon}{c}\le \varepsilon$, thus $cf$ is uniformly continuous.
Is this proof correct?
Best Answer
There are a couple of mistakes:
What you can do is you can say that $|xf(x)-cf(y)| = |c||f(x)-f(y)|$. Then, you use the uniform continuity of $f$, along with a better selection of $\delta$, to cause $|f(x)-f(y)|$ to be small enough.
But, I advise you to first correct the first two mistakes I mention. Right now, you skipped a couple of steps, and that made you sloppy. As a beginner, never skip steps, because without experience, you don't know if what you skipped makes sense.