FacebookTwitter
Hatrack River Forum   
my profile login | search | faq | forum home

  next oldest topic   next newest topic
» Hatrack River Forum » Active Forums » Books, Films, Food and Culture » Math Puzzle

   
Author Topic: Math Puzzle
MEC
Member
Member # 2968

 - posted      Profile for MEC   Email MEC         Edit/Delete Post 
I was playing around with numbers the other say, and I came up with this problem:

If you construct a 3 x 3 Matrix, where entries in the matrix correspond with the numbers of a magic square composed of the numbers 1 through 9, what does each row and column of the inverse of this matrix add to?

Posts: 2489 | Registered: Jan 2002  |  IP: Logged | Report this post to a Moderator
Achilles
Member
Member # 7741

 - posted      Profile for Achilles           Edit/Delete Post 
Is this going to be on the test?
Posts: 496 | Registered: Apr 2005  |  IP: Logged | Report this post to a Moderator
Dagonee
Member
Member # 5818

 - posted      Profile for Dagonee           Edit/Delete Post 
It's pretty much just what you think it would be, according to a couple of tests I just ran using an online matrix calculator. But I'm sure as heck not going to prove it. [Smile]

(It wouldn't be that hard, just a little long.)

Posts: 26071 | Registered: Oct 2003  |  IP: Logged | Report this post to a Moderator
Corwin
Member
Member # 5705

 - posted      Profile for Corwin           Edit/Delete Post 
What's the magic square again? Same sum on lines, columns and diagonals?
Posts: 4519 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
MEC
Member
Member # 2968

 - posted      Profile for MEC   Email MEC         Edit/Delete Post 
yes.

***Answer***

and essentially the inverse of a magic square will be a magic square where all the rows columns, and diagonals add up to the inverse of the sum of the original magic square.

I think this is true for all odd magic squares, although I wouldn't want to make a proof.

***Answer***

Posts: 2489 | Registered: Jan 2002  |  IP: Logged | Report this post to a Moderator
Dagonee
Member
Member # 5818

 - posted      Profile for Dagonee           Edit/Delete Post 
The proof is basic algebra.

It's just a LOT of basic algebra. [Smile]

Posts: 26071 | Registered: Oct 2003  |  IP: Logged | Report this post to a Moderator
MEC
Member
Member # 2968

 - posted      Profile for MEC   Email MEC         Edit/Delete Post 
I didn't say that I couldn't, just that I wouldn't want to.
[Razz]

Posts: 2489 | Registered: Jan 2002  |  IP: Logged | Report this post to a Moderator
NewLurker
New Member
Member # 11525

 - posted      Profile for NewLurker           Edit/Delete Post 
Very neat MEC! I *had* to delurk for this one [Big Grin]

It does hold true for all magic squares. Turns out the proof is not that long.

Proof :
Let A be a nxn magic square with sum S. To sum the rows of A, we can post-multiply it by the vector v of all ones i.e transpose([1 1 1 ...1 ]).

Then, since all of A's rows sum to S,
Av = trans([S S S ....S]) = Sv
i.e Av = Sv (1)

(For example, in the 3x3 case, A is our magic square, S is 15 and v is
| 1 |
| 1 |
| 1 |
)

To sum inv(A)'s rows, we need inv(A)*v. So, multiply Eqn (1) by inv(A).

=> inv(A)*A*v = S*inv(A)*v
=> v = S*inv(A)*v.

Divide both sides by S

=> inv(A)*v = 1/S*v
i.e the Sum of the rows of inv(A) is 1/S.
So, it turns out that we only need that all the rows of the matrix sum to the same number for the inverse to have all row sums to be 1/S.
The columns work out in the same way.

The general case is easier to prove than the specific 3x3 case! I love math [Big Grin]

Posts: 4 | Registered: Mar 2008  |  IP: Logged | Report this post to a Moderator
Mike
Member
Member # 55

 - posted      Profile for Mike   Email Mike         Edit/Delete Post 
Welcome, NewLurker. Nice Proof! [Smile]
Posts: 1810 | Registered: Jan 1999  |  IP: Logged | Report this post to a Moderator
   

   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Hatrack River Home Page

Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2