Exercise 4.4.8

Give an example of each of the following, or provide a short argument for why the request is impossible.

(a)
A continuous function defined on [ 0 , 1 ] with range ( 0 , 1 ) .
(b)
A continuous function defined on ( 0 , 1 ) with range [ 0 , 1 ] .
(c)
A continuous function defined on ( 0 , 1 ] with range ( 0 , 1 ) .

Answers

(a)
Impossible as continuous functions preserve compact sets and ( 0 , 1 ) is not compact.
(b)
Define f ( x ) = { 3 x 1  if  x [ 1 3 , 2 3 ] 1  if  x ( 2 3 , 1 ) 0  if  x ( 0 , 1 3 )

f is continuous on ( 0 , 1 ) and has range [ 0 , 1 ] . Here’s a graph of f :

(c)
Consider g ( x ) = sin ( 1 x ) ( 1 x ) over x ( 0 , 1 ] ; clearly g ( x ) is continuous over this interval. The 1 x term bounds g ( x ) to ( 1 , 1 ) , while the sin ( 1 x ) ensures that g ( x ) will approach this bound arbitrarily close as x 0 . Thus, the range of g ( x ) is ( 1 , 1 ) . We now just need to shape this to ( 0 , 1 ) by defining f ( x ) = ( g ( x ) + 1 ) 2 .
User profile picture
2022-01-27 00:00
Comments