Is g(x) Always Continuous if Sandwiched Between Two Continuous Functions?

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

Homework Statement



If f(x) < g(x) < h(x) for all x E R, and if f and h are continuous functions, must g also be continuous? If so, why? If not, can you come up with a counter example?

What do you think?
 
Physics news on Phys.org
Hi...
For the given conditions ,the function g need not be continuous.
Example : f(x) = sin(x) - 3 , h(x) = sin(x) + 3 , g(x) = sin(1/x)
for this example , f(x) < g(x) < h(x) . f and h are continuous . But g is not continuous at x tends to 0. Instead of g(x) = sin(1/x) , u can also take a signum function which is not continuous at x = 0.