Jump to content

Talk:Magic square

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Reddevyl (talk | contribs) at 06:08, 27 June 2011 (Unsolved problems in Mathematics?: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconMathematics B‑class Mid‑priority
WikiProject iconThis article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
BThis article has been rated as B-class on Wikipedia's content assessment scale.
MidThis article has been rated as Mid-priority on the project's priority scale.

Template:FAOL

M+N, M*N, kM

I believe that if two matrices M, N are magic squares, then M+N, M*N, kM are also magic squares. If I'm right, could someone add this?

Also, out of interest -- let M be the set of all n x n magic squares, for some n. Let V be the real vector space (M,+), where + is matrix addition. Does V exist? How many dimensions has V? Can you give a basis for V? (I am asking this question for all n, but would appreciate answers even for a particular n > 1). -- SJK

Addition of magic squares produces magic squares (ignoring that the coefficients are not consecutive integers). Multiplication of magic squares, however, does not: 8163574922 is
91 67 67
67 91 67
67 67 91. -phma

To SJK:

Provided your definition of a magic square is just that the columns, rows and long diagonals have the same sum, then the magic squares with real entries do form a vector space over R.

For n = 2, the dimension is 1, because all the entries must be equal.

For n = 3, the dimension is 3, because you can choose the first row freely, but this then determines all the remaining entries. The following three matrices form a basis:

/ 3  0  0 \      / 0  3  0 \      / 0  0  3 \
|-2  1  4 |      | 1  1  1 |      | 4  1 -2 |
\ 2  2 -1 /      \ 2 -1  2 /      \-1  2  2 /

I don't know how to determine the dimension in general, although it must be at least n2-2n-1 and no more than n2. --Zundark 14:51 Sep 13, 2002 (UTC)

The dimension is well known to be n2-2n-1. Zaslav 03:17, 23 January 2006 (UTC)[reply]

Actually, it's n2-2n The math works out this way, and I can give bases for the 3x3 and 4x4 vector space (of size 3 and 8 resp.) --128.61.115.86 (talk) 05:11, 24 April 2009 (UTC)[reply]
Figured out the confusion: the well-known result (the extra minus one) is WITH the restriction to the first consecutive n2 integers. This restriction fixes the magic number, reducing the number of unknowns by one, but it also destroys the vector spaceness of the set. —Preceding unsigned comment added by Quintopia (talkcontribs) 18:04, 24 April 2009 (UTC)[reply]

Loh-Shu magic square

Isn't there a legend that the Loh-Shu magic square was first seen written on the shell of a turtle? -- Tarquin 21:34 Feb 1, 2003 (UTC)

See [1] Cheers Chas zzz brown 07:59 Feb 2, 2003 (UTC)
See Lo Shu Square. —Herbee 17:53, 20 Mar 2005 (UTC)

The following section is not very enlightening, so I'm taking it out until someone can elaborate.

Euler showed how to derive magic squares from Latin squares.

Herbee 18:01, 20 Mar 2005 (UTC)


Yes, It is a legend. So that I personally believe that it is not a truth.--Meavel 06:05, 8 July 2007 (UTC)[reply]

Definition

  • Halló! I have some problems with the definition: Both according to Mathworld and to Harvey Heinz (this link should be included at #External links) the numbers start with 1 and end with n2.
  • I would suggest that Wikipedia should use the same definition. To my understanding the "other" squares are somehow related or just simple "magic patterns".
  • For analysis purposes more equivalent representations can be given: numbers from 0 to n2-1; odd numbers from -n2+1 to n2-1 and probably others.
  • I developed a set of templates to be used to ilustrate many properties of 4x4 type magic squares at meta:Category:4x4 type square. Please let me know if you have some time to work on this subject and to help to make a wikibook at en: in other languages. We should make some documenation first and a list of items to work on. Thanks in advance! Best regards Gangleri | Th | T 22:40, 28 July 2005 (UTC)[reply]

The term "magic square" covers many different though related ideas. They all have in common that the rows and columns have the same "magic sum". The diagonals should be included, but research mathematicians have often been very sloppy about that and other requirements; properly, a square that is magic for rows and columns, ignoring the diagonals, is "semimagic", not "magic". Recreational mathematicians (a different group from research mathematicians) have always included the diagonal sums in the requirements. I also have never heard of any magic squares whose entries are not integers, except in the vector-space generalization alluded to in another comment. Historically, squares with negative entries seem not to have appeared, but squares with 0 have appeared (centuries ago) and squares with entries that are consecutive integers but not starting with 1 have also appeared for centuries (usually, I think, as tools to make larger squares out of smaller ones). Squares with entries that are nonconsecutive integers have been studied in the twentieth century and possibly the nineteenth. Thus, your two references are excessively narrow and not historically justified.

Subtracting or adding any constant to the entries of a magic square, e.g., 1, will always give a magic square. This is so obvious that it seems silly to discuss it at length. (It might be worth a mention in the appropriate subsection, if there is one.)

Zaslav 03:28, 23 January 2006 (UTC)[reply]

Yang Hui's square and "table of Jupiter"

Constructing a magic square of doubly even order

It is necessary write the numbers from right to left? (Keyword: symmetry)

Western occult

  • Durer's Melancholia square, noted in the article, is reportedly based on the magic squares of his contemporary, occultist Heinrich Cornelius Agrippa. [2] Agrippa apparently assigned magic squares of the orders of 3 through 9 to the planets (and astrological/alchemical figures) Saturn, Jupiter, Mars, Sol (the sun), Venus, Mercury, and Luna (the moon) respectively, hence the "table of Jupiter" noted above. (See Agrippa's text for more.) I believe his "tables" would be inscribed on magic talismans, in hopes of harnessing the various virtues and powers of each particular planet.

Historic image available

If anyone's interested, I just uploaded Image:16th century arabic magic square.jpg. Couldn't see an obvious place to add it, so I thought I'd just let you know. — Laura Scudder 01:40, 10 February 2006 (UTC)[reply]

Ben Franklin and others

Mr. Franklin was a great fan of magic squares, and created quite a few HUGE (16x16, 24x24) magic squares with a number of interesting attributes.

I also recall a magic square that had to do with the 365 days in our year. After a brief web search, I found on this site: http://www.jainmathemagics.com/page/1/default.asp that it says "This 27 x 27 Magic Square Calendar has, as its central cell, the number 365 which is the number of days in a solar year. It has 364 dark cells which represent the number of nights, and 365 white cells which represent the number of days. The Magic Sum of the inner and central 3x3 square is 1,095 being the number of days in a 3 year period. The Magic Sum of the 9x9 square is 3,285 being the number of days in a 9 year period. The Magic Sum of the whole 27x27 square is 9,855 being the number of days in a 27 year period."

I also recall a few other crazy interesting magic squares (http://mathworld.wolfram.com/PrimeMagicSquare.html is neat), and know that there have been some famous people (besides Franklin and Durer) that dabbled with/used magic squares.

If anyone wants to run with this idea to add a section on a list of famous people who played with magic squares or who wants to add a section talking about the many connections with various occultist/whatever things ... go ahead. Email me at cht13er a t gmaildotcom if you like :-) cheater 14:03, 15 March 2006 (UTC)[reply]

Magic Squares of odd order

Perhaps I have missed something, but aren't the first and second paragraphs of this section saying the same thing? Bio 18:08, 22 November 2006 (UTC)[reply]

Source of info

I saw this site on smagic quares and I think the construction of magic squares there is easier. Can someone investigate this? --Blonkm 02:38, 17 December 2006 (UTC)[reply]

Islam

Islam is a religion, I think the part titled "Islam" should be renamed. It is about arabic uses of magic squares. It should be called "Arabs".

What about mid-eastern? Yongke 17:09, 11 March 2007 (UTC)[reply]


More "See also"

I moved 2 cube links to end, then added 3 hypercube links.Harvey Heinz 17:11, 12 September 2007 (UTC)[reply]

"Middle Number" and "Last Number"

In the section describing how to construct a magic square of odd order, the article posted two assertions about the properties of "Middle Number" and "Last Number", namely:

The "Middle Number" is always in the diagonal bottom left to top right.
The "Last Number" is always opposite the number 1 in an outside column or row.

Queries. Counterexample for a magic square of order 5:

3 9 12 20 21
17 25 1 8 14
6 13 19 22 5
24 2 10 11 18
15 16 23 4 7

The "Middle Number" is 13, the "Last Number" is 25, but 13 (Middle Number) is not always in the diagonal bottom left to top right and 25 (Last Number) is not always opposite 1 in an outside column or row for an order 5 (odd order) magic square.

A very good site on magic square, where I found the counterexample from, is http://www.magic-squares.de/general/general.html.

In my opinion, an order n magic square must be a square array of natural numbers from 1 to n2 arranged in a way such that every row, every column, and the two diagonals all sum to a constant. Other so-called magic squares that do not fit to this definition are not considered "magical" and beautiful for me. But again, that's just my opinion.

By the way, this article is hard to follow and seriously needs a lot of decoration, the magic squares look horrible.

Wei Cheng (talk) 10:30, 14 June 2008 (UTC)[reply]

The section is called "A method for constructing a magic square of odd order". The statements about the middle and last number only apply to magic squares constructed with that method. You are right that there exist other magic squares not having the same property. PrimeHunter (talk) 11:14, 14 June 2008 (UTC)[reply]
Thank you, PrimeHunter, for pointing out my mistakes. I skimmed the article, so I didn't pay close attention to the wording. I would delete the formulae under that section since it is kind of trivial, insignificant and useless. We are already told an easy method of constructing odd order magic squares, so why bother with the more complicated formulae, which only help locate two numbers? Also, for the history of magic squares, why not just directly link from the Lo Shu Square article, with the pictorial graph of order 3 magic square rather than the modern representation? Wei Cheng (talk) 10:08, 15 June 2008 (UTC)[reply]

Siamese method

A simple example of the Siamese method. Starting with "1", boxes are filled diagonally up and right (↗). When a move would leave the square, it is wrapped around to the last row or first column, respectively. If a filled box is encountered, one moves vertically down one box (↓) instead, then continuing as before.

Here a nice animation of the Siamese method, which I guess could be used also in the main Magic square article. Cheers PHG (talk) 04:05, 19 August 2008 (UTC)[reply]

Special Case for 3x3

I was combing the internet trying to find a method to make an arbitrary 3x3 magic square -- not a normalized one. Meaning the sum doesn't have to be 15. I remember in grade school there was a simple method they taught to do it, but I couldn't remember it.

I worked out the trick, or a method. In a 3x3 magic square the center is always 1/3 of the sum. Knowing that it's easy to make an arbitrary magic square. Just choose the top 3 numbers of the square and make sure the sum is a multiple of 3 greater than 15. Say

7 9 2

We know the center square is 6 since the sum is 18. From that you can work out the whole square easily.

792
1611
1035

Anyway I thought it would be a nice addition to the methods of construction, maybe someone wants to add it in.

David Ashley —Preceding undated comment was added at 03:04, 8 November 2008 (UTC).[reply]

Read about this what properties does it have?!?

I saw this "magic square" somewhere, what properties does it have?!? It's not magic!

89 3 34
8 21 55
13 144 5

Professor M. Fiendish, Esq. 03:23, 13 September 2009 (UTC)[reply]

A New Interpretation of Odd Magic Squares in the Lo Shu format

FYI A New Interpretation of Odd Magic Squares in the Lo Shu format has been prodded now - see Wikipedia talk:WikiProject Mathematics#New article help‎. Rd232 talk 11:30, 19 September 2009 (UTC)[reply]

384

‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 23:09, 22 October 2009 (UTC)[reply]


Is This a Spam Link?

Should http://Magic-squares.net be linked to this page? Whie posted on Wikipedia's Magic Squares page, this discussion applies to all magic square catagory articles.

The powers-that-be think that this is a SPAM LINK. but

  • It is one of the oldest sites on magic squares on the Internet.(http://www.geocities.com/~harveyh before being forced to move in late October 2009). The new site URL is http://www.magic-squares.net/
  • It is one of the largest, most comprhensive, and well researched sites on magic hypercubes on the Internet (over 70 MB in 4 interconnected sites).
  • It contains extensive bibliographies, historical quotations and examples, statistics, a timeline, etc.
  • It can supply much additional material and many visual examples in support of this article and the other articles in the Magic Squares catagory).

Links to the above site have now all been removed from all magic square catagory articles. Because of how quickly this happened after my posting, I must assume it was done without proper review. Is that fair? I do not wish to get into a discussion of which web sites are better. But I do see existing links on these pages which clearly do not add to the material in the article at hand.

What do you think? --Harvey Heinz (talk) 23:56, 5 November 2009 (UTC)[reply]

Good site. Definitely not a spam link. Machine Elf 1735 (talk) 00:01, 1 January 2010 (UTC)[reply]

incorrect information

I think that some of the information in this article is incorrect. (1) There is no reference to magic squares of planets that I could find in either Agrippa's Three Books of Occult Philosophy or Magic or in Agrippa's Fourth Book of Occult Philosophy. It appears that the information in the wiki article comes from a blog of Mark Swaney. That is certainly not a primary source. If it is indeed from one of the Agrippa books, then that book and the page numbers in the book should be referenced.

(2) The magic square given for the Sun is not the same as that given on page 395 in Budge's book Amulets and Superstitions, Oxford University Press, 1930. —Preceding unsigned comment added by Haralick (talkcontribs) 05:37, 30 May 2010 (UTC)[reply]

More "references"

Added the reference Demirörs, Rafraf, and Tanik (1992). Scribbleink (talk) 22:40, 3 October 2010 (UTC)[reply]

Simplified explanation of Melancholia I magic square

For this magic square it could be noted that any combination of four numbers that exhibit a radial symmetry about the center add up to 34. In other words any four box locations that are in the same locations when the whole square is rotated 180 degrees or sometimes just 90 degrees will add up to 34. This is of course in addition to the other asymmetrical arrangements such as in columns, rows, and the three-square groupings' corners. — Preceding unsigned comment added by Carlsez (talkcontribs) 17:31, 20 January 2011 (UTC)[reply]

Cheating dice

There is a connection between magic squares and cheating dice. For example, use the rows of a 3x3 square as sides of triangular dice A, B and C:

  • A: 8, 1, 6
  • B: 3, 5, 7
  • C: 4, 9, 2

Each dice has the same total number of points. But if you throw any pair of dice:

  • A beats B 5 times out of 9.
  • B beats C 5 times out of 9.
  • C beats A 5 times out of 9.

I have not investigated whether this is true of all additive squares.

nrp@dog-days.co.uk —Preceding unsigned comment added by 87.112.8.225 (talk) 11:30, 16 March 2011 (UTC)[reply]

Unsolved problems in Mathematics?

I am not sure if Magic Squares should be in the "Unsolved problems in Mathematics" category.

Bande-Ali (talk) 06:08, 27 June 2011 (UTC)[reply]