According To My Calculations

By Mel Campbell on November 27th, 2009 at 8:21 pm
Image from Maurice Hartung's 'Teaching Guide for Slide Rule Instruction' (Pickett & Eckell, 1960).

Image from Maurice Hartung's 'Teaching Guide for Slide Rule Instruction' (Pickett & Eckell, 1960).

“Don’t know much about geography, don’t know much trigonometry,” crooned Sam Cooke in 1960. “Don’t know much about algebra, don’t know what a slide rule is for.”

Almost fifty years later, I still didn’t know what a slide rule is for. Indeed, to me maths has always been a foreign country with a language I’ve never been able to speak fluently – which is why I’m now editing a pop-culture website. In grade six, I was so distraught at not being able to understand long division that I put my head on my desk and cried. My teacher patted me awkwardly on the shoulder. “Don’t worry,” she said. “In high school, you get calculators.”

The first human calculation device was our bodies; the Latin word ‘digit’ refers to both numbers and to fingers and toes. The current ubiquity of the decimal system has its roots in our possession of ten fingers and toes. The term ‘calculate’ hints that what came next was using small objects to count, because the Latin word ‘calculus’ also means a pebble.

Cro-Magnon peoples used notches in sticks and bones to make running tallies. We still insinuate a certain primitivity when we talk of dickheads marking their sexual conquests with notches on their belts or bedposts. But the tally system (grouping data in clusters of five) has a simple elegance and – since it’s more than 20,000 years old and is still in use today – is one of humankind’s earliest forms of mathematical notation.

In England from medieval times until 1826, tally sticks were used in government administration and in commerce, acting as receipts and official records. Notches were carved in the stick at intervals that represented particular quantities or amounts. Then the stick was snapped in two. The longer piece – the “stock” – was kept by the shopkeeper or bureaucrat, while the payer kept the shorter end – the “foil”. Only when the two pieces were reassembled could both parties ‘tally’ the amount owed.

It’s incredible to think that this system persisted into the 19th century. By the time record-keeping moved to paper, the cellars of the Houses of Parliament were full of archival tally sticks, but the government was loath to donate them as firewood since they effectively constituted classified files. In 1834 the decision was finally made to burn them all, but the blaze got out of control and destroyed most of the entire Westminster complex. (The present Gothic revival buildings, designed by Charles Barry and Augustus Pugin, were constructed over the next 30 years.)

A Chinese abacus, or

A Chinese abacus, or suanpan.

In Asia and the Middle East, the abacus was invented as long ago as 2700 BCE. The original Sumerian version consisted of a table of columns setting out their sexagesimal (a base of 60) counting system. While reading about Sumerian mathematics causes terrible pain to my humanities-trained brain, it’s worth noting that sexagesimal systems persist in contemporary measurement, including geometric angles (360 degrees in a circle), telling time (60 minutes in an hour) and geography (360 degrees on a compass).

The Mesopotamians, Egyptians, Chinese, Persians, Greeks and Romans each refined the concept of the abacus. The earliest devices were flat boards or tables on which were marked lines or grooves. Removable counters such as beans or pebbles (”calculi”) were moved from one end of the line to another, past markings indicating particular amounts. Eventually, the grooves were replaced by rods on which beads were permanently threaded.

The Chinese abacus, or suanpan, which was first described in 190 CE, can be used for both decimal (a base of 10) and hexadecimal (a base of 16) computation. As well as simple addition and subtraction, it can do multiplication, division, square roots and cube roots.

When you think about it, the sophistication of the meanings we impose on simple objects is extraordinary. Unlocking the power of mechanical calculation basically means teaching people to think metaphorically. I mean, I used to bat abaci about in doctors’ waiting rooms as a child… and thought they were a pretty boring toy.

The slide rule is another such metaphorical device. Essentially, it’s an analogue computer that uses the ratios between two logarithmic scales to make complex calculations. The simplest slide rules allow multiplication and division, but ’scientific’ slide rules can tackle logarithms, trigonometry, hyperbole and roots. Specialised slide rules could be used for cryptanalysis, aviation and banking.

In 1614, British clergyman and hobby mathematician John Napier invented logarithms by realising he could use addition and subtraction as metaphors for multiplication and division. In order to perform the bazillions of multiplications it took to test his theory, Napier invented the abacus-like times table device now known as Napier’s bones. And mathematicians throughout Europe quickly realised that they could represent Napier’s logarithmic tables on linear scales.

William Oughtred invented the slide rule as generations of mathematicians and engineers would recognise it, first in a circular form in 1630, and then in strip form in 1632. Both its physical shape and the scales represented on the rule were finessed over the next two centuries; Frenchman Amédée Mannheim invented the modern form in 1859.

A slide rule usually consists of a moveable linear strip between two fixed linear strips, with a sliding cursor that can pinpoint the relative spots on all three strips. Slide rules also come in circles and cylinders. You know those sporty watches with the dials that can spin around? They’re slide rules.

To take a really basic calculation: to work out three times four you’d first align the “1″ on one scale with the “4″ on another, and then slide your cursor to the “3″ on the first scale, where it ought to align with “12″ on the second. If the rule wasn’t long enough to provide the answer, you could do the same calculation in decimals, and then shift the decimal place.

This was only the start of the sophisticated operations a slide rule could perform. Again, this stuff is breaking my brain. But while they seem arcane to those who learnt to calculate using pen and paper or a pocket calculator, slide rules made absolute sense to those whose mathematical schooling was based on them. They actually were rocket science: Wernher von Braun, the German-born astronautics engineer who spearheaded America’s space program, refused to use any other calculating device.

By the mid-20th century, when they were already being superseded by the first generations of electronic calculators, slide rules were the key tool of engineers. In a far cry from the engineering students of my own acquaintance, nerds used to stroll around campus with ten-inch slide rules nestled in belt holsters. Some would carry a smaller slide rule and keep a larger – hence, more accurate – one at home or work.

A 1954 ad for the Burroughs "all electric" calculator. Its "memory dials" meant "no rehandling of figures … no chance for pencil and paper errors."

A 1954 ad for the Burroughs "all electric" calculator. Its "memory dials" meant "no rehandling of figures … no chance for pencil and paper errors."

The first mechanical calculating machines had been invented back in the 17th century – French philosopher Blaise Pascal invented the “Pascaline” as a teenager, and German wunderkind Gottfried Wilhelm Leibniz created a prototype for the first digital calculator, to which he gave the awesome name the “Stepped Reckoner”.

However, these devices were inaccurate and they often broke. The first commercially viable calculating machine was patented in 1820 and known as the “Arithmometer”. Various other designs followed, ranging from as large as a piano to as small as a sewing machine.

The “Comptometer” (1884) was the first machine to be controlled by pressing buttons; through the first half of the 20th century, ‘adding machines’ powered by mechanical gears (and either hand-cranked or electrical) were roughly the size of typewriters. In the 1950s, vacuum tube and then transistor technology was adapted from mainframe computers; released in 1961, the British-made ANITA was the first all-electronic desktop calculator.

By 1970, integrated-circuit calculators were low-powered enough to run off batteries; in 1972, Hewlett-Packard had invented one that could perform the same ’scientific’ functions as a slide rule, and by the mid-’70s they had liquid crystal displays. However, it’s not known when it was discovered that when turned upside down, calculators could write “HELLO” and “BOOBIES”.

Of course, the most marvellous calculating device of all is the human brain. Ancient civilisations regularly consulted oracles – people who claimed to have direct connections to the gods – for answers to specific questions in the same way later generations would input data into computers. Later, chess-playing automata concealed human chess players.

This conflation of the human, the mechanical and the divine is neatly highlighted in Douglas Adams’s Deep Thought, the supercomputer that decided the meaning of life, the universe and everything was 42. Subsequently, Deep Thought became the intelligent designer of creationist fantasy, designing an even more powerful computer – Earth – to determine the question to which 42 was the answer.

When we memorise our ‘times tables’ as children, we are also becoming computers, inputting raw data that we don’t ‘overthink’, but merely output when it’s needed. And before the spread of electronic calculation, computing data was some people’s job.

Arguably the originator of the idea of team computing was 18th-century French astronomer Alexis Claude Clairaut. When Clairaut wanted to work out when Halley’s Comet would return, he divvied up the computation work between himself and two colleagues, Joseph Lalande and Nicole-Reine Lepaute.

For female mathematicians and astronomers – who faced systemic barriers to professional practice – being a computer was the most advanced occupation they could hope for. As with so many other intellectual occupations, World War II provided women with the opportunity to enter the profession in large numbers – especially in cryptanalysis and on the Manhattan Project.

Some people take these computing processes even further, and become so adept at quickly processing data in their heads that their performance seems to be that of a machine. American maths education advocate Scott Flansburg is known as “the Human Calculator”. “The secret of numbers is that every number higher than nine adds back down to nine,” he told ABC radio in Sydney. It’s a mental shortcut Flansburg uses to add and subtract at a speed we think almost impossible of a person.

British man Alexis Lamaire holds the world record for calculating the 13th root of a 200-digit number. It took him 77.99 seconds. Another British savant, Daniel Tammet, can recite pi to more than 22,000 digits. Like Lamaire, he accomplished this feat through strategies of memorising that stuff his brain with information and then allow him to retrieve it.

While Lamaire harnesses chunks of data to words and movie-like images, Tammet has described his view of numbers as a landscape in which each digit has a specific colour and appearance. So, people who are often hailed as freakish or machine-like are simply excellent at training their imaginations; they possess a more abstract mastery of the same metaphors used in mechanical calculation.

But don’t let your relative lack of genius get you down. Your seemingly pedestrian ability to turn visual shapes into intelligible ideas – otherwise known as ‘reading’ – is what makes you more sophisticated than any electronic machine.

Luis von Ahn was part of the Carnegie Mellon University computer science team that invented the CAPTCHA internet security test. (It’s a backformed acronym for Completed Automated Turing Test to Tell Computers and Humans Apart.) His research is based on harnessing digitised cataloguing procedures to the ordinary human capacity to make sense of images, thus accomplishing tasks that neither people nor machines could perform separately.

At von Ahn’s Games With A Purpose, internet users team up to play fun and addictive games that actually help tag images so they’re easier for search engine bots to find. Google has licensed his “ESP Game” as Google Image Labeler to help make its Image Search more accurate. The internet titan also bought von Ahn’s company reCAPTCHA, which uses real words from books being digitised as its CAPTCHA test terms. The genius of reCAPTCHA is that it picks up errors in book digitisation – especially of old texts or those in poor condition – that can slip past computers.

Here’s von Ahn, explaining the process in a presentation this March at the US Library of Congress. He had been invited to speak at the symposium Computing Research that Changed the World.


Tagged with , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

3 comments have been made

  1. Mand 27 Nov 09 at 11:06 pm

    This article makes my nerdy self smile. But my mathematically-challenged brain needs to read it several more times.

    I find it annoying that I love the history of mathematics without having any understanding of mathematics itself. Stupid brain.

  2. Mel Campbell 28 Nov 09 at 11:20 am

    Me brain no too good after righting this artacal eitha.

  3. Mel Campbell 4 Dec 09 at 7:57 am

    Today I read that IBM is trying to build a supercomputer that can approximate the way humans think. They’re calling it ‘cognitive computing’. So far they have made one that can think like a really slow-witted cat.

    “The computer was shown images of corporate logos, including IBM’s, and scientists watched as different parts of the simulated brain worked together to figure out what the image was.”

    My first thought in response to this was that hackers/spammers would adore such computers because they would easily defeat CAPTCHAs.

Post a Comment