Assumption in Spivak’s Calculus Chapter 7-13b

continuityepsilon-deltaproof-explanationreal-analysis

13b) Suppose $f$ is a function that satisfies the intermediate value theorem (IVT), and takes on each value only once. Prove that $f$ is continuous.

Spivak's proof of this problem can be found here:

Spivak's Calculus Chapter 7-13b

(That link is actually a question a I wrote up earlier, but it's not really relevant to this one).

My question is about the "annoying technicalities" in the proof. TLDR: I don't see how they are justified.

Annoying technicality 1) $|f(x)-f(a)|> \epsilon \implies f(x)>f(a) + \epsilon ~~~~~\text{OR} ~~~~f(x)<f(a)- \epsilon$

Annoying technicality 2) $0<|x-a| \implies x>a ~~~~\text{OR} ~~~~x<a$

Let's call "$f(x)>f(a) + \epsilon$" Option A, and "$f(x)<f(a)- \epsilon$" Option B.

Likewise, call "$x>a$" Option C, and "$x<a$" Option D.

Ok so there are 4 Cases: AC, AD, BC, or BD.

Then Spivak says: "Let's pick $f(x)>f(a)+ \epsilon$ and $x>a$" (Presumably without loss of generality). So he picks AC to start, fine.

However, in step (2) he reuses AC to construct the number $z$.

Here's my problem: $z$ is independent of $x$, which means it doesn't have to obey AC, it could obey AD, BC or BD instead.

Fortunately if z obeys AD or BC, then it's easy to adjust Spivak's proof to make the contradiction at the end. However I cannot see a way to do it if z obeys BD (not without making another assumption anyway, which would be very laborious to deal with and will probably lead to infinite descent!).

Can we adjust the proof to make it work when $z$ obeys BD, or is an entirely new approach necessary (or even possible???)?

Update: I have found a solution for the BD case, however it involves an extra 9 cases of analysis and is quite tedious, and definitely not worth adjusting for the other 3 cases when $x$ doesn't obey AC. Fortunately I can use the symmetry of the 4 quadrants to bypass the other 3 cases, by introducing a new function $g$, based on $f$. I pretty sure that's enough to prove the entire theorem, but man it was not easy nor elegant. 3 + 9 + 3 = 15 separate individual cases that all have to be considered . If anyone has a method that can prove the theorem more elegantly I'd like to know. If anyone wants to see my proof, ask below.

Best Answer

If $f$ is not continuous at $a$, then for some $\varepsilon > 0$ we can find x's arbitrarily close to $a$ such that $\lvert f(x) - f(a) \rvert \geq \varepsilon$

We can assume an endless number such x's arbitrarily close to $a$ and $> a$, or else $< a$. Let's assume the first. (At least one of these has to be true, or else $f$ would be continuous at $a$.)

Here's my problem: 𝑧 is independent of 𝑥, which means it doesn't have to obey >>AC, it could obey AD, BC or BD instead.

We can assume the existence of infinitely many points obeying either C or D.

Using your case terminology and assuming the first point $x_0$ fits $AC$, there must be a point $x_1$ such that $a < x_1 < x_0$ with $f(x_1) = f(a) + \varepsilon/2$ (because of the IVT).

Now, we can select $x_2$ with $a < x_2 < x_1$ where $x_2$ fits either case $AC$ or case $BC$, both of which lead to $f$ duplicating values ($f(a) + \varepsilon/2$, or $f(a)$, respectively, again because of the IVT.)

You should be able to use very similar arguments for all other cases, first for the initial point being BC instead of AC, and next, for x's $< a$ instead of $> a$.

Drawing a picture might help.

Related Question