- #1

- 931

- 56

So I started thinking that maybe a topology is a way of defining the domain, codomain and image of a function?

For this I imagined the following situation. Let the set be ##\mathbb{R}## and define a metric ##d## on it such that ##d(x,y) = 1## if ##x \neq y## and ##d(x,y) = 0## if ##x = y##. Such metric induces the topology ##\tau = \{ \emptyset, \mathbb{R} \}##, correct?

Does that mean only functions whose domain is either ##\mathbb{R}## or ##\emptyset## can be defined on such topological space?

Ok, probably I wouldn't have needed to go too far... but that scenario was what I thought in my attempt to understand this.