Suppose $T:X\rightarrow Y$ is a continuous linear map of Banach spaces, say. Let $D$ be a dense subspace of $X$ and assume $T$ is injective on $D$. Does it follow that $T$ is injective? I would guess not, but what is a counterexample?
Does this work if instead $X$, $Y$ are Hilbert Spaces? (I've tried some maps on $l^2$)