Let $f(x) = \frac{1}{x}$ be a function to and from the reals. Is $f$ bounded?
I want to prove using the definition. Let $M > 0$ be given. Then there exists a $\delta > 0$ such that:
If $0<|x-0| < \delta$ implies $|f(x)|=|\frac{1}{x}|=\frac{1}{|x|}>\frac{1}{\delta} = M$ whenever $\delta = \frac{1}{M}$
So is it correct to pick $\delta = \frac{1}{M}$ and I have proved that as $x$ tends to $0$ which, $f(x)$ tends to positive infinity, so it is unbounded.
If $f: \mathbb{R}\setminus \{0\} \to \mathbb{R}$ was bounded there would exist a constant $M >0$ such that $$ |f(x)| < M, \quad \forall x\ne 0. $$
However, this generates a contradiction since $|f(1/M)| > M$.