Math Help - Function 1-1 thorughout, if its 1-1 on an open set.

1. Function 1-1 thorughout, if its 1-1 on an open set.

Let $f:\mathbb{R}^{n} \to \mathbb{R}^{n}$ be a continuous function which is 1-1 on any open set in $\mathbb{R}^{n}$. Prove that $f$ is 1-1 throughout the domain.

2. Originally Posted by Chandru1
Let $f:\mathbb{R}^{n} \to \mathbb{R}^{n}$ be a continuous function which is 1-1 on any open set in $\mathbb{R}^{n}$. Prove that $f$ is 1-1 throughout the domain.

Solution 1 (The wiseguy solution): $\mathbb{R}^n$ is open in itself and thus, according to the given data, $f$ is 1-1 there.

Solution 2: $\mathbb{R}^n-\{0\}$ is open so $f$ is 1-1 there. Now, if $f(0)=f(x_1)$ , for some $x_1\in\mathbb{R}^n$ ,then take $\mathbb{R}^n-\{x_2\}\,,\,\,x_2\neq 0\,,\,x_1$ ...

By the way , the continuity of $f$ isn't required.

Tonio