Flag Algebra> How to create a magic square if we know a...
question mark

How to create a magic square if we know a date. Eg-22-04-2014
The first column should have 22 2nd-04 3rd-20 and 4th -14. I believe ramanujan created the same thing for his birthday but I don't know the method he used. Please help.

Jai Mahajan , 11 Years ago
Grade 12
anser 1 Answers
SHAIK AASIF AHAMED
Hello student,
Please find the answer to your question
Let the magic square be \begin{bmatrix} a & b & c & d\\ x1&x2 &x3 &x4 \\ x5 &x6 &x7 &x8 \\ x9 &x10 &x11 &x12 \end{bmatrix}wherea,b,c,drepresents the date.

The conditions that the rows, columns, and diagonals sum toa+b+c+dgives us9linear equations for12variables. The resulting system has rank8.
Therefore, any solution can be obtained by taking a particular solution and adding a linear combination of12−8=4"basis vectors" for the nullspace of the system.

The matrix \begin{bmatrix} a & b & c & d\\ c&d &a &b \\ d &c &b &a \\ b &a &d &c \end{bmatrix}is a magic square with the correct top row.

The following4matrices form a basis of the nullspace of the system (all rows, cols, diags sum to0):
\begin{bmatrix} 0 & 0 & 0 & 0\\ 2&-1 &-1 &0 \\ -2&1 &1 &0 \\ 0 &0 &0 &0 \end{bmatrix}\begin{bmatrix} 0 & 0 & 0 & 0\\ 1&0 &0 &-1\\ -1&0 &0 &1 \\ 0 &0 &0 &0 \end{bmatrix}\begin{bmatrix} 0 & 0 & 0 & 0\\ 1&0 &-1 &0\\ -1&1 &0 &0 \\ 0 &-1 &1 &0 \end{bmatrix}\begin{bmatrix} 0 & 0 & 0 & 0\\ 2&-1 &0 &-1\\ -1&1 &0 &0 \\ -1 &0 &0 &1 \end{bmatrix}
Take the first matrix and add any linear combination of the above four matrices to get a solution.
For example for 14-aug-2014 the magic squares will be
1stmatrix
014 008 020 014
022 023 006 005
008 024 003 021
012 001 027 016
2ndmatrix
014 008 020 014
022 023 005 006
001 018 010 027
019 007 021 009
3rd matrix
014 008 020 014
022 023 005 006
007 024 004 021
013 001 027 015
4th matrix
014 008 020 014
022 023 003 008
005 024 006 021
015 001 027 013


Last Activity: 11 Years ago
star
LIVE ONLINE CLASSES

Prepraring for the competition made easy just by live online class.

tv

Full Live Access

material

Study Material

removal

Live Doubts Solving

assignment

Daily Class Assignments