Let $f:\mathbb{R}^n\to\mathbb{R}$ be a nonzero linear map. Let $\alpha \in \mathbb{R}$ e define $A=\{x\in \mathbb{R}^n:f(x)<\alpha\}$. By continuity of $f$, $A$ is open in $\mathbb{R}^n$.
How can I prove (rigorously) that $A$ and $\mathbb{R}^n$ are homeomorphic ?
I have some thoughts but I'm not able to make them rigorous. Intuitively I see that $\{x\in \mathbb{R}^n:f(x)=\alpha\}$ is an hyperplane in $\mathbb{R}^n$ which divides $\mathbb{R}^n$ into to "open rectangles" homeomorphics between them, and one of this "rectangles" is $A$.
For example, if $n=2$, I think I can show that $A$ is homeomorphic with $\mathbb{R}\times(-\infty,\alpha)$ maybe using some rotation, and then I easily can show that $\mathbb{R}\times(-\infty,\alpha)$ is homeomrphic to $\mathbb{R}^2$ since I know that $(-\infty,\alpha)$ is homeomrphic to $\mathbb{R}$. For example if $(a,b)\in \mathbb{R}^2$ is the vector such that $f(x,y)=ax+by$, such homeomorphism could be the linear map $\mathbb{R}\times(-\infty,\alpha)\to A$ represented by the matrix \begin{pmatrix} \cos(b/a)& -\sin(b/a) \\\sin(p/a) & \cos(b/a) \end{pmatrix}
What is a rigorous (and possibly elegant) way to prove that $A$ and $\mathbb{R}^n$ are homeomorphic for general $n$?
Suppose also that $\beta\in \mathbb{R}$ and $\beta<\alpha$. Let $B=\{x\in \mathbb{R}^n:f(x)>\beta\}$.
How can I prove that $A \cap B$ is non empty and homoemorphic to $\mathbb{R}^n$ ?