cross-posted from: https://sopuli.xyz/post/22688165
Random thought on magic squares:
If I view the smallest possible non-trivial magic square
2 7 6 9 5 1 4 3 8since its rows and diagnoals sum up to
2+5+8 = 2+7+6 = 4+5+6 = 2+9+4 = … = 15Lets view it as a 3x3 Matrix, its determinant is Δ = -360 . Its inverse:
-37/360 19/180 23/360 17/90 1/45 -13/90 -7/360 -11/180 53/360note how this is a magic square, rows and diagonals sum up to
1/15.https://matrix.reshish.com/inverse.php
Now if you are really bored (I can not do this): proof that for any non trivial magic squares the inverse …
- exists (i.e. every non-trivial magic square has an inverse)
- is a magic square.
5 Comments
siriusmart@lemmy.world · 2 pts · 1y
what about this square, it does not have an inverse
glowing_hans@sopuli.xyz · 2 pts · 1y
That magic square would be called trivial, since it contains the same entry multiple times.
siriusmart@lemmy.world · 2 pts · 1y
was about to fall asleep but then PROPOSITION:
i.e. there r and infinite number of 1x1 magic squares, but there is only one case to deal with if we want to prove anytning about it
glowing_hans@sopuli.xyz · 2 pts · 1y
yeah once we have a non-invertible base we can construct many more magic squares using construction principles … Some of these for uneven size are outlined in mathloggers youtube videos …
For example the following will lead to a magic square, if we start from a non singular magic square we will end with one:
By doing this we transform …
into
Due to commutativity of addition operation these row/col swaps result in a "new" magic square. Row/coll swaps also dont change the inversibility of the matrix …
siriusmart@lemmy.world · 2 pts · 1y
this is actually interesting, im currently on bed so im not writing a proof, but the rule for a 3x3 magic square of conseqetive numbers seemed to be (tested on one other example) that its inverse is 1/(3*middle number), the 3 could be the dimension of the square?
if this is true, this begs the questions:
either way im gonna have a go at it when i wake up tmr, and im pinning this for being one of the coolests finds in the community