Showing a function is continuous on every point in $\mathbb R$ Let $K > 0$ and let $f : \mathbb R  \rightarrow  \mathbb R $satisfy the condition $|f(x) - f(y)|  \leq  K|x - y| $for all $x, y  \in  \mathbb R$. Show that $f$ is continuous at every point $c \in \mathbb R$.
Here's my attempt:

$|f(x) - f(y)|  \leq  K|x - y|  \rightarrow  |f(x) - f(y)|/K \leq  |x
> - y|$
In order for $f$ to have a limit at $c: |x - c| <  \delta   \rightarrow  |f(x) - f(c)| <  \epsilon$
Let $\delta  =  \epsilon$/(2K)$
$|f(x) - f(y)|/K  \leq  |f(x) - f(c)|/K + |f(y) - f(c)|/K <  \epsilon /(2K)
> +  \epsilon /(2K) =  \epsilon /K$
$|f(x) - f(y)| <  \epsilon$

Am I on the right path?


Let $\epsilon >0$ be given. Set $\delta= \frac {\epsilon}{K}$ then

Clearly $\delta>0$. Suppose that $x,y\in \mathbb R$ and $|x-y|<\delta$. Then by the given condition on  $f$ we have $|f(x)-f(y)|\le K|x-y|<K\delta=\epsilon$, so $f$ is in fact uniformly continuous on $\mathbb R$>
