f RPRSolutionFirst suppose that f is continuous Note that c
f: RP->R.
Solution
First suppose that f is continuous.
Note that (, c) and (c, ) are open subsets of R.
Hence {x : f(x) < c} = f 1 (, c) and {x : f(x) > c} = f 1 (c, ) are open in RP
Conversely, suppose the sets {x : f(x) < c} and {x : f(x) > c} are open in RP for every c R.
Any open subset U of R can be written as the union of open balls U = A(a, b), where A is an arbitrary indexing set.
Note (a, b) = (, b) (a, ) and f 1 (a, b) = f 1 (, b) f 1 (a, ) = {x : f(x) < b} {x : f(x) > a}
Since the intersection of any two open sets is open, each set f 1 (a, b) is open.
Since the arbitrary union of open sets is open, the set f 1 (U) = Af 1 (a, b) is open.
Hence f is continuous on RP.
