0

If a function $f: \mathbb{R}\to\mathbb{R}$ is continuous and $f(x+y) = f(x) + f(y)$ for all $x,y\in\mathbb{R}$, then what is this function $f(x)$?

HSN
  • 2,744
Sakshi
  • 9

1 Answers1

2

The first step in solving functional equations is to enter different values for $x$ and $y$ to get simpler expressions that tell you something about the function. For instance, $x = y = 0$ tells us that $f(0+0) = f(0) + f(0)$, from which you can tell that $f(0) = 0$. Also, we may just set $x = y$ to get $f(2x) = 2f(x)$. Now setting $y = 2x$ we get $f(3x) = 3f(x)$. Continuing along these lines (technically by using induction), we get $$f(nx) = nf(x)\tag{1}$$ for all natural numbers $n$ and al real numbers $x$.

Now, using $(\text 1)$ for $x = \frac yn$, we have $f(y) = nf(y/n)$. With rearranging, we get $f(y/n) = f(y)/n$ for any real number $y$ and any natural number $n$. Combining with $(\text 1)$, we get $$ f\left(\frac{m}{n}\cdot x\right) = \frac{m}{n}\cdot f(x) \tag 2 $$ for any real $x$ and rational number $\frac mn$.

Now is the time to use the assumption that $f$ is continuous. Let $k = f(1)$. Then for any rational number $\frac{m}{n}$ equality $(\text 2)$ tells us that $f(m/n) = k \cdot m/n$. Let $x \in \Bbb R$. If $x \in \Bbb Q$, then $f(x) = kx$. If $x$ is irrational, let $x_n$ be a sequence of rational numbers converging to $x$. By continuity of $f$, $f(x_n)$ converges to $f(x)$. But the sequence $f(x_n) = kx_n$, so th sequence converges to $kx$. Therefore we must have $f(x) = kx$ even for irrational $x$.

It is relatively easy to check that any real value $k$ gives a valid solution $f(x) = kx$, and we've shown that any solution is of that form, so we're done.

Arthur
  • 199,419