This question is related to one asked by somebody else here; however, unlike them, I do not want to show that a vector space over a field $F$ and of dimension $n$ is isomorphic to the $n$-th direct power $F^{n}$ of $F$. Instead, I want to generalize this to the following case:
If $B$ is a basis for a vector space $V$ over $F$, I want to show that $V$ is isomorphic to the direct sum $\oplus_{\alpha \in B}F$ of copies of $F$ indexed by $B$.
To that effect, I am hoping to come up with an isomorphic map from $V$ to $\oplus_{\alpha \in B}F$.
So, suppose $V$ is a vector space over $F$. Then, since every vector space has a basis, denote this basis by $B = \{ v_{i} \}_{i \in I}$, where $I$ is some indexing set.
Then, since every vector $w \in V$ can be uniquely represented as a linear combination of basis elements, we have that $w = \sum_{i \in I}x_{i}v_{i}$.
Now, this appears to give us a bijective map $\displaystyle g:V \to \oplus_{\alpha \in B}F$ defined by $\displaystyle w \mapsto \oplus_{i \in I}x_{i}$.
Is this the correct map and/or the correct way to denote it? It seems a little weird to me.
Also, I would need to show that such a map is a homomorphism. I'm not sure how I would write this: I tried letting $w, \overline{w} \in V$ where $\displaystyle \overline{w} = \sum_{i \in I} \overline{x}_{i}\overline{v}_{i}$.
Then, $g(w) = \oplus_{i\in I}x_{i}$, $g(\overline{w}) = \oplus_{i \in I}\overline{x}_{i}$, but I'm not sure how to add these two direct sums together. In addition, does $g(w+\overline{w}) = \oplus_{i \in I} x_{i} + \overline{x}_{i}$? Or does it equal $\oplus_{i \in I} x_{i}\overline{x}_{i}$? I know that the direct sum is the cartesian product when all but finitely many of the summands are zero, but I am getting confused about what each side of this homomorphism should look like - if I am even getting the homomorphism itself correct, that is.
I thank you in advance for your help and patience!
Think $\bigoplus_{\alpha \in B}F$ as a set consisting of finite support functions $B\rightarrow F$ as AreaMan says in (1.). Every vector in $V$ can be expressed as a finite linear combination of $B$, that is, if $w \in V, w \neq 0$, then $w = \sum_{i = 1}^m a_{s_i}v_{s_i}$ where $v_{s_i} \in B, a_{s_i} \in F, a_{s_i} \neq 0$ (I use $s_i$ as indexes, they are not necessarily the first $m$ vectors of $B$), then your function $g:V\rightarrow \bigoplus_{\alpha \in B}F$ maps $w$ to the function $f_w$ such that: $$ f_w(x) = \begin{cases} a_{s_i} & \text{if } x = v_{s_i} \text{ for some $1\leq i\leq m$}\\ 0 & \text{otherwise} \end{cases} $$ ($f_w$ gives you the coefficients of $w$ when expressed as a linear combination of $B$, and $0 \mapsto f_0$ where $f_0(x) = 0$ for every $x$). You need to check:
In $\bigoplus_{\alpha \in B}F$ sum and scalar multiplication is defined pointwise, that is, if $s,t \in \bigoplus_{\alpha \in B}F$ and $\lambda \in F$ then $s+t$ and $\lambda s$ lie in $\bigoplus_{\alpha \in B}F$ and are defined as follows: $$(s+t)(x) = s(x)+t(x)$$ $$(\lambda s)(x) = \lambda s(x)$$ for every $x \in B$ (operations on the right side are those of $F$).
The direct sum of vector spaces is a subspace of the direct product, that is: $$\bigoplus_{i \in I}V_i \leq \prod_{i \in I}V_i,$$ when $I$ is an infinite set the direct sum is a proper subspace, the sum and scalar multiplication is defined pointwise as above.