[Math] Prove if $f$ is continuous at a and $g$ is discontinuous at a, then $f + g$ is discontinuous at a

alternative-proofcontinuityreal-analysis

Hello I want to prove: if $f$ is continuous at $a$ and $g$ is discontinuous at $a$, then $f + g$ is discontinuous at $a$. But with the $\epsilon – \delta$ definition of continuity and discontinuity (I see that the far more concise way of proving this would be to assume to the contrary that $f+g$ is continuous and then finding a contradiction from $g = (f + g) – f$).

So far I have:

Let $\epsilon > 0$ be given. Then since $f$ is continuous at $a$, there exists $\delta_{1} > 0$, such that
$$|x – a| < \delta_{1} \implies |f(x) – f(a)| < \epsilon.$$

And since $g$ is discontinuous at $a$, there exists $\epsilon_{0} > 0$ such that for all $\delta_{2} > 0$,
$$|x – a|<\delta_{2} \land |g(x) – g(a)| \ge \epsilon_{0}.$$

Now I want to show that there exists an $\epsilon_{1} > 0$ such that for any $\delta > 0$,
$$|x – a| < \delta \land |f(x) + g(x) – (f(a) + g(a))| \ge \epsilon_{1}.$$

So now I need to find an appropriate $\epsilon_{1}$ and I think I should use the reverse triangle inequality to try to show this inequality holds
$$0 < \epsilon_{1} \le … \le |g(x) – g(a)| – |f(x) – f(a)| \le |g(x) – g(a) + f(x) – f(a)|$$

What seems problematic is the $|f(x) – f(a)|$ since there doesn't seem to be a way to bound it since $\delta$ can be any positive real number. I'm kind of wondering if this will even work or if another route needs to be taken. Any help would be much appreciated, thanks!

Best Answer

I'm not sure if your post is indicating that you know this, but there is a quick proof using a relatively well known fact: the sum of two continuous functions is continuous. Assume $f+g$ is continuous. Then since $f$ is continuous, $-f$ is continuous. Therefore $(f+g)+(-f)=g$ is continuous, contradiction.

If you don't know this fact already, I would recommend trying to prove it for yourself. The crucial step is to consider $\delta=\max{(\delta_f,\delta_g)}$. You can actually use the proof of the above statement to prove your question by contradiction. As you've noted, the fact that $\delta$ can be any real number can be problematic. However, you do have a statement that is true for all $\delta$, namely

$$\exists\epsilon_g\forall\delta_g\exists x_g\text{ such that }|x_g-a|<\delta_g\wedge |g(x_g)-g(a)|>\epsilon_g$$

This fact is the one that you want to leverage to get your result. I think by contradiction would be the best way to proceed. So, you assume $$(\forall\epsilon)(\exists\delta)(\forall x)(|x-a|<\delta\Rightarrow|f(x)+g(x)-f(a)+g(a)|<\epsilon)$$ and you have that $$(\forall\epsilon')(\exists\delta')(\forall x)(|x-a|<\delta'\Rightarrow|f(x)-f(a)|<\epsilon')$$ so therefore $$|g(x)-g(a)|=|f(x)+g(x)-(f(a)+g(a))-(f(x)-f(a))|\leq \epsilon+\epsilon'$$ by the triangle inequality, which contradicts that $g$ is discontinuous once you do a bit of tweaking of $\delta$'s and $\epsilon$'s.