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?
A function $f$ is uniformly continuous on $M$ if $\forall \varepsilon>0\,\,\exists \delta>0$ such that $|x-y|<\delta\Rightarrow |f(x)-f(y)|<\varepsilon$ for all $x,y\in M$.
So choose $\delta>0$ such that for all $x,y\in M$ you have $|x-y|<\delta\Rightarrow |f(x)-f(y)|<\frac{\varepsilon}{|c|}$. Then whenever $|x-y|<\delta$ you have: $$ |cf(x)-cf(y)|\le |c|\cdot |f(x)-f(y)|<|c|\cdot\frac{\varepsilon}{|c|}=\varepsilon. $$
From this we conclude that $cf$ is uniformly continuous.