Prove that f must be a constant function

  • Thread starter Thread starter SithsNGiggles
  • Start date Start date
  • Tags Tags
    Constant Function
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
SithsNGiggles
Messages
183
Reaction score
0

Homework Statement



If f: ℝ → ℝ is a continuous function with the property that its range is contained in the set of integers, prove that f must be a constant function.

Homework Equations



The Attempt at a Solution



I know why this is true, I just don't know how to begin an actual proof. So far I've thought of proving by contradiction, with letting f be discontinuous and use f(x) = [x], whose range set is contained in Z.

I seem to have trouble with the format of a formal proof.
 
Physics news on Phys.org
OK, suppose f(x) and f(y) are not equal for some x and y. Now, you know that their difference must be at least 1, right? So, let [itex]\epsilon = 1[/itex] and...

Do you see how this might work?
 
It seems an epsilon-delta proof might work well here.
 
Oh, ok I think I got it. Thanks.