Archive for the ‘History’ Category

Monday Morning Math: Whose sequence?

December 5, 2022

Today’s post is a follow-up to last week’s about Leonardo Pisano, also known as Fibonacci.  And it is specifically about the sequence that bears his name: 0, 1, 1, 2, 3, 5, 8, … where each number is the sum of the two before it.  This appears as the answer to a puzzles that he proposed in his book Liber Abaci:

A certain man put a pair of rabbits in a place surrounded on all sides by a wall. How many pairs of rabbits can be produced from that pair in a year if it is supposed that every month each pair begets a new pair which from the second month on becomes productive?

The sequence was given the name “the Fibonacci Sequence” by Edouard Lucas (1842-1891), a French mathematician for whom a similar sequence: 1, 3, 4, 7, 11, … is named.  Blog commenter S shared that leading up to that time “it was rarely known and when used was called by many names including “the sequence of Lamé” (as Gabriel Lamé had used the sequence for analysis of the Euclidean algorithm)” (Thanks S!)  

I recently got the book Finding Fibonacci by Keith Devlin, and while I haven’t read the whole book yet (something for the break!), he does talk briefly about the history of these numbers, which poetically were used in prosody (the study of rhythm and sound/stress in poetry):

They first appeared, it seems, in the Chandahshastra (The Art of Prosody) written by the Sanskrit grammarian Pingala sometime between 450 and 200 BCE.  Prosody was important in ancient Indian ritual.  In the sixth century, the Indian mathematician Virahanka showed how the sequence arises in the analysis of meters with long and short syllables.  Subsequently, the Jain philosopher Hemachandra (ca. 1150) composed a text about them.

S, too, linked to some photos of the sequence appearing in these sources.  I am wondering if the long and short analysis is similar to some problems we’ve given in our classes, which essentially boil down to the number of ways that you can add to 1, 2, 3, 4, 5, 6, etc. using just the numbers 1 and/or 2, where order matters: for 1 there is only 1, for 2 it can be 2 or 1+1, for 3 it can be 2+1, 1+2, or 1+1+1, and for 4 it can be 2+2, 2+1+1, 1+2+1, 1+1+2, or 1+1+1+1.

The idea that the sequence comes up in poetry makes me happy.  The idea of continuing to call it the Fibonacci sequence doesn’t, however, since despite what may have been Lucas’s good intentions, it ignores these earlier contributions.  I’ve seen reference to calling it the Fibonacci-Hemachandra numbers, but even that would bypass Pingala and Virahanka, as well as some other mathematicians, as noted in the abstract of “The so-called fibonacci numbers in ancient and medieval India” by Parmanand Singh

What are generally referred to as the Fibonacci numbers and the method for their formation were given by Virahṅka (between a.d. 600 and 800), Gopla (prior to a.d. 1135) and Hemacandra (c. a.d. 1150), all prior to L. Fibonacci (c. a.d. 1202). Nryana Paita (a.d. 1356) established a relation between his smasika-paṅkti, which contains Fibonacci numbers as a particular case, and “the multinomial coefficients.”

I will admit to still feeling like I don’t have a handle on the history of the sequence – just enough to be uncertain how to call it.  I’ll close with a photo of a bust of Acharya Hemachandra at Hemchandracharya North Gujarat University (CC license)

Happy Thanksgiving!

November 21, 2022

thanksgiving

(This was originally published on November 27, 2008, but I ran across it in looking up Thanksgiving Math and thought it might be good to update the links and repost!)

While you’re baking your turkey and pondering why the temperature continues to rise even after the bird comes out of the oven or thinking about how Game Theory showed that tryptophan affects trust and cooperation, you might also be wondering, “What kind of math did the folk at the first Thanksgiving study?”

The answer is…I don’t know. So I looked around at what textbooks would have been available. I couldn’t find any math texts of the Wampanoags from around 1621, and while I was enticed by a reference to “our earliest native American arithmetic, the Greenwood book of 1729” from David Smith’s History of Mathematics Vol.2, in looking further it seems that the phrase “native American” was used only in contrast to having been originally published in England, Spain, or other non-American country. So as far as the Wampanoags are concerned, I’ll admit to remaining in the dark about what specific kinds of math they would have been learning (formally or informally).

Then I looked into the Pilgrims. As they hailed from England, it seems likely that they’d be using a an English text. And for this they had few choices: there was a 1537 book entitled An Introduction for to : Lerne to Reckon with the Pen and with the Counters after the True Cast of Arsmetyke or Awgrym [that last word is Algorithm], which was a translation of a book in Latin by Luca Pacioli. Wikipedia mentions that another textbook was published in 1539, but I couldn’t find reference to the title or author (though I suppose I could add one myself).

A more likely candidate would be Arithmetick, or, The ground of arts by Robert Recorde, first published in 1543 and listed in several places as “The first really popular arithmetic in English”. The title is short for The grou[n]d of artes: teachyng the worke and practise of arithmetike, moch necessary for all states of men. After a more easyer [et] exacter sorte, then any lyke hath hytherto ben set forth: with dyuers newe additions. Here’s a woodcut from the 1543 version

robert_recorde-1543

and here’s the title page from the 1658 edition, with its fancy modern spelling:

recorde-title(Heh heh — I just ran that page through Adobe’s Optical Character Recognition, and it pretty much didn’t recognize a thing.)

I couldn’t track down any copies of what exactly was in the book, but this article about medicine in English texts quotes quite a bit from Recorde’s book. For example:

In 1552, Record amplified his arithmetical text with, among other material, a “second part touchyng fractions”. This new section included additional chapters on various rules of proportion, including “The Rule of Alligation”, so-called “for that by it there are divers parcels of sundry pieces, and sundry quantities alligate, bounde, or myxed togyther”.

The rule of alligation, we are told, “hath great use in composition of medicines, and also in myxtures of mettalles, and some use it hath in myxtures of wynes, but I wyshe it were lesse used therein than it is now a daies”. Despite Record’s regret about the adulteration of wine, the first problem the Master uses to exemplify his discussion of alligation in fact deals with mixing wines; the second involves a merchant mixing spices; and the remainder involve the mixing of metals. None of the examples involve medicine, although the merchant’s spices are once called “drugges”.

A third part was added in 1582 by John Mellis. Here’s a page (from Newcastle University) showing one of the pictures in the margin (possibly from that year, or possibly a later edition; I couldn’t tell for certain).

Records Arithmetic

Robert Recorde is actually better known for a later book: The Whetstone of Witte, which was published in 1557 and so is another candidate for An Original Thanksgiving Math Text.  It was called because, according to the poem on the front, “Here, if you list your wittes to whette, Moche sharpenesse therby shall you gette,” and appears (using Google books) to have been well-known enough to be referenced by Shakespeare in Act 1 Scene 2 of As You Like It (written around 1600) when Celia says, “…for always the dulness of the fool is the whetstone of the wits. How now, Witte! whither wander you?”

The Whetstone is best known for its introduction of the equal sign =, which Recorde explains below:

whetstone-equal-1

Which reads as

Nowbeit, for easy alteration of equations.  I will pro(?provide?) a few examples, because the extraction of their roots, may the more aptly be wrought.  And to avoid the tedious repetition of these words “is equal to”, I will set as I do often in work use a pair of parallels or Gemowe lines of one length, thus: ======, because no two things can be more equal….

So there you have it: math that some of the first Thanksgiving folk could possibly have studied.

thanksgiving

Monday Morning Math: Code Talkers

November 7, 2022

Good morning!  November is Native American History Month: the website https://indigenousmathematicians.org/ highlights many mathematicians and was updated in 2021.  

Today’s math topic is codes – the kind where messages are encoded for secrecy.  During World War I, 19 Choctaw soldiers used the Choctaw language as a code for sending military messages in secret.  As described in the website for the Choctaw Nation of Oklahoma:

During the first world war, with the tapping of the American Army’s phone lines, the Germans were able to learn the location of where the Allied Forces were stationed, as well as where supplies were kept. When the Choctaw men were put on the phones and talked in their Native speech, the Germans couldn’t effectively spy on the transmissions.

Native Americans did not receive nationwide citizenship until 1924, yet the Choctaws were both patriotic and valiant, with a desire to serve in the war effort. Many Choctaw men volunteered in WWI to fight for our country. Choctaw Code Talkers of WWI were instrumental in ending war. Members of Choctaw and other Tribal Nations also served with distinction using Native languages in World War II, Korea and Vietnam.

The Choctaw Code Talkers

In World War II the Marine Corp recruited 29  Diné (Navajo) men to develop a much more complicated code based on their language:

The code primarily used word association by assigning a Navajo word to key phrases and military tactics. This system enabled the Code Talkers to translate three lines of English in 20 seconds, not 30 minutes as was common with existing code-breaking machines. The Code Talkers participated in every major Marine operation in the Pacific theater, giving the Marines a critical advantage throughout the war. During the nearly month-long battle for Iwo Jima, for example, six Navajo Code Talker Marines successfully transmitted more than 800 messages without error. Marine leadership noted after the battle that the Code Talkers were critical to the victory at Iwo Jima. At the end of the war, the Navajo Code remained unbroken. (from intelligence.gov)

Some of the Diné Code Talkers

In 2000 the Code Talkers were awarded with Congressional Gold Medals.

Sources:

Monday Morning Math: Alan Turing

October 15, 2021

(Monday morning Math – this week on Friday because Hello Midterms!)

Our mathematician this week is Alan Turning.  He was born in London, England, on June 23, 1912 and studied mathematics at the University of Cambridge.  After his graduation he wrote a paper called “On Computable Numbers, with an Application to the Entscheidungsproblem” which showed the depressing sounding but powerful result that not every true statement is provable in a mathematical system.  During this time he also invented the Turing machine, which is an abstract computer (as opposed to an actual physical computer) that performs logical computations.

Turing earned his PhD at Princeton University in 1938 and returned to Cambridge where he began working on codebreaking.  The following year, at the start of World War II, he moved to Bletchley Park where he developed methods for breaking various codes intercepted from the Germans and, even after the war continued to make significant contributions to work in artificial intelligence.

While Turing was recognized for his work he was also persecuted because of his sexuality:  in 1952 he was convicted of being homosexual and given the choice of going to prison or taking hormones as a chemical castration. He chose the latter; he also lost his security clearance as a result of this conviction.  Turning continued to do work in physics and biology, but died on June 7, 1954, from self-induced cyanide poisoning.  In 2009 the British government officially apologized for how they treated him and in 2013 Turing was posthumously pardoned. 

image.png

(This image of Alan Turning was made by Stephen Kettle from Welsh slate is sharable under creative commons, whereas the photos I could find still have a copyright.)

You can find more information about Alan Turing at BritannicaWikipedia and turing.org.uk  And to end on a more positive note, these days there is Spectra, the Association for LGBTQ+ mathematicians and their allies.

Monday Morning Math: Whose Triangle?

October 4, 2021

Today’s snippet isn’t a who, or at least not a single who.  There is a triangle that many people learn about in school, since it pops up in some interesting places.  It starts off like this

with each number equal to the the sum of the two numbers above it.  It’s a pretty interesting triangle, but who first came up with it?

In the United States it is often referred to as Pascal’s triangle, after Blaise Pascal.  This isn’t so much because he invented it (he didn’t) but because he wrote so much about it, in a book entitled Treatise on the Arithmetical Triangle (but in French, so Traité du triangle arithmétique), written in 1654 and published 11 years later.  Here’s how he wrote it:

But the Triangle was known before that.  Here’s a picture from 100 years earlier, in a book by Niccolò Tartaglia in Italy:

Here’s one from 250 years before THAT, by Zhu Shijie in his book Si Yuan Yu Jian from 1303 in China:

There’s another version around this same time period by Omar Khayyam in Persia (modern day Iran) although I didn’t have a picture of that to include. But he wasn’t the earliest either: here’s one from 550 years before THAT (so roughly 900 years before Pascal)

This is from a manuscript in Raghunath Library, Jammu and Kashmir, in India from 755 (according to Wikipedia) where the figure was called the Staircase of Mount Meru (Meru-prastaara).  This, too, is unlikely to be the earliest: there are indications that the earliest manuscripts showing the arithmetic triangle are copied from even earlier ones.

So who first described this Arithmetic Triangle?  We don’t know, although we can say with assurance that it was well over a thousand years ago.

More information can be found at wikipedia, at  britannica.com 

Roman Numerals…not quite so simple

January 1, 2011

Happy New Year!  And since the New Year is all about numbers (especially if you have come to look forward to Denise’s annual January 1 post on Let’s Play Math:  form all the integers from 1 to 100 using (exactly) the digits 2, 0, 1, 1 and common mathematical symbols), here’s a picture of a number that I meant to post in October November December.

LIIII

 

Recognize this number?  Even though it’s not written as LIV?  This is from the 54th entryway to the Colosseum in Rome, which was built almost 2000 years ago when Roman numerals didn’t always use the subtraction property that we’re taught, where 4 is written as IV instead of IIII.

I found that to be interesting in and of itself, since I’d heard that the subtraction was a later addition but never witnessed it.  But what’s weird?  It wasn’t a sudden change.  Here’s the forty-fifth gate:

XLV

The subtraction principle was used with 40, just not with 4.  Which leads to a natural question:  what about gate 44?

XLIIII

I’m bummed that we didn’t get a better picture of this, but you can kind of see all four Is after the L.  Apparently, according to our usual font of knowledge, the reluctance to use IV is because that was the standard abbreviation for Jupiter’s name in Rome (IVPPTER), and this mixture of sometimes using four symbols in a row continued for more than a thousand years:  in the 1390 English cookbook The Forme of Cury (here on Project Gutenberg) the author still uses IIII [as in the Table of Contents, where Section IIII is rapes in potage] and there are also some IV for section numbers and references to Edward, though those might be later additions.

Published under GNU-FDL

And even 100 years ago [last year, in 1910], the Admiralty Arch in London uses MDCCCCX instead of MCMX in the inscription

ANNO : DECIMO : EDWARDI : SEPTIMI : REGIS :
: VICTORIÆ : REGINÆ : CIVES : GRATISSIMI : MDCCCCX :

(In the tenth year of King Edward VII, to Queen Victoria, from most grateful citizens, 1910).

So what does all this mean?  Nothing much, except that Roman Numeral Rules were maybe not quite as hard and fast as I once believed.

 

 

The Fourth Bunch of Ways to Multiply

June 17, 2009

slide-0Just three more ways today, although with all the ones that have been suggested I think we’ll get to the 25!

(15) Multiplication with Log Tables.  People had already been using trig tables to multiply, but when logarithms were discovered they became THE way to multiply numbers.  The idea behind log tables is that logarithms turn multiplication (nasty) into addition (fun!) without having to derive a bunch off trig formulas.  In particular, we’re going to use the fact that log(x·y)=log(x)+log(y).

Here’s how we can find 875×978 with logarithm tables.  We’ll start by writing the two numbers in Scientific Notation:  875 would become 8.75×102 and 978 would become 9.78×102.   We’re going to multiply 8.75 and 9.78, and then adjust that product by the appropriate power of 10 (in this case, 104).

The next step for the multiplication is to look in your Table of Common [Base 10] Logarithms.  If you don’t have a copy handy, you can look here.  It turns out that log(8.75) is 0.9420081 [that’s our log(x)] and log(9.78) is 0.9903389 [that’s our log(y)].

Now we’ll add those together to get 1.9323470.  This must be the log of our product!  So we work backwards with the table, looking for the number whose log is 1.932347.  Unfortunately, the table only gives results between 0 and 1, so initially it seems like we’re stymied, but we can be sneaky and subtract 1.  We’ll come back to that in a moment.

So now we’re looking for a number whose log is 0.932347.

Looking back at our table, we see that log(8.55)=0.9319661 and log(8.56)=0.9324738, so the number we’re looking for must be between 8.55 and 8.56.  We can pick 8.56, which is the closer number, or do a little interpolation.  If we round, we’re looking for 0.9323 and instead we got 0.9320 and 0.9325.  The number we wanted was about 60% of the way from the smaller to the larger, and so instead of choosing 8.55 or 8.56 we could go about 60% of the distance between them, and guess that the product was 8.556.  Let’s do that.  [We could be even more accurate if we used a calculator to figure the exact percentage, but that seems to defeat the purpose of using the log table to multiply.]

So now we have a product of 8.556, but clearly that’s not exactly right.  We first have to account for the fact that we subtracted 1.  Notice that 1+log(blah) is the same as log(10)+log(blah) [because we’re using the common logarithm], and THAT is the same as log(10·blah).  Here log(blah) is 0.9323470, and we just saw that blah was approximately 8.556, so the product that we want — the product of 8.75 and 9.78 — is approximately 85.56.

We’re almost there!  Remember how originally we wanted the product of 875 and 978 but we first wrote those in Scientific Notation?  We need to adjust our answer of 85.56 by 104, leading us to the conclusion that 875×978 is approximately  (drum roll please) 855600.  The correct answer is 855750, so we’re certainly in the right ballpark and more accurate than we were with the trig tables, but, well, it’s a wonder to me that this method was so popular for so long when so many other ways are even more accurate.  Maybe I’m missing something.

(I’ve multiplied with log tables before, but refreshed my memory with this site on the Obsolete Skills Wiki, which also explains how to Get off the couch to Change Channels on the TV set and how to Make Change in [old] Shilling and Pence.)

(16) Slide Rule.  This takes the ideas of the log table, but bypasses the actual looking up.  Instead, the numbers are scaled on the slide rule in such a way that you don’t have to do much at all.  William Oughtred is credited in many places (online) with the slide rule, and the date 1622 shows up, so this happened just a few years after the invention of logarithms.  Pretty quick thinking!

Let’s do a simple example first:  2.5×3.   You can use an actual slide rule, or use the java version here.    The slide rule looks complicated because it can do a lot of things, but we’re mostly going to be looking at the bottom of the slidey part in the middle (C) and the fixed part at the bottom (D).

To multiply 2.5 by 3, you start with2.5  and align the 1 on C with the 2.5 on D.  Then look for 3 on C, and right below it will be the product (in this case, 7.5):

See how once you’ve aligned the 1 with the first factor 2.5, you can move the slider doohickey to the 3 on C so that you can see what’s right below it?

Now let’s look at a more complicated example:  back to 875×978.  As with log tables, we’ll start by writing the numbers in scientific notation (8.75×102 and 9.78×102) and then we’ll multiply 8.75 and 9.78 and adjust our final answer.

Normally we’d align the 1 of C with 8.75 beneath it on D, and then start looking to the right.  But 8.75 is so large, we quickly run out of room:

Slide 1

So we’re sneaky, and instead of aligning the 1 (on C) with the 8.75, we align 10 (on C) with 8.75.  We’ll have to adjust by multiplying by an extra power of 10 at the end, kind of like we did with the log tables before (and, really, it’s not a coincidence that this happened in both calculations).

So we’ve aligned the 10 on C with the 8.75 on the bottom.  Then we move the slider over to 9.78 on C, and look below to see the product!  The product looks like, ummm, it seems to be a bit over 8.55 but not yet at 8.56, so we’ll say 8.555.

As our final step, we need to multiply by 10 because we aligned with the 10 instead of with the 1 (as discussed above), and also by 104 because we’d had to write the numbers in scientific notation.  This means our final answer is 8.555×105, or 855500.  As we’ve seen before, it’s not exact but it is pretty close and it’s a lot faster than looking up in tables!

(17) The Gunter scale.  This is the precursor to the slide rule, invented by Edmund Gunter, and it didn’t slide at all but it was BIG:  two feet long was standard.  It was a big ole piece of wood with a logarithm scale on it, and if you wanted to measure a product like 2.5×3 you’d measure the physical distances to 2.5 and to 3, add them together, and see where you ended up on the scale. Essentially it was a Slide Rule that didn’t slide:  you had to do that part by hand.

(There’s a picture here and more information about Gunter here, including the fact that he coined the terms for Cosine and Cotangent, though Cosecant is a bit older.  I hadn’t known about this method until Pat Ballew brought it up in a recent comment:  thanks Pat!)

The Third Bunch of Ways to Multiply

June 16, 2009

Let’s multiply!  (The First Bunch had Egyptian, Babylonian, lattice, and current methods, and the Second Bunch had Greek, Napier and Genaille-Lucas, plus links to Vertically and Crosswise Multiplication and finger multiplication.)

We’ll just do two more today, starting with one I forgot we’d already talked about:

(13) The Method of the Cups, which was described by Friar Juan Diez in 1556 (see  this post from last year).  It’s done digit by digit, but multi-digit numbers aren’t always written on a single line: if you want a glimpse of what it’s like, here’s the image for 875×978.

1556 Multiplication by Friar Diez

(14) Prosthaphaeresis, or Multiplication with Trig Tables. This method dates back to the late 1500s, although logarithms essentially rendered this method obsolete.

Here’s the basic idea:  remember the sum and difference formulas for sine and cosine?  We’ll use those.  For example, since:

cos(a+b)=cos(a)cos(b)-sin(a)sin(b)

and

cos(a-b)=cos(a)cos(b)+sin(a)sin(b)

then by adding those together, we get

cos(a+b)+cos(a-b) = 2cos(a)cos(b)

which leads to the formula

cos(a)cos(b)=\frac{1}{2}cos(a+b)+\frac{1}{2}cos(a-b)

And that’s the formula that we’ll use, although by also looking at sine we could just have easily come up with a different formula that had a mixture of sines and cosines.    When the last step of dividing by 2 is ignored, the resulting formulas are called the Werner formulas.

Here’s how we’ll do it.  Suppose we want to multiply 875 and 978, because those were the numbers that appeared in the previous example.  We’re going to be using a table of cosine values (like this one).  This table actually shows both sine and cosine, but cosine is read on the right.

Trig 0

Notice that 0.9997 is cos(1.4°), for example — we’re adding 0.2° to the angle for each column, going right to left.

Cosine values always fall between 0 and 1, so we need to scale our numbers to be between 0 and 1.  Thus 875 becomes 0.875 and 978 becomes 0.978, and we’ll have to multiply our final answer by 103·103=106.

Remember that our formula is cos(a)cos(b)=\frac{1}{2}cos(a+b)+\frac{1}{2}cos(a-b).  In this case, cos(a) is 0.875 and cos(b) is 0.978.  We need to find a and b.

Trig 1

Remember that we read the angles on the right.  Since 0.875 is between 0.8746 and 0.8763, our angle a must be between 28.8° and 29°.  We’ll use 29°, since that gives the best estimate.

Trig 2

Likewise, we need to find b knowing that cos(b)=0.978.  From the chart we can see that b is between 12.0° and 12.2°, but basically it’s 12°.  Yay!  We’re halfway there!

We have a and b,  so the sum a+b is 41° and the difference a-b is 17°.  Now we need to know cos(a+b) and cos(a-b).

Trig 3

This part is easy!  The cosine of 41° is just 0.7547

Trig 4

and the cosine of 17° is 0.9563.

Now we can plug all this into our formula!  Remember how 0.875 was cos(a) and 0.978 was cos(b)?  Using:

cos(a)cos(b)=\frac{1}{2}cos(a+b)+\frac{1}{2}cos(a-b)

we get

0.875 \cdot 0.978 = \frac{1}{2}\cdot 0.7547 + \frac{1}{2} \cdot 0.9563

which simplifies down to 0.8555.  Multiplying that by the 106 from earlier gives 875×978 as approximately 855500.   We’re only off by 250, which feels like a lot but it’s less than ½% of the answer, so in the grand scheme of things it’s pretty good, and with more accurate tables we could have done even better.

Next up:  Log tables and slide rules!

The Second Bunch of Ways to Multiply

June 11, 2009

Napier 1Hey, let’s do some more multiplication!   (See Ways (1)(6) here.)  I promised some that wouldn’t be taught in school (at least not as a practical way to multiply), so that’s where I’ll start.

(7) Greek Multiplication.  This is really different from other kinds of multiplication because it’s based on Geometry.  The Ancient Greeks certainly had the concept of discrete quantities, but in a lot of their mathematics numbers were interpreted as lengths; to multiply a and b like an Ancient Greek, you start with the quantities a and b and also the reference point 1.

Draw two intersecting lines and, from the point of intersection mark lengths 1 and b on one line and length a on the other line, and then draw a line between 1 and a.

Greek Mult 1Starting from b, draw a line that is parallel to the line you just drew.  (I could really have said “construct” because all of this can be done with a straightedge and compass.)

Greek Mult 2

See how the length x is where that line you just drew intersects the line with a?  It turns out that x is the length of the product ab!    It’s actually pretty easy to show this:  the triangle with sides x and b is similar to the triangle with sides a and 1 [they have one angle in common, and because their third side are parallel the remaining pairs of angles are equal as well].  Since they are similar, x/b must equal a/1, and cross multiplication gives x equal to ab.

One nice feature of this is that you can actually see how if b<1 then the positions of 1 and b will be switched, and the product ab will be less than a.

(8) Napier Rods.  These were first published in 1617 in the Rabdologia by John Napier, a Scottish mathematician who is more famous for introducing the idea of logarithms.  Napier Rods, which I just realized are supposed to be called Napier‘s Rods (or Napier’s Bones) are like a portable version of Grid Multiplication, so if they were allowed on Standardized Testing it might take care of that whole time issue.  (Then again, one could ask why these would be allowed and not, say, a calculator.  So I guess this also falls under the cool just because it’s cool category of multiplication.)

Godzilla is here to show how they work.  He’s going to demonstrate how to multiply 3558  by 274.

Start by getting yourself  some Napier Rods.

Napier 1

Do you need to see those up close?  Here they are:

Napier 2

Those are still hard to see aren’t they?  That’s because I don’t know how to focus my camera.  And THAT’S why I love Wikipedia, folks.  Here’s a drawing that (someone?  I can’t tell who) posted on Wiki under GNU-FDL.

Bones_of_Napier_(board_and_rods)

So each rod (or bone) has a digit on top, and the multiples of that digit are written underneath.

Since Godzilla wants to multiply 3558 by 274, we’ll start by picking up rods for 3, 5, 5, and 8 and lining them up.  [I printed out two copies of this set of Napier rods since the digit 5 appeared more than once.]  There’s a rod with nothing at the top:  this is called the Index Rod, and it can be put at the right or left.  It just helps you keep track of the rows.

Napier 3

We’re going to multiply this number by 274, so we’ll start by looking in Row 2.

Napier 4a

See how that looks like a little tiny grid from lattice multiplication?  If you add along the diagonals, it shows that 3558×2=07116.

Now let’s multiply by the 7 of 274.  We’ll look in Row 7.

Napier 4b

This shows us (after adding along the diagonals) that 3558×7=24906.  We had to do a little carrying here.

Finally, we’ll multiply 3558 by the 4 of 274.  Look in Row 4:

Napier 4c

So 3558×4=14232.

Now that we have all the pieces we need, we add, keeping track of the place value (by staggering on the left):

Napier Sum

Yay!  We have our answer!  If you prefer to play with a java version that allows you to switch the base, you can find it here at Cut The Knot.

(9) Genaille-Lucas Rulers.  These take the basic concept of the Napier Rods and modify it using shaded triangles in a way that completely eliminates adding and carrying within each row (though you’ll still have to add to get the total at the very end).  They were invented by Frenchmen Henri Genaille and Edouaird Lucas just over a century ago.  Godzilla is using paper versions that Brian Borchers created.

Genaille 1

He’s already lined up the 3558 to do the same multiplication (3558×274) as before.  Let’s take a closer look.  Notice that with this set, the Index piece is aligned on the left.

Genaille 2

OK, we’re going to use the same basic idea as before, where we’ll look in rows 2, 7, and 4.  Let’s start with Row 2:

Genaille 2 row

This row should give us 3558×2.  To read it, start on the RIGHT with the number on the very top.  That’s a 6.  Then you read towards the LEFT, following the little gray triangles.  The final number is 7116.

Now we’ll look at 3558×7:

Genaille 7 row

Again, you start with the number in the TOP of the right-hand column (which is a 6).  Follow the little gray triangles to the next number, to get that 3558×7=24906.

Finally, here is Row 4:

Genaille 4 row

As before when we start from the top of the rightmost column and read to the left we see that 3558×4=14232.

This is a completely mindless way to multiply until you get to the end, where you align your answers (staggered on the right):

Napier Sum

And we have the same answer as before!  And right here is a picture of some of the rods from 1885 in France.  (They and Napier’s Bones were actually more like square prisms, with a different Ruler printed on each side so that each Rod could show one of four different sides depending on what digits you need.)

This post is already rather long, so I’ll end by briefly mentioning three final methods:

(10) Vertically and Crosswise Multiplication (which TwoPi wrote about just over a year ago).  TwoPi tells me that it should probably be called Trachtenberg multiplication, since it was created by the Ukrainian engineer Jakow Trachtenberg while he was imprisioned in a concentration camp in WWII.  (There are widespread claims that this technique is of Vedic origins, but there is little historical evidence to support that.)

Edited to add: Whoops, Trachtenberg might have come up with it on his own, but he wasn’t the first.  It was published in Italy over 500 years ago and was known as Crocetta.  (See Pat’s comment below.)

Edited again (7/8) to add: Looking in “Capitalism and Arithmetic”, I saw that this is attributed even further back, to the Indian Lilavati of around 1150.

(11) and (12) Speaking of multiplication we’ve already talked about, in this post from New Year’s Eve 2007 I wrote about multiplying by 9 on your fingers (I’ll call that #11) and also two Medieval ways to multiply on your fingers.  They’re pretty similar, but one works for multiplying any two of {5, 6, 7, 8, 9, 10} and the other works for multiplying any two of {10, 11, 12, 13, 14, 15}.  Together I’ll count those as #12.

That’s it for now!  I can think of three more ways offhand (abacus, slide rule, and trig functions) so I’ll write up something about those in the next couple days.  This is fun!

The First Bunch of Ways to Multiply

June 10, 2009

Trevisio grid 5I blithely mentioned in yesterday’s post that I only knew about 13 ways to multiply [“only” because it would be great to write a book called Twenty-five ways to Multiply], and then Jason asked me to list them.  I was originally going to list them all, but then I started describing them which is taking a lot longer and I won’t have time to watch the next episode of Heroes on Netflix prepare for a committee meeting if I do that all today so I’ll do it in steps and you can read all about multiplication for a few days!   I’ll see if I can get Godzilla do to some demonstrations of the more complicated methods tomorrow.

These are carefully ordering according to The Order In Which I Thought of Them.

(1) Doubling and Halving, as described yesterday (used in Egypt, Ethiopia, and presumably Russia).  This is one of my favorite methods, because it’s surprising that it works.

(2) Duplation, which is a variant on the above method, in which you start with 1 and one of the the numbers and double both.  For example, to multiply 14 and 12 you’d start with 1 & 12, and double both until the left-hand column was going to be bigger than the other number, in this case 14.  That’s not at all clear, is it?  Here’s what I mean for 14×12:

1 & 12
2 & 24
4 & 48
8 & 96
16 & <— Oh, I can stop because 16 is bigger than 14.

Since 14 can be written as 8+4+2, put a little mark by those rows:
1 & 12
*2 & 24
*4 & 48
*8 & 96

and add up the corresponding numbers on the right:  96+48+24=168.  And there’s your product!  What you’re really doing is adding the appropriate doubles (96 is 8 12s, 48 is 4 12s, and 24 is 2 12s so when you add them you get 14 12s, as you wanted).  This was also used by the Ancient Egyptians, and it’s referred to on the video from yesterday.

One thing that neat about these methods is that all they use is adding, subtracting, doubling, and/or halving.   The folk who used them had to remember the process, but they didn’t have to memorize 45 separate single digit multiplication facts.

(3) and (4) Mesopotamian Multiplication.  Like the Egyptians, the Babylonians broke down multiplication into addition, subtraction, and halving.  They had one more trick, though:  they had tables that contained the squares of all the numbers from 1 to 60 [which was all they really needed, since they used a Base 60 system].   So to multiply a and b they used one of two formulas:

\frac{\left( a+b \right) ^2 - a^2-b^2}{2} or \frac{\left( a + b \right) ^2 - \left( a - b \right) ^2}{4}

In other words, to find 14×12, to use the first formula you’d look up 262, 142, and 122 in your table, subtract the last two numbers (196 and 144)  from the first one (676), and then cut that answer in half.  With the second formula you’d look up 262 and 22 in your table, take the difference, and cut that in half twice.

This method totally amuses me because although you can check the algebra to make sure it works (indeed, I usually introduce this by asking students to come up with a formula for ab that uses only addition, subtraction, doubling, halving, and a2, b2, (a+b)2, and/or (ab)2), it’s really an ancient plug-and-chug method.  You don’t have to think at all about why it works, you just do it.

Incidentally, if you walpha a number, Wolfram Alpha will give it to you in Babylonian symbols.  Here’s  34.  Bab 34But watch out: it’s sometimes wrong.

Edited 7/8 to add: Although I read in one book (I’m not sure which now; it’s been several years) that this was done by the Babylonians, Victor J. Katz’s A History of Mathematics doesn’t match that.   I’m not quite sure what to believe now.

(5) Grid or lattice multiplication.  A lot of schools are teaching this today because, although it takes a little while to draw the boxes, you do all your single digit multiplication first and then all your addition.  I’ve heard people complain about it being a new-fangled method, and I like to point out that it’s actually about a thousand years old (Doesn’t that sound snarky?  I try to say it in a friendly way.  I probably fail.).

It’s possible that it originated in India (I’ve seen sources claim this, but I think it’s not considered absolutely certain); it certainly appeared in Arabic books before it made its way to Western Europe.

Here’s how it works.  Suppose you want to multiply 345 and 12, which are conveniently the numbers that I found in this Wikipedia example.  You have a 3-digit number and a 2-digit number, so you make a 3×2 array of boxes.  Put the first number (345) on the top, and the second number (12) on the side.  One of those is the multiplier and one is the multiplicand, but I can never remember which is which.

Hindu_lattice
The picture above also shows the next step:  divide each little square in half, and then multiply each pair of digits.  For example, 5×2 is 10, so you write the 1 above the diagonal and the 0 below.

For the next step, you add along the diagonals, carrying as necessary.

Hindu_lattice_2

The reason this works is that the digaonals automatially take care of place value.  For example, look at the third diagonal, with the purple arrow (that ends up in the hundreds place).  It has the 4 of 4×1, which was really 40×10=400.  It has the 0 in the tens place of 4×2, which really would stand for the hundreds place of 40×2.  It has the 6 of 3×2, which really comes from 300×2=600.  Plus it has anything that was carried from the previous diagonal.

Writing the total flat along the bottom makes more sense if you’re teaching it to kids, but in some older books people wrote the answer on the bottom and left-hand side, like on this example from page 23 of The Treviso Arithmetic (Arte dell’Abbaco), an Italian textbook [published in the town of Treviso in Northeastern Italy] from 1478.  This example shows that 934×314=293,276.

Trevisio grid 1

When I do this in class I often decorate the sides when I’m done, because I’ve seen that done before.  Then it looks like this:

Trevisio grid 1 colored

(5½) There’s a variation of the above method in which the diagonals go in the other direction but you write the number on the right “upside down”.   Here’s an example from the same page of the Trevisio, again showing 934×314=293,276.

Trevisio grid 2

I didn’t want to count this as a separate method, because it has all of the same principles as the previous grid.  But I wanted to mention it because if you look at it, it’s a small step to getting the next version of 934×314, shown below, in which the boxes above have had the diagonals removed but you still add along the diagonal (although the total is written at the bottom):

Trevisio grid 3This is actually a little bit confusing because with the diagonals removed, the numbers don’t quite line up the way they’re supposed to.   It’d be clearer if the rows were shifted a bit, like this:

Trevisio grid 4

And THAT looks an awful lot like “traditional” multiplication, where in this case “traditional” means “the way I learned multiplication in in 1978”.  But this isn’t a new-fangled method  either:  this “traditional” multiplication ALSO appeared in the Trevisio!  And that leads us to….

(6) Multiplication like I first learned it, like this:

Trevisio grid 5

Phew!  That was more lattice multiplication than you ever wanted to see, wasn’t it?  But isn’t it neat how all those pictures (all on the same two pages) just lead into one another, even though they actually were in the reverse order in the original book?

Incidentally, while we’re on the subject of The Trevisio it might amuse you to learn that this 500 year old book also contains the problem “If 17 men build 2 houses in 9 days, how many days will it take 20 men to build 5 houses?”.  If you’re wanting to get yourself a full copy, here’s a link to all 24 Mb of it!  Or, if you don’t read Italian, you can learn a little more about it in this 1996 column by Ivars Peterson.

Next up, some different ways that they don’t teach in school.

Edited to add: Here is The Second Bunch of Ways!

Ethiopian Multiplication

June 9, 2009

plastic_numbersOne of our recent (oh my goodness has it really been seven years???) grads just sent me this Youtube video of Ethiopian Multiplication, with a note that this reminded her of History of Mathematics.  Which, of course, made me totally happy.

This method of multiplication is also called Egyptian Multiplication (because it was done in Egypt) and Russian Peasant Multiplication (although the Peasant part might be intended as a bit of a pejorative).

Here’s the basic idea:  Suppose you want to multiply two numbers like 14 and 12.  You could use your fingers, of course, but here’s another way:

Start with the two numbers on top.  Halve one, ignoring any remainders or fractions, and double the other, stopping when you get to 1.

14 & 12

7 & 24

3 & 48  [See how I ignored the fact that halving 7 leaves 1 left over?]

1 & 96  <— Stop here.

Now look at the numbers on the right.  Some are across from an even number: in this case, 12 is across from the original 14.  Ignore those, and add the rest.  So we’ll add 24, 48, and 96, which were across from odd numbers, and get 168.  And that’s the product!  Isn’t that cool?

(I think it would be fantastic to write a book called 25 ways to multiply.  I only have about 13 at the moment, though.)

Here’s the video!

Number photo from gokuro.

Longitude, Part II

June 1, 2009

As mentioned in the last post about longitude, while one group of people were charting stars and hoping to use tables to help out with the determination, others were working the time angle (so to speak).  What those folk needed was a good clock, one that would keep time even if it got bounced around a bit, like on a ship, because people on the ocean were in especial need of figuring out where they were.

So people worked on it.  And worked on it.  And then worked some more.  Prizes were offered, and went unclaimed.  Then a famous shipwreck in 1707 (involving HMS Association, HMS Eagle, HMS Romney, and HM Fireship Firebrand) took the life of 1500 sailors, apparently because they miscalculated longitude, and Britain was all, “Enough of this!” and 1714 formed the Commission for the Discovery of the Longitude at Sea, which was a mouthful to say so everyone just called it the Board of Longitude.  They offered a prize for calculating longitude and didn’t even insist that the longitude be exact, just within 60 nautical miles for a prize, or within 40 or 30 nautical miles for better prizes.

Uh, nautical miles?  One nautical mile is 1 minute of an arc of latitude, so 60 nautical miles would be 1º and 30 nautical miles would be ½°.  Of latitude.  It translates to just over 1 regular mile.

Where were we?  Oh yes, in England.  Which is also where John Harrison was.   He was born in 1693, and made clocks out of wood with his younger brother.   One of his great achievements was to design the parts so that they had almost no friction, and therefore didn’t need any oil.  This was a big improvement because 18th century oil quite frankly stunk as far as clocks were concerned.

Harrison decided to make a clock good enough to win the prize.  His first clock, conveniently called H1, was made when he was about 40 years old.  And it worked well during the Official Testing on board a couple ships (because you didn’t think a prize would be awarded without checking how the clock did at sea, did you?) but Harrison wasn’t completely happy with it so instead of the full prize he asked for money to make a second version.  He worked on the next clock (H2) from 1737 to 1740, then decided that was all wrong and began work on H3.  This took 19 years — our man Harrison was nothing if not thorough.  But sadly, H3 wasn’t good enough to win the prize, and meanwhile he began working on — hold your breath everyone — H4.

Incidentally, one of the neat things about Harrison’s clocks is that they weren’t just different versions of the same thing.  It’s not like he said, “Hey, I have a new edition out — no, really, the fact that I changed one tiny thing makes it completely different.”  His clocks really were different, and H4 was down to being a pocket watch, which is mighty convenient for being on board a ship.

Here the story gets complicated.  H4 kept really good time, losing less than a second a day, but the Board of Longitude was all, “Well, maybe, maybe not” and Harrison had to make more copies, and blah blah and yadda yadda yadda and the end result was that he also made a new clock H5, plus his buddy Larcum Kendall made a copy (called K1), but the Board was still, “Umm, well” and people  — by people I mean King George III — got all upset and finally in 1773 the Board said, “OK, you win.”

harrisons_chronometer_h5

Interestingly, this recent article from New Scientist says that when they opened up H1 to re-fix something (it had been in disrepair and was fixed more than 40 years ago), the way the parts were manufactured suggested that he had some help with some of the chains and whatnot inside.  It’s a pretty interesting article, and the comments are fun to read (mostly saying things like “Of course he had a bit of help!  He didn’t smelt his own metal, now did he?”) but the best part is the gallery of pictures here.

The photo of H5 is published on wikimedia by racklever under GNU-FDL.  A lot of the information about Harrison is from this site.

Longitude, Part I

May 28, 2009

So yesterday we talked about how to find your latitude if you’re in the Northern Hemisphere (and I’m pretty sure there are ways to find it in the southern hemisphere with an astrolabe, but I don’t think they’re as straightforward).  Longitude, however, turns out to be tough no matter where you are.

For one thing, although the Earth spins so there are two natural poles, and therefore you can measure Latitude in relation to those poles, there isn’t any natural Longitude:  it’s all in relation to an arbitrary point.  According to this official site at Greenwich, Hipparchos was the first guy to use longitude formally, about 150 BCE,  and he used Rhodes in southern Greece as the key spot.  About 250 or 300 years later Ptolemy joined the fun, but he used the Canary Islands in Spain as the starting point.    Mecca was used as a Prime Meridian for many mathematicians.  France had one, as did the US and Canada.  Altogether there were lots and lots of 0°, which could get a little confusing, and so about 130 years ago a bunch of countries got together and decided that Greenwich could be #1 Number 0, and everyone was happy.  Except France.  France didn’t want to give up its own Prime Meridian through Paris, so they refused to vote for Greenwich and kept using their own meridian until…until… actually, I don’t know if they ever formally adopted the Greenwich one.  Here’s a picture of the Paris one:

Paris-meridienneFredA took this picture (published under GNU-FDL).

So the first problem is deciding on a reference point, and clearly that was a big one.  The next problem is figuring out how far away from that reference point you are, and that’s hard too because the earth keeps spinning.  The simplest way is actually to use time: the Earth makes one complete rotation in 24 hours 23 hours and 56 minutes, so the Earth turns 15° in just under an hour.  Which means that if your buddy calls you and says, “Dude, did you see that amazing eclipse that happened at 1:23?” and you say, “Yes I did, but here it happened at 2:15!” then it means that you are 52 minutes ahead, so that’s (52 minutes)*(1 hour/60 minutes)*(15°/1 hour)= 13° longitude further east than your friend (assuming the AM/PM match up).    You could also set a clock to noon, and then if your clock keeps working  you could compare it to local noon (when the sun is at the highest point in the sky) as you travel away from your starting point.

You don’t HAVE to use time to determine longitude, and in fact some of the great minds did look into ways to use the stars to find a way, but it did turn out that clocks were the key (as we’ll see in part II).

Latitude

May 27, 2009

Astrolabe 1Suppose you’re on the open seas, and your GPS falls overboard.  Or maybe it’s 400 years ago.  How can you tell what your latitude and longitude are?

We’ll start with latitude, because it’s easier.  A LOT easier.  If it’s a nice night, and you’re somewhere in the Northern Hemisphere, the easiest way is to take a gander at the North Star using an astrolabe.  Some astrolabes are simple, others are complicated, but they can all be used to find the North Star.

Hey, how about if Godzilla shows us how to use a homemade one!

Astrolabe 1

This model was originally designed by…someone.  I don’t actually know who came up with it.  But all you need is a protractor, a straw, tape, string, a weight, and someone to drill the hole in the protractor so you can attach the string [or you can use a paper protractor].

In theory, the bottom of the straw should be held up to the eye.  Godzilla’s short arms aren’t really conducive to holding things up (he’s had to survive using his brains as much as his brawn), so here’s a drawing of what it would look like:

Astrolabe 2

When you look through the straw at an object like the top of a tree or the North Star (Hmm, why didn’t I draw a star?  Because Godzilla was actually facing tree in our yard at the time, so I got distracted).  Anyway, when you look through the straw, the weight causes the string to fall right at the angle that the object is above the horizontal!

Here’s why:

Astrolabe 3

So sailors just grab their handy dandy astrolabe, measure the distance of the North Star above the horizon, and that’s the latitude!  [I always have to think that one through.  On the equator, the North Star would pretty much be on the horizon, so that’s 0° above the horizon, and at the North Pole the North Star would be directly overhead, which is 90° above the horizon.]

Next up:  Longitude (Part I and Part II).

Memorial Day 2009

May 25, 2009

Fort Rosencranz

Last year, we posted a brief discussion of the history of Memorial Day, a US holiday of remembrance of Americans who died in military service for their country.

Following up on last year’s post:   Frank Buckles is now 108, and [naturally] is still the last known surviving American veteran of World War One.  Last year’s NPR interview with him is still available on-line.

Photo taken by TwoPi in January 2008 at Fort Rosencrans National Cemetery, on Point Loma, San Diego,  CA.