Skip to main content
deleted 284 characters in body
Source Link
CodeGolf
  • 1.8k
  • 11
  • 16

Existence of Looking for some continuous function

I would like to know whetherIs there exists somea continuous function $F$ satisfying the following conditions: Let $R$ be all real numbers and $Q$ be all rational numbers. Denote by $F(R)$ and $F(Q)$ the ranges of$F: R\to R$ such that $F$ onis a surjection but not an injection, $R$$F(Q)\subset Q$ and $Q$. Could $F$ satisfy the following conditions:

  1. $F$ is a surjection ($F(R)=R$), but not an injection;

  2. $F(Q)\subset Q$

  3. The restriction $F: Q\to Q$ is an injection, but not a surjection.

If suchrestriction $F$ exists, please give$F: Q\to Q$ is an example. If not existsinjection, could someone givebut not a proof?surjection. Here $Q$ denotes the set of rational numbers. Thx a lotfor the reply!

Existence of some continuous function

I would like to know whether there exists some continuous function $F$ satisfying the following conditions: Let $R$ be all real numbers and $Q$ be all rational numbers. Denote by $F(R)$ and $F(Q)$ the ranges of $F$ on $R$ and $Q$. Could $F$ satisfy the following conditions:

  1. $F$ is a surjection ($F(R)=R$), but not an injection;

  2. $F(Q)\subset Q$

  3. The restriction $F: Q\to Q$ is an injection, but not a surjection.

If such $F$ exists, please give an example. If not exists, could someone give a proof? Thx a lot!

Looking for some function

Is there a continuous function $F: R\to R$ such that $F$ is a surjection but not an injection, $F(Q)\subset Q$ and the restriction $F: Q\to Q$ is an injection, but not a surjection. Here $Q$ denotes the set of rational numbers. Thx for the reply!

Source Link
CodeGolf
  • 1.8k
  • 11
  • 16

Existence of some continuous function

I would like to know whether there exists some continuous function $F$ satisfying the following conditions: Let $R$ be all real numbers and $Q$ be all rational numbers. Denote by $F(R)$ and $F(Q)$ the ranges of $F$ on $R$ and $Q$. Could $F$ satisfy the following conditions:

  1. $F$ is a surjection ($F(R)=R$), but not an injection;

  2. $F(Q)\subset Q$

  3. The restriction $F: Q\to Q$ is an injection, but not a surjection.

If such $F$ exists, please give an example. If not exists, could someone give a proof? Thx a lot!