where b is a basis