TITLE: Quaternions as an Algebra
QUESTION [10 upvotes]: I'm lacking some vital understanding about quaternions and algebras in general. If we first define $V=\{a+bi+cj+dk|a,b,c,d\in\mathbb{R}\}$. Then we define scalar multiplication, vector multiplication, addition e.t.c. But as I understand it, aren't $1,i,j,k$ meant to be vectors, meaning that $bi$ for example has to already be defined even for the set to be defined. Very confused! As usual thanks for any replies!

REPLY [2 votes]: Mull over this: when you define polynomials over $x$ in terms of $x$, do you have trouble accepting $x$ alone as a polynomial? 
If it helps, you could just think of $1,i,j,k$ as symbols, with no special properties other than being distinct. Then you define quaternions by

declaring the underlying set to be formal expresions of the form $a+bi+cj+dk$, whose nicknames are "quaternions." 
declaring all the addition multiplication rules you need to make the implied addition and multiplication mean something official (like $1\cdot x=x$, $ij=-ji$, $ai+bi=(a+b)i$, distributivity, etc.) 

When both of these steps are done, the four original symbols are represented in the formal set: e.g. $0\cdot 1+1i+0k+0j$ is the same thing as $i$, and henceforth would be a "quaternion."

Both polynomial rings and quaternions can be viewed as building rings out of generators and relations.
I'm guessing you're familiar with polynomial rings in two variables, like $F[x,y]$. When we build those there is an assumption that $xy=yx$... but do we really need to assume that? No! The notation $F\langle x,y\rangle$ is often used to denote the polynomial ring in "noncommuting indeterminates," and it has more elements in the sense that $xy$ and $yx$ are different things, $xyx$ and $x^2y$ are different, and so on.
(And really, there's nothing stopping us from defining an even more general type of polynomial ring where the indeterinates are nonassociating, and $(xy)z\neq x(yz)$ and so on. But we have to stop digressing for the sake of discussion :) )
But $F\langle x,y \rangle$ and $F[x,y]$ are definitely related: its easy to see that $F[x,y]\cong F\langle x,y \rangle/(xy-yx)$, that is, the polynomial ring is a quotient of the noncommuting polynomial ring. The thing in the ideal we're modding out by is referred to as a relation because it specifies some extra property that we are enforcing in the quotient algebra.
Another example of this would be $\Bbb R[i]/(i^2+1)\cong\Bbb C$: you see, the symbol $i$ (nobody said anything about an imaginary number yet) is forced to have the property $i^2=-1$ in the quotient ring. Thus $i$ in the quotient ring becomes a complex number, along with all the other elements.
By now you're noticing that if this makes sense for complex numbers, then why not quaternions? Indeed, if you take $\Bbb H\cong \Bbb R\langle i,j,k\rangle/(i^2+1,j^2+1,k^2+1,ijk+1)$ since those are all the relations we need to bend the noncommuting polynomial ring into the quaternions. (Those aren't necessarily the best or the only relations that will do the trick, but I guess they are the most familiar.)