Problem: Let $X$ be a metric space and let $A$ be an open set of $X$ containing a point $x \in X$. Prove that there exists an $\epsilon > 0$ such that $B_{\epsilon}(x)$ is strictly contained in $A$.
Proof Attempt:
Case 1: $\partial A = \emptyset$
Since $X$ is a metric space, this implies that $A$ is clopen. The only clopen sets of a metric space are $\emptyset$ and the entire space. $A$ contains $x$, so it cannot be empty and thus $A = X$, so any $\epsilon > 0$ will suffice.
Case 2: $\partial A \neq \emptyset$
Let $\displaystyle \epsilon = \frac{1}{2}\inf_{p \in \partial A}{d(p,x)}$, where $d$ is the metric of $X$. Note that $\epsilon \neq 0$ or else this would imply that $x \in \partial A$, which contradicts the hypothesis that $A$ contains $x$ and that $A$ is an open set. So $\epsilon > 0$. Then $B_{\epsilon}(x)$ is strictly contained in $A$ (I'm not sure how to justify this part). $\blacksquare$
Is this proof correct? How do I finish the proof? Thanks.
Your proof is flawed. The part that says "the only clopen sets of a metric space are $\emptyset$ and the entire space" is true only when $X$ is connected.
Moreover, your statement works only if $|A| \geq 2$.
Here's a revised argument:
By the definition of a base for the metric space $X$, you can find an open ball $x \in B_{\rho}(x^*) \subseteq A$. Since $x$ is an internal point, you can assume, W.L.O.G., that $\exists \epsilon >0:B_{\epsilon}(x) \subseteq A$.
If $B_{\epsilon}(x) = A$, since a metric space is Hausdorff and $A$ has at least two points, let's say $x,x' \in A$, you can find two open sets $x\in U$ and $x' \in V$ separating them from each other. Now that $U \neq A$, find a ball $B_{\delta}(x) \subseteq U \neq A$ and you're done.
If $A$ has only one point, your statement is wrong as cleverly noted by Adayah. Indeed, if $A=\{x\}$ it's obvious that it cannot strictly contain an open ball.