All for One

A flock of starlings masses near sunset over Gretna Green in Scotland, preparatory to roosting after a day’s foraging. The flock’s shape has a mesmerisingly fluid quality, flowing, stretching, rippling, and merging with itself. Similarly massive flocks form over Rome and over the marshlands of western Denmark, where more than a million migrating starlings form an enormous display known as the “black sun.”

What rules produce this behavior? In the 1970s scientists thought that the birds might be following an electrostatic field produced by the leader. Earler, in the 1930s, one paper even suggested that they use thought transference.

But in 1986 computer graphics expert Craig Reynolds found that he could create a lifelike virtual flock (below) using a surprisingly simple set of rules: direct each bird to avoid crowding nearby flockmates, steer toward the average heading of nearby flockmates, and move toward the center of mass of nearby flockmates.

Studies with real birds seem to bear this out: Under rules like these a flock can react sensitively to a change in direction by any of its members, permitting the whole group to respond efficiently as one organism. “News of a predator’s approach can be communicated rapidly through the flock by whichever of the hundreds of birds on the outside notice it first,” writes Gavin Pretor-Pinney in The Wavewatcher’s Companion. “When under attack by a peregrine falcon, for instance, starling flocks will contract into a ball and then peel away in a ribbon to distract and confuse the predator.”

Versatile

Utica College mathematician Hossein Behforooz devised this “permutation-free” magic square in 2007:

Behforooz magic square

Each row, column, and long diagonal totals 2775, and this remains true if the digits within all 25 cells are permuted in the same way — for example, if we exchange the first two digits of each number, changing 231 to 321, etc., the square retains its magic sum of 2775. Further:

231 + 659 + 973 + 344 + 568 = 2775
979 + 234 + 653 + 341 + 568 = 2775
231 + 343 + 568 + 654 + 979 = 2775
564 + 979 + 233 + 348 + 651 = 2775
231 + 654 + 563 + 978 + 349 = 2775
231 + 348 + 654 + 979 + 563 = 2775

And these combinations of cells maintain their magic totals when their contents are permuted in the same way.

(Hossein Behforooz, “Mirror Magic Squares From Latin Squares,” Mathematical Gazette, July 2007.)

Risk Assessment

http://commons.wikimedia.org/wiki/File:Samuel_L_Clemens,_1909.jpg

Between 1868 and 1870, Mark Twain traveled more than 40,000 miles by rail, dutifully buying accident insurance all the while, and never had a mishap. Each morning he bought an insurance ticket, thinking that fate must soon catch up with him, and each day he escaped without a scratch. Eventually “my suspicions were aroused,” he wrote, “and I began to hunt around for somebody that had won in this lottery. I found plenty of people who had invested, but not an individual that had ever had an accident or made a cent. I stopped buying accident tickets and went to ciphering. The result was astounding. The peril lay not in traveling, but in staying at home.

He calculated that American railways moved more than 2 million people each day, sustaining 650 million journeys per year, but that only 1 million Americans died each year of all causes: “Out of this million ten or twelve thousand are stabbed, shot, drowned, hanged, poisoned, or meet a similarly violent death in some other popular way, such as perishing by kerosene lamp and hoop-skirt conflagrations, getting buried in coal mines, falling off housetops, breaking through church or lecture-room floors, taking patent medicines, or committing suicide in other forms. The Erie railroad kills from 23 to 46; the other 845 railroads kill an average of one-third of a man each; and the rest of that million, amounting in the aggregate to the appalling figure of nine hundred and eighty-seven thousand six hundred and thirty-one corpses, die naturally in their beds!”

The answer, then, is to avoid beds. “My advice to all people is, Don’t stay at home any more than you can help; but when you have got to stay at home a while, buy a package of those insurance tickets and sit up nights. You cannot be too cautious.”

(Mark Twain, “The Danger of Lying in Bed,” The Galaxy, February 1871.)

e-mergence

1!, 22!, 23!, and 24! contain 1, 22, 23, and 24 digits, respectively.

266!, 267!, and 268! contain 2 × 266, 2 × 267, and 2 × 268 digits, respectively.

2,712! and 2,713! contain 3 × 2,712 and 3 × 2,713 digits, respectively.

27,175! and 27,176! contain 4 × 27,175 and 4 × 27,176 digits, respectively.

271,819!, 271,820!, and 271,821! contain 5 × 271,819, 5 × 271,820, and 5 × 271,821 digits, respectively.

2,718,272! and 2,718,273! contain 6 × 2,718,272, and 6 × 2,718,273 digits, respectively.

27,182,807! and 27,182,808! contain 7 × 27,182,807, and 7 × 27,182,808 digits, respectively.

271,828,170! 271,828,171!, and 271,828,172! contain 8 × 271,828,170, 8 × 271,828,171, and 8 × 271,828,172 digits, respectively.

2,718,281,815! and 2,718,281,816! contain 9 × 2,718,281,815, and 9 × 2,718,281,816 digits, respectively.

27,182,818,270! and 27,182,818,271! contain 10 × 27,182,818,270 and 10 × 27,182,818,271 digits, respectively.

271,828,182,830! and 271,828,182,831! contain 11 × 271,828,182,830, and 11 × 271,828,182,831 digits, respectively.

The pattern continues at least this far:

271,828,182,845,904,523,536,028,747,135,266,249,775,724,655!, 271,828,182,845,904,523,536,028,747,135,266,249,775,724,656!, and 271,828,182,845,904,523,536,028,747,135,266,249,775,724,657! contain 59 × 271,828,182,845,904,523,536,028,747,135,266,249,775,724,655, 59 × 271,828,182,845,904,523,536,028,747,135,266,249,775,724,656, and 59 × 271,828,182,845,904,523,536,028,747,135,266,249,775,724,657 digits, respectively.

(By Robert G. Wilson. More at the Online Encyclopedia of Integer Sequences. Thanks, David.)

Misc

  • Seattle is closer to Finland than to England.
  • Is a candle flame alive?
  • ABANDON is an anagram of A AND NO B.
  • tan-1(1) + tan-1(2) + tan-1(3) = π
  • “A thing is a hole in a thing it is not.” — Carl Andre

Detractors of Massachusetts governor Endicott Peabody said that three of the state’s towns had been named for him: Peabody, Marblehead, and Athol.

Fearless

Founded in the 1880s by Manhattan rationalists, the 13 Club held a regular dinner on the 13th of each month, seating 13 members at each table deliberately to laugh at superstition.

“I have given some attention to popular superstitions, and let me tell you that argument is powerless against them,” founding member Daniel Wolff told journalist Philip Hubert in 1890. “They have a grip upon the imagination that nothing but ridicule will lessen.” As an example he cited the tradition that the mirrors must be removed from a room in which a corpse is lying. “Make the experiment yourself, and the next time you are called upon to sit up with a corpse, notice how uncomfortable a mirror will make you feel,” he said. “Of course it is a matter of the imagination, but you can’t reason against it. All the ingrained terrors of six thousand years are in your bones. You walk across the floor and catch a glimpse of yourself in the glass. You start; was there not a spectral something behind you? So you cover it up.”

As honorary members the club recruited 16 U.S. senators, 12 governors, and six Army generals. Robert Green Ingersoll ended one 1886 toast by declaring, “We have had enough mediocrity, enough policy, enough superstition, enough prejudice, enough provincialism, and the time has come for the American citizen to say: ‘Hereafter I will be represented by men who are worthy, not only of the great Republic, but of the Nineteenth Century.'”

But Oscar Wilde, for one, turned them down. “I love superstitions,” he wrote. “They are the colour element of thought and imagination. They are the opponents of common sense. Common sense is the enemy of romance. The aim of your society seems to be dreadful. Leave us some unreality. Don’t make us too offensively sane.”

(Thanks, David.)

Podcast Episode 42: The Balmis Expedition: Using Orphans to Combat Smallpox

https://commons.wikimedia.org/wiki/File:Real_Expedici%C3%B3n_Filantr%C3%B3pica_de_la_Vacuna_01.svg
Image: Wikimedia Commons

In this episode of the Futility Closet podcast we’ll tell how Spanish authorities found an ingenious way to use orphans to bring the smallpox vaccine to the American colonies in 1803. The Balmis Expedition overcame the problems of transporting a fragile vaccine over a long voyage and is credited with saving at least 100,000 lives in the New World.

We’ll also get some listener updates to the Lady Be Good story and puzzle over why a man would find it more convenient to drive two cars than one.

See full show notes …

“The All-Purpose Calculus Problem”

kennedy calculus problem

A “calculus problem to end all calculus problems,” by Dan Kennedy, chairman of the math department at the Baylor School, Chattanooga, Tenn., and chair of the AP Calculus Committee:

A particle starts at rest and moves with velocity kennedy integral along a 10-foot ladder, which leans against a trough with a triangular cross-section two feet wide and one foot high. Sand is flowing out of the trough at a constant rate of two cubic feet per hour, forming a conical pile in the middle of a sandbox which has been formed by cutting a square of side x from each corner of an 8″ by 15″ piece of cardboard and folding up the sides. An observer watches the particle from a lighthouse one mile off shore, peering through a window shaped like a rectangle surmounted by a semicircle.

(a) How fast is the tip of the shadow moving?
(b) Find the volume of the solid generated when the trough is rotated about the y-axis.
(c) Justify your answer.
(d) Using the information found in parts (a), (b), and (c) sketch the curve on a pair of coordinate axes.

From Math Horizons, Spring 1994.

Fun With Refraction

http://books.google.com/books?id=UGAvAQAAMAAJ

To show that one can focus sound waves as well as light waves, Lord Rayleigh would place a ticking pocket watch beyond the earshot of a listener, then introduce a balloon filled with carbon dioxide between them. The balloon acted as a “sound lens” to concentrate the sound, and the listener could hear the watch ticking. Rayleigh would sometimes set the balloon swaying to make the effect intermittent.

Related: Pyrex and Wesson oil have the same index of refraction — so immersing Pyrex in oil makes it disappear:

Curve Stitching

http://en.wikipedia.org/wiki/File:Quadratic_Beziers_in_string_art.svg
Image: Wikimedia Commons

Mary Everest Boole, the wife of logician George Boole, was an accomplished mathematician in her own right. In order to convey mathematical ideas to young people she invented “curve stitching,” the practice of constructing straight-line envelopes by stitching colored thread through a pattern of holes pricked in cardboard. In each of the examples above, two straight lines are punctuated with holes at equal intervals, defining a quadratic Bézier curve. When the holes are connected with thread as shown, their envelope traces a segment of a parabola.

“Once the fundamental idea of the method has been mastered, anyone interested can construct his own designs,” writes Martyn Cundy in Mathematical Models (1952). “Exact algebraic curves will usually need unequal spacing of the holes and therefore more calculation will be required to produce them; it is surprising, however, what a variety of beautiful figures can be executed which are based on the simple principle of equal spacing.”

The American Mathematical Society has some patterns and resources.