0
$\begingroup$

Let $f:\mathbb{R}\mapsto \mathbb{R}$. The goal is to prove that $f$ is continuous if, and only if, for all $X\subset \mathbb{R}$, $f(\overline{X})\subset \overline{f(X)}$

Let $X\subset \mathbb{R}$, $y\in f(\overline{X})$ and let $a\in\overline{X}$ such that $f(a)=y$. Since $f$ is continuous in $\mathbb{R}$ and $a$ is a point in the closure, for all sequences $(x_n)_{n\in\mathbb{N}}\subset X$ which converge to $a$, implying that $f(x_n)\to f(a)$ in ${\overline{X}}$. Thus, $f(a)\in \overline{f(X)}$ because there exists a sequence $(f(x_n))_{n\in\mathbb{N}}\subset f(X)$ such that $f(x_n)\to f(a)$. The same argument follows for any subset $X$.

What is bugging me is the reciprocal.

Let $a\in \mathbb{R}$. To prove that $f$ is continuous at point $a$,it is sufficient to show that for every sequence $(x_n)_{n\in\mathbb{N}}$ that converges to $a$, $f(x_n)\to f(a)$. In other words, we must define a set $X$ such that $a\in \overline{X}$, from what follows that $f(a)\in \overline{f(X)}$ and, therefore, $\exists (f(y_n))_{n \in\mathbb{R}}\subset X$ such that $f(y_n)\to f(a)$. This strategy shows that a sequence exists, but I am having trouble to guarantee that $(f(x_n))$ converges to $a$.

Maybe there is an easier way.

EDIT: This post proves the part I was struggling with. It uses the same strategy pointed out by other answers here. The first part of my proof, alongside the suggested contradiction, concludes that the proposition is true, extending the result from 2021 post.

$\endgroup$
0

2 Answers 2

1
$\begingroup$

Suppose that $f(x_n) \not\to f(a)$. Then by definition there is some $\epsilon>0$ such that infinitely many of the $x_n$ satisfy $|f(x_n)-f(a)| \geq \epsilon$.

So take $X = \{x_{n_k} | k \in \mathbb{N},|f(x_{n_k})-f(a)| \geq \epsilon\}$. Then since there are infinitely many, this forms of a subsequence of $x_n$ converging to $a$, so $a \in \overline{X}$. So $f(a) \in f(\overline{X}) \subset \overline{f(X)}$. But the neighborhood $B(f(a),\epsilon)$ contains no element of $f(X)$, a contradiction.

(In effect, I'm using this subsequence-of-a-subsequence trick.)

$\endgroup$
0
$\begingroup$

I think proof by contradiction can work.

Suppose $f$ is discontinuous at $b\in\Bbb{R}$, then there must be a sequence $\{x_n\}$($x_n\ne b$) that converges to $b$, so that $\{f(x_n)\}$ does not converge to $f(b)$(there must be infinitely many terms that does not equal to $f(b)$, so we can select such a $\{x_n\}$ that $f(x_n)\ne f(b)$).

Let $X=\{x\mid \exists n\in\Bbb{N}, x=x_n\}$, then $b\in\overline{X}$, $f(b)\in f(\overline{X})$, but $f(b)\notin\overline{f(X)}$, which contradicts the condition.

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.