I have a question about the proof of the following result (from Aliprantis and Border). Recall that $ker f = \{x \in X: f(x)=0\}$.
Theorem. Let $f_1,...,f_n$ be linear functionals on a vector space $X$. Then $f$ lies in the span of $f_1,..., f_n$ (that is, $f = \sum_{i=1}^n \lambda_if_i$ for some scalars $\lambda_1,...,\lambda_n$) if and only if $\bigcap_{i=1}^n ker f_i \subset ker f$.
Proof. If $f = \sum^n_{i=1} \lambda_i f_i$, then clearly $\bigcap^n_{i=1} ker f_i \subset ker f$. For the converse, assume that$\bigcap^n_{i=1}ker f_i \subset ker f$. Then $T:X\to \mathbb R^n$ via $T(x)= (f_1(x),...,f_n(x))$ is a linear operator. Since$\bigcap^n_{i=1}ker f_i \subset ker f$, if $(f_1(x),..., f_n(x)) = (f_1(y),..., f_n(y))$, then $f_i(x − y) = 0$ for each $i$ and so $f(x) = f(y)$. Thus the linear functional $\phi:T(X) \to \mathbb R$ defined by $\phi(f_1(x),...,f_n(x) = f(x)$ is well defined. Now note that $\phi$ extends to all of $\mathbb R^n$, so there exist scalars $\lambda_1,...,\lambda_n$ such that $\phi(\alpha_1,...,\alpha_n) = \sum^n_{i=1} λ_i\alpha_i$. Thus $f(x) = \sum^n_{i=1} \lambda_i f_i(x)$ for each $x \in X$, as desired.
I'm having trouble seeing why $\phi$ can be extended to all of $\mathbb R^n$. The way the proof is written, it seems like this step should be obvious, so I guess I'm missing something easy. Any hints would be appreciated.