Magic Squares
Rows, columns, and diagonals summing alike defines a subspace of square matrices, and computing its dimension counts how many can exist.
5 exercises
Exercise 1
Let be a magic square with magic number .
-
Prove that the sum of ’s entries is .
-
Prove that .
-
Prove that is the average of the entries in its row, its column, and in each diagonal.
-
Prove that is the median of ’s entries.
Exercise 2
Solve the system , , , , , and .
Exercise 3
Show that .
Exercise 4
Let the trace function be . Define also the sum down the other diagonal .
-
Show that the two functions are linear.
-
Show that the function given by is linear.
-
Generalize the prior item.
Exercise 5
A square matrix is semimagic if the rows and columns add to the same value, that is, if we drop the condition on the diagonals.
-
(a) Show that the set of semimagic squares is a subspace of . (b) Show that the set of semimagic squares with magic number is also a subspace of .
Adapted from Linear Algebra © 2016 Jim Hefferon. Licensed under CC BY-SA 3.0 US. Source: Linear Algebra. Imported at revision df2262e.