Magic Square Physics

The study of magic squares has a long, long history. In ancient Babylonian times, these array of numbers were held to have magical powers. Over the years, they have also served as protective charms and religious symbols.

At the recreational level, they’re fun for all ages, says Peter Loly of the University of Manitoba.

Loly himself has investigated the “physical” properties of magic squares—treating the numbers of each such square as physical quantities.

A magic square is a square matrix drawn as a grid filled with numbers. It consists of a set of integers arranged in the form of square so that the numbers in each row, column, and diagonal all add up to the same total. If the integers are consecutive numbers from 1 to n2, the square is said to be of nth order. The magic sum itself is given by n(n2 + 1)/2.

Suppose, for example, you interpret the numbers as masses. You can then determine a magic square’s moment of inertia about a given axis of rotation. For any specific case, you obtain the moment of inertia, In, of a magic square of order n about an axis at right angles to its center by summing mr2 for each cell, where m is the number centered in a cell and r is the distance of the center of that cell from the center of the square measured in units of the nearest neighbor distance.

You find that the moment of inertia, Iz, about the square’s center (an axis at right angles to the square) is twice the moment of inertia about an axis of rotation along the center row or column.

In general, you can show that, for order n, Iz = [n2 + (n4 – 1)]/12.

So, for n = 3, Iz = 60; for n = 4, Iz = 340.

“This is the only property of magic squares, aside from the line sums, which is solely dependent on the order of the square, n,” Loly and Adam Rogers note in a paper published in 2004 in the Canadian Undergraduate Physics Journal.

The same formula applies to semi-magic squares, which don’t meet the standard requirement that diagonals also sum to the magic number.

Such an analysis can be extended to magic cubes. A magic cube consists of n3 numbers, arranged so that each row, column, and main diagonal give the same sum. In the case, the magic constant is n(n3 + 1)/2.

Here’s one example.

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

The three layers (above) of a 3-by-3 magic cube.

Loly and Rogers show that the moment of inertia of a magic cube is n3(n3 + 1)(n2 – 1)/12. In effect, they demonstrate that magic cubes have the same inertial form as a spherical top.

It’s also possible to consider the numbers of magic squares to be electric charges and to extend such analyses to higher dimensions. Loly has even calculated the so-called eigenvalues of magic squares, which are related to their “fundamental frequencies” if you were to set these squares ringing like a bell.

“When treated as mass distributions, magic squares give clear and accessible examples of the properties of the moment of inertia,” Loly says. “When treated as matrices, magic squares also serve as exceptional examples of some advanced linear algebra theorems.”


Check out Ivars Peterson’s MathTrek blog at http://blog.sciencenews.org/.

Use up and down arrow keys to explore.Use right arrow key to move into the list.Use left arrow key to move back to the parent list.Use tab key to enter the current list item.Use escape to exit the menu.Use the Shift key with the Tab key to tab back to the search input.
Logo

Looks like your ad blocker is on.

×

We rely on ads to keep creating quality content for you to enjoy for free.

Please support our site by disabling your ad blocker.

Continue without supporting us

Choose your Ad Blocker

  • Adblock Plus
  • Adblock
  • Adguard
  • Ad Remover
  • Brave
  • Ghostery
  • uBlock Origin
  • uBlock
  • UltraBlock
  • Other
  1. In the extension bar, click the AdBlock Plus icon
  2. Click the large blue toggle for this website
  3. Click refresh
  1. In the extension bar, click the AdBlock icon
  2. Under "Pause on this site" click "Always"
  1. In the extension bar, click on the Adguard icon
  2. Click on the large green toggle for this website
  1. In the extension bar, click on the Ad Remover icon
  2. Click "Disable on This Website"
  1. In the extension bar, click on the orange lion icon
  2. Click the toggle on the top right, shifting from "Up" to "Down"
  1. In the extension bar, click on the Ghostery icon
  2. Click the "Anti-Tracking" shield so it says "Off"
  3. Click the "Ad-Blocking" stop sign so it says "Off"
  4. Refresh the page
  1. In the extension bar, click on the uBlock Origin icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the uBlock icon
  2. Click on the big, blue power button
  3. Refresh the page
  1. In the extension bar, click on the UltraBlock icon
  2. Check the "Disable UltraBlock" checkbox
  3. Marque la casilla de verificación "Desactivar UltraBlock"
  1. Please disable your Ad Blocker
  2. Disable any DNS blocking tools such as AdGuardDNS or NextDNS

If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers).