# Continuous Mappings

I would like someone to check my working please. Here is the question:

Is the mapping

$$f:\mathbb{Q}_p \rightarrow \mathbb{R}$$

continuous?

My solution:

A mapping $f:X\rightarrow Y$ is continuous at a point $x \in X$ if for every $\epsilon > 0$ there exists a $\delta > 0$ such that

$$d(x,y) < \delta \Rightarrow d(f(x),f(y)) < \epsilon$$

A function is continuous if it is continuous at every point in its domain.

This is the definition of continuity that I will be using. Note that I made this choice because the domain of the mapping lies in the rationals with respect to the p-adic metric. Further, $\mathbb{Q}_p$ and $\mathbb{R}$ are both metric spaces - ie there is a very good notion of distance between two points in both sets. This idea is crucial to my solution.

Loosely, the definition above says that all points $f(y) \in Y$ near $f(x) \in Y$ have their preimages $y \in X$ near $x \in X$.

In the question at hand, the function $f$ maps points in the metric space $\mathbb{Q}_p$ to points in $\mathbb{R}$ - where $\mathbb{R}$ is the metric space w.r.t to usual Euclidean metric.

For the function to be continuous the following must be satisfied: The point $f(x) \in \mathbb{R}$ near $f(x) \in \mathbb{R}$ must imply that $y \in \mathbb{Q}_p$ is near $x \in \mathbb{Q}_p$.

Technically speaking, given an epsilon > 0 there must exist a delta > 0 such that $d(x,y) < \delta \Rightarrow d(f(x),f(y)) < \epsilon$.

But $d(x,y) := |x-y|_p$. That is, distance between two points with respect to the p-adic metric gets larger and larger as $x$ gets closer and closer to $y$ with respect to the Euclidean metric. So I can not always guarantee the existance of a positive, non-zero $\delta$ for any given $\epsilon$. Therefore the mapping $f$ is NOT continuous.

To make this clearer, the distance between two points $x, y \in \mathbb{Q}_p$ actually gets larger as $x$ and $y$ become closer with respect to the Euclidean metric. So the preimages of 'close' points in $\mathbb{R}$ are actually very far apart in $\mathbb{Q}_p$. This is the exact opposite of what it means for a function to be continuous.

How does this sound?

Last edited:

Related Introductory Physics Homework Help News on Phys.org
shmoe
Homework Helper
It looks like $$f$$ is the inclusion map from the rationals to the reals, but considering the rationals with the p-adic metric. If so writing $$f:\mathbb{Q}_p \rightarrow \mathbb{R}$$ doesn't make sense as it's not a function on all of $$\mathbb{Q}_p$$.

To show it's not continuous at a point x, you have to prove that you can find y's arbitrarily close in the Euclidean metric that are arbitrarily far away in the p-adic metric (it's sufficient to find y's farther than some convenient fixed bound, 1 will work here). You've essentially just declared this was true, but offered no proof. Can you supply details?

Oh dear, I forgot to mention that

$$f(x) = x$$.

May I ask if this is actually a continuous function?

To show it's not continuous at a point x, you have to prove that you can find y's arbitrarily close in the Euclidean metric that are arbitrarily far away in the p-adic metric (it's sufficient to find y's farther than some convenient fixed bound, 1 will work here). You've essentially just declared this was true, but offered no proof. Can you supply details?
I actually considered that this was obvious. But you are right, proving this is much more concrete.

We need to show that given an $\epsilon > 0$ we need to find a $\delta > 0$ so that whenever $d(x,y) < \delta$ then $d(1(x),1(y)) < \epsilon$. However, since $1(x) = x$ by definition of the function, it follows that $d(1(x),1(y)) = d(x,y) = |x-y|_p$. Therefore we cannot necessarily find a $\delta$ which is strictly less that $\epsilon$.

shmoe
Homework Helper
Oxymoron said:
I actually considered that this was obvious. But you are right, proving this is much more concrete.

We need to show that given an $\epsilon > 0$ we need to find a $\delta > 0$ so that whenever $d(x,y) < \delta$ then $d(1(x),1(y)) < \epsilon$. However, since $1(x) = x$ by definition of the function, it follows that $d(1(x),1(y)) = d(x,y) = |x-y|_p$. Therefore we cannot necessarily find a $\delta$ which is strictly less that $\epsilon$.
It's probably best to not use $$d(\cdot,\cdot)$$ to represent two different metrics, so I'm going to switch to $$|\cdot|_p$$ for the p-adic norm and $$|\cdot|$$ for the usual euclidean norm.

You have the same problem as before. "cannot necessarily find..." isn't a proof. f is continuous at x if for every $$\epsilon>0$$ we can find a $$\delta>0$$ such that for all y with $$|x-y|_p<\delta$$ we have $$|x-y|=|f(x)-f(y)|<\epsilon$$.

To prove f is NOT continuous at x we can find an $$\epsilon>0$$ that has no $$\delta>0$$ that will satisfy this. Showing it fails for any specific $$\epsilon$$ will be enough, so let's take $$\epsilon=1$$. Now suppose $$\delta>0$$ satisfies the definition of continuity for $$\epsilon=1$$. Can you find a y where $$|x-y|_p<\delta$$ but we have $$|x-y|>1$$?

Good point Shmoe!

If I take y = 2 then (2 must be prime)

$$|0-2|_p = \frac{1}{2} < \delta$$

But

$$|0-2| = 2 > 1$$

Is this ok?

Hurkyl
Staff Emeritus
Gold Member
Oh dear, I forgot to mention that

$$f(x) = x$$
Is this even a well-defined function? x is a p-adic number... in what sense are you embedding the p-adics into the reals?

Anyways, it's very easy to exhibit a sequence that converges in the p-adics and not in the reals. For example, consider the 3-adic sequence:

2, 22, 222, 2222, 22222, ...
which converges to the 3-adic number ...222 (= -1)

But this sequence clearly does not converge in the reals.

On the other hand...

I haven't worked it out, but it seems to me that if I define a function from Qp &rarr; R that maps a p-adic number x to its lexicographical reverse as a real number written in radix p, then this function is a continuous surjection. (not a bijection)

f(...41302.134) = 431.20314...(base 5)

This is in line with my intuition that the p-adics and the reals are opposites.

Last edited:
shmoe
Homework Helper
Oxymoron: You've done a very specific case, when x=0, p=2 and delta>1/2. Let's carry on with this, leaving x=0, and p=2.

Find me a y where $$|0-y|_p<1/2$$ but $$|0-y|>1$$.

Find me a y where $$|0-y|_p<1/4$$ but $$|0-y|>1$$.

Find me a y where $$|0-y|_p<\delta$$ but $$|0-y|>1$$. y will depend on $$\delta$$

I'm also a little concerned with what you wrote, you know that the p-adic norm $$|\cdot |_p$$ depends on a specific prime p right? That is, $$|\cdot |_2$$, $$|\cdot |_3$$, $$|\cdot |_5$$ etc. all give different norms.

Is this even a well-defined function? x is a p-adic number... in what sense are you embedding the p-adics into the reals?
The question simply asks to determine whether or not $f:\mathbb{Q}_p \rightarrow \mathbb{R}$ with f(x) = x is a continuous function.

I haven't worked it out, but it seems to me that if I define a function from Qp → R that maps a p-adic number x to its lexicographical reverse as a real number written in radix p, then this function is a continuous surjection. (not a bijection)
Clever. I haven't seen or heard anything like that!

This is in line with my intuition that the p-adics and the reals are opposites.
Interesting... how sure are you of this claim (along with the function being surjective if it maps p-adic numbers to their real lexicographic reverse). Im gonna look into this a bit more!

I'm also a little concerned with what you wrote, you know that the p-adic norm depends on a specific prime p right? That is, , , etc. all give different norms.
Yep. thats right.

Ok, I see where you are going now Shmoe.

I have indeed chosen a very specific case where I can actually picked a certain prime (2 in this case). I could also have chosen some other prime.

$$|0-y|_2 < 1/2$$

Take $y = 4$ then

$$|0 - 4|_2 = \frac{1}{2^2} = 2^{-2} < 1/2$$

But

$$|0-4| = 4 > 1$$

Similarly for your second equation I could choose y = 5.

Last edited:
Hurkyl
Staff Emeritus
Gold Member
The question simply asks to determine whether or not $f:\mathbb{Q}_p \rightarrow \mathbb{R}$ with f(x) = x is a continuous function.
Then I would have to say no, because it's not a function at all. It would make sense to ask something like:

Is $f:\mathbb{Q}_p \cap \mathbb{Q} \rightarrow \mathbb{R} : x \rightarrow x$ a continuous function?

Because here, the domain is a subset of the range. But $\mathbb{Q}_p$ contains horrible things (it's uncountable, just like the reals), and given one, I can't see any "right" way for viewing it as an element of $\mathbb{R}$.

A an interesting note, the metric closure of the algebraic closure of $\mathbb{Q}_p$ (called $\Omega_p$ is apparently field isomorphic to $\mathbb{C}$, but Wikipedia doesn't say whether there is an isomorphism as a topological field. (It does say that the existance of the field isomorphism requires the axiom of choice, so it's safe to say that there isn't a nice, canonical isomorphism of the two!)

Interesting... how sure are you of this claim (along with the function being surjective if it maps p-adic numbers to their real lexicographic reverse).
I'm optimistic. If it's not actually continuous, I'm pretty sure it's "mostly" continuous, in some intuitive sense.

It should be obvious that the function is surjective, since the p-adics are isomorphic the set of all left-infinite radix p numbers, and the reals are isomorphic the set of all right-infinite radix p numbers (modulo some relations, such as 1 = 0.zzz... where z = p - 1). :tongue2:

I spoke to my topology professor today and he said that this function is not continuous - but he did not talk too much about it (since it is an assignment problem). But he approved of what Shmoe and I have been discussing. I think it is safe to say that this function is not continuous.

I have another function I have been looking at - one which I think IS continuous.

$$f:\{a,b\} \rightarrow \mathbb{N}$$

with $g(a) = 1$, $g(b) = 2$, and $\{a,b\}$ has the topology $\{\oslash, \{a,b\}, \{a\}\}$.

I am fairly certain that this function is continuous using the following definition of a continuous function:

For every open subset $U$ of $Y$ the inverse image $f^{-1}(U)$ is an open subset of $X$.

I want to use that fact the the topology contains only open sets, which are open subsets of $\{a,b\}$. So in my opinion it is obvious that the sets in $\{a,b\}$ are open, but I want this for any choice of $U$ in $\mathbb{N}$.

But then I had another thought.

$g$ maps $a \in \{a,b\}$ to $1 \in \mathbb{N}$, and $g$ also maps $b \in \{a,b\}$ to $2 \in \mathbb{N}$. Therefore $g^{-1}(1)$ maps to $a$ which is open with respect to the topology there. But $g^{-1}(2)$ maps to $b$ which is not open with respect to the topology. So the function is not continuous.

Now I am confused...

shmoe
Homework Helper
Oxymoron said:
The question simply asks to determine whether or not $f:\mathbb{Q}_p \rightarrow \mathbb{R}$ with f(x) = x is a continuous function.
It almost surely says more than this, something about restricting the function to the rationals? This is what I was pointing out about your notation in post #2 and what Hurkyl has been saying about it not being a function.

Oxymoron said:
Similarly for your second equation I could choose y = 5.
I had meant to keep p fixed at 2, so if you're still working on this

Find me a y where $$|0-y|_2<1/4$$ but $$|0-y|>1$$.

Find me a y where $$|0-y|_2<\delta$$ but $$|0-y|>1$$. y will depend on $$\delta$$

What's confusing you about your second question? It's not the discrete topology on {a,b}, you have to look at the topology to determine if {b} is open or not.

b is not open in the topology. So the inverse image of 2 is not mapped to an open set. Hence the function is not continuous.

I had meant to keep p fixed at 2, so if you're still working on this...
.

Well if I choose $y = 8$ then

$$|0-8|_p = |2^3|_p = 1/8 < 1/4$$

But

$$|0-8| = 8 > 1$$

So given a $\delta$ I can find a $y$:

$$y = \frac{2}{\delta}$$

such that

$$|0-y|_p < \delta$$ but $$|0-y|> 1$$

shmoe
Homework Helper
For your y given a general delta, are there any conditions on delta? Does it work if delta=1/3 for example?

Perhaps I should have written

$$y = \frac{p}{\delta}$$

Because I wrote $y = 2/\delta$ since $p = 2$.

Delta must be expressible as $\delta = 1/p^n$ for some $n\in\mathbb{N}$

Last edited:
matt grime
Homework Helper
Oxymoron said:
I have another function I have been looking at - one which I think IS continuous.

$$f:\{a,b\} \rightarrow \mathbb{N}$$

with $g(a) = 1$, $g(b) = 2$, and $\{a,b\}$ has the topology $\{\oslash, \{a,b\}, \{a\}\}$.

I am fairly certain that this function is continuous using the following definition of a continuous function:

For every open subset $U$ of $Y$ the inverse image $f^{-1}(U)$ is an open subset of $X$.

this only makes sense if you assign a topology to N, since f is continuous iff the inverse image of an OPEN set is open. How do youknow that {2} is open in N?

I want to use that fact the the topology contains only open sets, which are open subsets of $\{a,b\}$. So in my opinion it is obvious that the sets in $\{a,b\}$ are open, but I want this for any choice of $U$ in $\mathbb{N}$.

But then I had another thought.

$g$ maps $a \in \{a,b\}$ to $1 \in \mathbb{N}$, and $g$ also maps $b \in \{a,b\}$ to $2 \in \mathbb{N}$. Therefore $g^{-1}(1)$ maps to $a$ which is open with respect to the topology there. But $g^{-1}(2)$ maps to $b$ which is not open with respect to the topology. So the function is not continuous.

Now I am confused...

Does the inclusion of the last quote without a comment indicate that my reasoning there is correct?

matt grime
Homework Helper
No, my comment applies to both patrs I quote back at you.

If you want to determine if a fucntion is continuous from X to Y you need to specify the topologies of both X adn Y.

If, in this example, N has the discreate topology then you are coorect that since the inverse image of {2} (an open set in the discrete topology) is {b} and {b} is not an open set in the given topology on {a,b} then the map is not continuous.

As you have not stated the topology on N you cannot come to any conclusion at all.

But the question has not provided me with a topology for $\mathbb{N}$ at all - only a topology for $\{a,b\}$. Here is the exact question:

Determine if the mapping

$$f:\{a,b\} \rightarrow \mathbb{N}$$

with $f(a) = 1,\,f(b) = 2$, and $\{a,b\}$ has the topology $\{\oslash, \{a\},\{a,b,\}\}$.

It does not mention anything about a topology on $\mathbb{N}$.

Thanks Matt for the insight. I am going to assume that $\mathbb{N}$ has the discrete topology and that the function is not continuous for now.

But I want to highlight another mapping:

$$f:\mathbb{N}\rightarrow \mathbb{N}$$

with $f(x) = x^2$, and now $\mathbb{N}$ has the finite complement topology.

matt grime
Homework Helper
We can assume it is the discrete topology, I would imagine. Possibly at some point in the book it mentions something like: all discrete sets with have the discrete topology unless specified otherwise. Then {2} is open and the inverse image of 2 is b and {b} is not open in the given topology on {a,b} this it is not continuous.

As for the second question. Take an open set in N and look at its inverse image, is it open? That is all you need to do. So what is an open set in the finite complement topology? A set is open if its complement is a finite set. The inverse image of any set is the square roots of the perfect squares in it. eg, the inverse image of the set {2,3,4,5,6,7,8,9} is {1,2,3}.

It may help for you to also prove the following:

let X and Y be topological spaces and f a map from X to Y. Then f is continuous iff the inverse image of any closed set is closed.

Why? Because a closed set in the finite complement topology is precisely a finite set of points, adn the inverse image of a finite set of points is, at most, a FILL IN THE BLANKS