I am having a little trouble trying to prove that any nonempty open set in $\mathbb{R}$ is uncountable. Here is what I have so far:
Let $A$ be a nonempty subset of $\mathbb{R}$. Then for each $x \in A$, there exists an open interval $I=(a,b)$ such that $x \in I \subseteq A$.
...
Since I is uncountable and $I \subseteq A$, it follows that $A$ is uncountable.
I am trying to fill in the ... by showing that the open interval $(a,b)$ is uncountable. I am familiar with Cantor diagonalization and I've used it to prove that $(0,1)$ is uncountable, but I am unsure of how to set up a Cantor diagonal when I don't know what the boundaries of the interval are. I've read suggestions on other questions to set up a bijection from $(0,1)$ to $(a,b)$ but I'm not sure how to go about that either.
Guide:
Can you construct a linear equation that connecting point $(0,a)$ and point $(1,b)$?
Once you can do that, verify that you have constructed a bijection from the set $(0,1)$ to the set $(a,b)$.