24

Prove that if $f\colon\mathbb{R}\to\mathbb{R}$ is such that $f(x+y)=f(x)f(y)$ for all $x,y$, and $f$ is continuous at $0$, then it is continuous everywhere.

If there exists $c \in \mathbb{R}$ such that $f(c) = 0$, then $$f(x + c) = f(x)f(c) = 0.$$ As every real number $y$ can be written as $y = x + c$ for some real $x$, this function is either everywhere zero or nowhere zero. The latter case is the interesting one. So let's consider the case that $f$ is not the constant function $f = 0$.

To prove continuity in this case, note that for any $x \in \mathbb{R}$ $$f(x) = f(x + 0) = f(x)f(0) \implies f(0) = 1.$$

Continuity at $0$ tells us that given any $\varepsilon_0 > 0$, we can find $\delta_0 > 0$ such that $|x| < \delta_0$ implies $$|f(x) - 1| < \varepsilon_0.$$

Okay, so let $c \in \mathbb{R}$ be fixed arbitrarily (recall that $f(c)$ is nonzero). Let $\varepsilon > 0$. By continuity of $f$ at $0$, we can choose $\delta > 0$ such that $$|x - c| < \delta\implies |f(x - c) - 1| < \frac{\varepsilon}{|f(c)|}.$$

Now notice that for all $x$ such that $|x - c| < \delta$, we have $$\begin{align*} |f(x) - f(c)| &= |f(x - c + c) - f(c)|\\ &= |f(x - c)f(c) - f(c)|\\ &= |f(c)| |f(x - c) - 1|\\ &\lt |f(c)| \frac{\varepsilon}{|f(c)|}\\ &= \varepsilon. \end{align*}$$ Hence $f$ is continuous at $c$. Since $c$ was arbitrary, $f$ is continuous on all of $\mathbb{R}$.

Is my procedure correct?

Arturo Magidin
  • 398,050
  • 6
    Nicely done!${}{}{}$ – André Nicolas May 29 '12 at 04:26
  • 1
    The additive version of this question is also on the site. Do we consider them abstract duplicates? – Zev Chonoles May 29 '12 at 04:47
  • 1
    We also have a few question about this functional equation, see here and the linked question. – Martin Sleziak May 29 '12 at 04:55
  • 1
    @ZevChonoles Yes. I think it would be good if someone can write a generalized version of this and call it, say Cauchy functional equation, add an answer to the generalized question. All the rest should be closed as dupe of this. –  May 29 '12 at 04:57
  • 6
    I am not sure if closing question of the type please check my proof should be closed as duplicate question. (Even if we had a question on this exact result, where some proof is given, in this kind of question I would expect comments on the OP's proof strategy, mistakes - if there are any, writing style etc. So it is kind of different from answer to question of the type I would like to see a proof or a reference for this. – Martin Sleziak May 29 '12 at 05:02
  • @Daniela: Please edit your question with LaTex. – Hassan Muhammad May 29 '12 at 05:49
  • I am myself a LaTeX fan, but I think in this case the question is perfectly readable the way Daniela wrote it - I am not sure that TeX-ing would mean in fact such a huge improvement. I asked on meta to see whether there is some community consensus about it. – Martin Sleziak May 29 '12 at 06:02
  • 2
    Since you use the phrase often, maybe use the more idiomatic "Is my procedure right?" instead of "Is it right to my procedure?". – André Nicolas May 29 '12 at 06:40

3 Answers3

8

One easier thing to do is to notice that $f(x)=(f(x/2))^2$ so $f$ is positive, and assume that it is never zero, since then the function is identically zero. Then you can define $g(x)=\ln f(x)$ and this function $g$ will satisfy the Cauchy functional equation $$ g(x+y)=g(x)+g(y)$$ and the theory for this functional equation is well known, and it is easy to see that $g$ is continuous if and only if it is continuous at $0$.

Beni Bogosel
  • 23,381
1

If this is for a first year real analysis class, I think you might get dinged for not at least saying about the zero case that it's a constant function, and constant functions are continuous. Also, you probably should learn your favorite form of LaTeX; graders tend to like this sort of thing, and happy graders tends to mean better scores, in my experience.

Other than that, excellent work.

Eric Stucky
  • 12,758
  • 3
  • 38
  • 69
1

Use sequential criterion for continuity of a function at a point and the additive property of a function to show f(x) is continuous for an arbitrary x€R