Let $f\colon\mathbb R \to \mathbb R$ be a continuous function.
Suppose that $\lim_{x \to +\infty} f(x) = \lim_{x \to -\infty} f(x) = +\infty$.
Prove that $f$ has a minimum, i.e., $\exists x_0 \in \mathbb R: \forall x \in \mathbb R f(x) \geq f(x_0)$:
My solution:
Suppose $\exists x_0 \in \mathbb R:\forall x \in\mathbb R: f(x) \geq f(x_0)$ is false. Then, $\forall x_0 \in \mathbb R: \exists x\in\mathbb R: f(x) < f(x_0)$ (1).
$\lim_{x \to +\infty} f(x) = +\infty \implies \forall \varepsilon >0: \exists M>0: x>M \implies f(x) > \varepsilon$.
In particular, for $\varepsilon=f(x_0)$, we have $f(x)>f(x_0)$, which is an absurd, because it contradicts the hypothesis (1).
Therefore $\exists x_0 \in \mathbb R: \forall x\in\mathbb R:f(x) \geq f(x_0)$
I´d like to hear from you if my solution is correct or not.