An exercise gives the following,
let $\ell^{1}= \{ (x_n): \sum_{n=1}^{\infty}\vert x_n\vert < \infty\}$
be a vector space with norm $\Vert x \Vert_1=\sum_{n=1}^{\infty}\vert x_n\vert$
$D=\{ (q_n): q_n\in \Bbb Q \text{ for all n and } \exists N \in \Bbb N \text{ s.t } q_n=0 \text{ for all } n > N\}$
(Set of rational valued sequences that are eventually zero).
I need to show that
a) $D$ is a countable subset of $\ell^{1}$
b) $D$ is dense in $\ell^{1}$
These 2 will imply that $\ell^1$ is a separable space.
I can use the fact that $\ell^{1}$ is a normed space.
I can not get my head around showing that something is a countable subset. I understand that countable means we can number all the elements with the natural numbers but applying it to sets of sequences is a bit of a stretch for me. A dense set $A$ is one where any $x\in X\setminus A$ is a limit point of $A$. I'm not even sure where to start with this one. Any examples/hints would help.
You can write $$ D=\bigcup_m\{(q_n):\ q_j=0\ \text{ if } j>m\}. $$ As a countable union of countable is countable, now you only need to show that each set is countable. And the set $\{(q_n):\ a_j=0\ \text{ if } j>m\}$ is basically a finite cartesian product of countable, so countable.
To show that $D$ is dense, first show that given $\varepsilon>0$ and $x\in\ell^1$, you can find a sequence $y$, with finitely many terms nonzero, with $\|x-y\|<\varepsilon$ (for this, use that the tail of $x$ is arbitrarily small, since $x\in\ell^1$.
Finally, show that you can approximate the $y$ above with a $y'$ that only has rational entries.