Hostname: page-component-77c89778f8-5wvtr Total loading time: 0 Render date: 2024-07-21T08:51:12.104Z Has data issue: false hasContentIssue false

The Dimension of the Space of Magic Squares

Published online by Cambridge University Press:  22 September 2016

N.J. Lord*
Affiliation:
Wolfson College, Oxford 0X2 6UD

Extract

The following note was prompted by the introductory remarks on magic squares in the stimulating source-book on linear algebra by T. J. Fletcher.

Let M(n) denote the vector space (over the rationals Q) of all nxn matrices with rational entries. Then a matrix A ∈ M(n) is said to be magic if all rows, all columns and both main diagonals of A have the same sum. Thus, as a trivial example, if B denotes the matrix all of whose entries are 1, then qB is magic for any q ∈ Q. We will denote the set of all nxn ‘magic-matrices’ by Mag(n); it is a straightforward exercise to check that Mag(n) is a subspace of M(n), and the purpose of this note is to give a reasonably efficient computation of its dimension.

Type
Research Article
Copyright
Copyright © Mathematical Association 1982

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

1. Fletcher, T. J., Linear algebra through its applications. Van Nostrand (1972).Google Scholar
2. Herstein, I. N., Topics in algebra, Xerox (1964).Google Scholar