UPSC 2020 Maths Optional Paper 1 Q1a — Step-by-Step Solution
10 marks · Section A
Question
Consider the set of all real magic squares. Show that is a vector space over . Give examples of two distinct magic squares.
Technique
Subspace test (nonempty + closure) inside ; line-sum conditions are linear.
Solution
Definition adopted. An real matrix is a magic square if there is a common number (the magic sum, which may depend on ) such that every row sum, every column sum, and the two principal diagonal sums all equal :
(We do not require the entries to be distinct positive integers; that combinatorial restriction is not a linear condition. With distinct-integer entries the set is not even closed under addition, so it could never be a vector space. The standard interpretation of this UPSC question is the linear one above.)
Step 1 — is a subset of the vector space
, the set of all real matrices with entrywise addition and scalar multiplication, is a real vector space (standard). It suffices to show is a subspace: a nonempty subset closed under addition and scalar multiplication. Closure gives all eight axioms by inheritance.
Step 2 — is nonempty (contains )
The zero matrix has every row, column and diagonal summing to , so with magic sum . Hence .
Step 3 — Closure under addition
Let with magic sums . For any row ,
independent of . The identical computation holds for every column and for both diagonals. Thus has all its rows, columns and diagonals equal to the common value , so .
Step 4 — Closure under scalar multiplication
Let with magic sum and . For any row ,
and likewise for columns and diagonals. Hence with magic sum .
Step 5 — Conclusion
is a nonempty subset of closed under addition and scalar multiplication; therefore is a subspace of and in particular a vector space over .