A square matrix is called half-magic if the sum of the numbers in each row and column is the same. The common sum in each row and column is denoted by and is called the magic sum of the matrix . Let be the vector space of half-magic squares.
(a) Find an ordered basis for .
, .
(b) Find the coordinate vector of in your chosen ordered basis .
.