I have just learned about Clifford algebras and am a bit confused by the construction. My understanding is that there is a universal construction, but here is the one I was given for now (Szekeres's A Course in Modern Mathematical Physics):
Let $V$ be a real vector space with (an in general non-Euclidean) inner product $u\cdot v$, and $e_1,..., e_n$ an orthonormal basis such that the matrix of inner product components in this basis is given by $$g_{ij} = \begin{cases} \pm 1 & i=j \\\ 0 & i\neq j \end{cases}.$$ The Clifford algebra associated with this inner product space, denoted $\mathcal{C}_g$, is defined as the associative algebra generated by $1, e_1, e_2, . . . , e_n$ with the product rules $$e_i e_j +e_j e_i =2g_{ij}1, \, 1e_i =e_i1=e_i.$$
In particular, I am confused about this notion of an algebra "generated by" $V$. What does this mean? I am familiar with the definition of an algebra over a field as a vector space (say, $V$) with a product defined thereon, but $\mathcal{C}_g$ seems to be "bigger" than $V$ (as a set) given that it's later shown that $\dim \mathcal{C}_g = 2^n$ (whereas $\dim V = n$). That is, I am familiar with turning $V$ into an algebra over a field, so I'm not sure what's going on here (for example, I assume $1$ here is the multiplicative identity in $V$, but when turning $V$ into an algebra over a field I am in the past only familiar with defining structure constants with respect to a basis, and $1$ is not in our given basis here!).
In the end, I'm wondering what is the definition of algebra generated by a vector space being used? I couldn't find anything on Wikipedia which was intelligible to me.
Given a set $X$, you can form the free algebra $\mathbf{R}\langle X \rangle$. This algebra satisfies the usual universal property ascribed to "free" algebraic structures. In this case $\mathcal{C}_g$ is constructed by taking $\mathbf{R}\langle e_1,\ldots,e_n \rangle$ and quotienting out the ideal generated by the elements $e_i e_j + e_je_i - 2g_{ij}$ for all $i,j$. If we abuse notation and write $e_i$ to talk about its image in the quotient, then we can say that $\mathcal{C}_g$ is generated by $e_1,\ldots,e_n$ and $e_i e_j + e_j e_i = 2g_{ij}$ for all $i,j$. Informally speaking, $\mathcal{C}_g$ is the "largest" algebra containing the $e_i$ subject to the given relations.