Let $(X,\|.\|)$ be a complex Banach space. Let $S$ be a dense subspace of $X$. Let $f:X\longrightarrow\mathbb{C}$ be a map such that $f$ is linear and bounded on $S$ and also $f$ is homogeneous on $X$ i.e $f(\alpha x)=\alpha f(x)$ for every $\alpha\in \mathbb{C}$ and $x\in X$.
Can we say that $f$ is continuous or linear on $X$?
I know that the Hahn Banach theorem assures the existence of a unique linear and bounded extension to $f$ restricted to $S$. But I ask for the linearity or continuity of $f$ itself on all of $X$.
No, $f$ is not necessarily linear or continuous. Let $X = l^2$ with elements denoted $x=(x_0, x_1, \dots)$. Consider the hemisphere $H = \{ \|x\| = 1, x_0 \ge 0\}$ and let $g : H \to \mathbb C$ be any function. Define $h : X \to \mathbb C$ by $h(x) = \begin{cases} g \left( \frac x {\|x\|} \right) \|x\| , & x_0 \ge 0 \\ g \left( -\frac x {\|x\|} \right) \|x\|, & x_0 < 0 \end{cases}$ and notice that it is a homogeneous, not necessarily continuous functional on $X$. Define $f : X \to \mathbb C$ as $f(x) = \begin{cases} 0, & x \in S \\ h(x), & x \in X \setminus S \end{cases}$. To see that $f$ is homogeneous, notice that $x \in S \iff rx \in S \ \forall r \in \mathbb \setminus \{0\}$. Notice that, in general, $f$ is neither continuous, nor linear.