drawar
- 130
- 0
Homework Statement
Suppose that the function f:ℝ→ℝ is continuous on ℝ and f\left( {r + \frac{1}{n}} \right) = f(r) for any rational number r and natural number n.
(i) Prove that for any rational r and natural numbers n and m, f\left( {r + \frac{m}{n}} \right) = f(r).
(ii) Prove that f is a constant function
Homework Equations
The Attempt at a Solution
For part (i), I think we can just use induction on m:
Let P(m) be the statement that f\left( {r + \frac{m}{n}} \right) = f(r), for any rational r and natural numbers n and m
The case when m=1 is given as a hypothesis, so no need to prove it.
Assume P(k) holds, i.e. f\left( {r + \frac{k}{n}} \right) = f(r), then
f\left( {r + \frac{k+1}{n}} \right) = f\left( {r + \frac{k}{n} + \frac{1}{n}} \right) = f\left( {r + \frac{k}{n}} \right) = f(r) => P(k+1) also holds. By principle of mathematical induction, P(m) holds.
Any hint on part (ii) is much appreciated, as I don't even know how to get started, thanks!