Possible Duplicate:
$T$ is continuous if and only if $\ker T$ is closed
Let $T: X\to \mathbf{R}$ be linear. Suppose that $X$ is a Banach space. I want to show that $T$ is continuous if and only if $\ker T $ is closed.
My Attempt.
$(\Rightarrow)$ Suppose $T$ is continuous. Then if $x_n\to x$, then $T(x_n)\to T(x)$. Let $x_n \in \ker T$. Then $T(x_n) = 0$. Using continuity, $$ T(x) = \lim_{n\to \infty} T(x_n) = 0.$$ Hence $x\in \ker T$ and thus $\ker T$ is closed.
$(\Leftarrow)$ Suppose $T$ is not continuous. So $T$ is not bounded. i.e. $\exists$ a sequence $x_n$ such that $T(x_n) \to \infty$ as $n\to \infty$. Let $a\notin \ker T$. Then defining $$x_n' = a - \frac{T(a)}{T(x_n)}x_n ,$$ it is clear that $T(x_n') = 0$ and so $x_n'\in \ker T$. Also $x_n' \to a \notin \ker T.$ So $\ker T$ is not closed. Hence $\ker T$ closed implies that $T$ is continuous.
Have I approached this question correctly? Are there other ways of approaching it?