Consider a normed vector space $(X,\|\cdot\|).$ Show that $\|\cdot\| : X \to \mathbb{R}$ is continuous when $X$ is given the topology generated by the metric $d(x,y) = \|x−y\|.$
To show it is continuous I tried taking a basis element of $\mathbb{R}$ as $(a,b)$ and showing that the set of points such that $\|x-y\|$ lies in $(a,b)$ is an open set. But I'm really confused with how to go about it. It would be really helpful if someone could tell me how to proceed. Another extension of this question is showing the scalar product is also continuous.
It's easier to approach this problem by using the fact if $X, Y$ are metric spaces then $f: X \rightarrow Y$ is continuous if and only if for each convergent sequence $x_n \rightarrow x$ one has $f(x_n) \rightarrow f(x)$. The continuity of the norm follows almost immediately from this.
But if you want to approach with your method, i.e. show $S = || \cdot ||^{-1}((a, b))$ is open in $X$, just recall the topology generated by a metric $d$ consists of open $d$-balls, i.e. $B_x(r) = \{y \in X \mid d(x, y) < r\}$. Let $x \in S$. We want to find $r > 0$ such that $B_x(r) \subseteq S$. (That is, there is an open neighbourhood of $x$ contained in $S$.) Note $r$ depends on how far $||x||$ is to $a$ and $b$; it might help to think of a simple case such as $X = \mathbb R^2$ to get a feel of what $r$ should be.
Once you've chosen $r$, to prove $B_x(r) \subseteq S$ we want to show if $y \in B_x(r)$ then $||y|| \in (a, b)$, and you can use the triangle inequality to establish the upper bound and the reverse triangle inequality to show the lower bound. It might help that $\min(a, b) \leq a$ and $\min(a, b) \leq b$.