Prove:
If a set $A\subseteq\mathbb{R}$ has a cover consisting of a finite number of open intervals, then A has a subcover such that for each $x\in A$, x is an element of at most two of the open intervals in the subcover.
My attempt:
To be honest, I have grappled with this problem for too long; I have no idea how to approach this proof. I only have the definitions of cover, subcover, and compact sets and the Heine-Borel Theorem at my disposal. I am having difficulty connecting this ideas to prove what needs to be proven. Could someone give me an idea on how to begin this proof?
Denote by $\mathcal{C}$ the open cover. Let $I_1\in\mathcal{C}$ denote an interval containing $\inf A$ (or with boundary $\inf A$, if necessary). Next, let $I_2\in\mathcal{C}$ be the interval containing $\inf (A- I_1)$ with maximal upper bound. Then let $I_3\in\mathcal{C}$ be the interval containing $\inf(A- I_2-I_1)$ with maximal upper bound. Since $\sup I_3>\sup I_2$ and $I_2$ has maximal upper bound for intervals containing $\inf(A-I_1)$, it follows that $I_3>\inf(A- I_1)$. Continue inductively until finished.