This gives a detailed explanation on vector spaces.