Monday, October 24, 2011

2010 Census and lognormal statistics

kw: census records, statistics, statistical distributions, analysis

Some time ago I wrote briefly about the US state population distribution in the 2010 Census, but the County data were not yet released. County data were released a couple months ago, and I just had the chance to review them.

This shows the county populations analyzed in Lognormal coordinates. While the fit is not perfect, a lognormal fit is better than any other that Minitab can analyze.

The lognormal distribution is appropriate for collections of parameters that divide up a fixed quantity using several criteria. The more "reasons" there are for division, the closer to a lognormal distribution the data will be, according to the logarithmic form of the Central Limit Theorem (CLT).

This repeats the US state information I plotted before, showing the goodness of fit within a lognormal model.

As I was thinking about this, I began to wonder why people choose to live in one place or another. In my own case, I made one choice based on the school I wanted for my graduate studies, and a few other moves based on job opportunities. One move was arranged to avoid a certain climate.

There are so many reasons, it is likely the CLT is well-satisfied. This does appear to be the case for these state and county data. I sought another level of analysis in order to see if I could tease out a few of the big factors.

This chart shows one factor and gives hints at one or two more. For each state, it plots average yearly rainfall horizontally and population density vertically. The state abbreviations help us discern part of what is going on.

With the exception of Alaska, there appears to be an upward-trending lower bound, anchored on the left by the cold, dry north-central states and on the lower right by the hot Gulf Coast states. The odd combination of NE, OR and ME fills in the middle. Moving upward from this line, I think I see two trends. One is that the states that were the original thirteen Colonies have high population densities, capped by New Jersey. Three states, CA, FL and HI, are "great climate" states. The remaining states tend to line up with warmth being an upward indicator, though there is lots of scatter.

This just scratches the surface of such an analysis. I suspect parameters such as the unemployment index and state taxation laws have their own influence; for example, I would expect Oregon to have a density closer to that of Delaware, as both have no sales tax, and they have similarly mild climates. Clearly, other factors come into play (like half of Oregon being mountainous and thus rather unlivable unless you are Jeremiah Johnson). For the moment, I've gone as far as I can without dragging together lots more data.

Sunday, October 23, 2011

Maybe they really care

kw: book reviews, nonfiction, animals

The cynic says, "Yes, the lion may lie down with the lamb, but the lamb won't get much sleep." Yet there is a story in which a young lioness cared for a young oryx for a week or two. As told in Unlikely Friendships: 47 Remarkable Stories From the Animal Kingdom by Jennifer S. Holland, the lioness adopted the orphaned oryx and cared for it the way a pre-teen girl might care for any orphaned animal baby. The confused oryx accepted the mothering and even tried to suckle, though the cat had no milk.

In this case, the pairing could not go on for long. The lioness was not hunting, so neither animal was getting any nourishment. In fact, when watching people threw meat to her, she would ignore it. When another lion came along and ate the oryx, the lioness snapped out of it and accepted meat, then went back to hunting.

Everyone who has a houseful of pets of multiple species knows that dogs and cats can learn to get along. From time to time, quite unusual pairings and caring examples occur. In one of the stories in the book, when a dog became blinded by cataracts, the family cat began leading her around and watching out for her. The cat was quite solicitous, and very specific, ignoring the other dog in the house.

Most of the stories are about young animals, usually very young orphaned ones. Animals and birds have strong social needs, particularly when young, and will fulfill them in unusual was if the usual is not possible. Thus a lion cub and two caracal cubs (another kind of wild cat) played together as siblings until they grew up, a cage full of baby orangutans and tiger cubs happily played together during their infancies, and a just-hatched kookaburra and duckling kept each other company while they were little.

Many stories are about fostering, which stretches the bounds of friendship; I don't think my wife and son think of one another as friends, though they love one another. A number of fostering stories are of deliberate pairings on the part of zookeepers or game wardens or rescue workers, confronted with an orphan that needs care but having no mother of the same species who is willing or able to care for it. Thus the opening story of the book pairs a mature sheep (a male in this case) with an orphaned baby elephant. The sheep was a usually willing participant, while the elephant, being very needy, took all the comfort he could from their cohabitation. This pairing was undertaken after the staff had successfully paired sheep with a number of bereft baby rhinos.

More genuine friendships between adult animals of diverse species are less common, and the more awe-inspiring. In the book's second story, a black cat went into the enclosure where an Asiatic black bear was kept at the Berlin Zoo and befriended the bear. The cat comes and goes, but the two have spent plenty of time together for more than ten years already, and are visibly comforted by being together.

I don't know the story of this raccoon and skunk. It may be an accidental meeting in which both behaved well, or a longer-term pairing. Both are carnivores, and being of similar size, would find it wisest to treat each other well. Other longer-term pairings, such as a cat and a cockatoo or a donkey and a farm dog, occur in domestic settings.

Two quite unusual events, both short-term, involved SCUBA divers, one who was visited by a young manta and another who was probably the object of fostering when a half-ton leopard seal began "helping" him the way she would a seal calf. Both divers were enthralled by the attention of such different animals.

The stories are enjoyable reading, but it is the photos that make the book. Animals are clearly not the robotic eat-defecate-mate-sleep-repeat machines that some psychologists might insist. They have great social needs, and when circumstances get unusual, their social expressions can get unusual also. And it is not just mammals and birds; in one case a house cat and a large iguana paired up and seem to be getting along famously. Even lizards need love, it seems.

Saturday, October 22, 2011

Valley Forge - a reminder

kw: history, historic sites

Valley Forge is less than an hour up the road. We visited today with several friends, a group of 14 all told. Most were not born in this country, so we did a lot of explaining about what the Continental Army was doing here in the winter of 1777-8, and why July 4, 1776 had been the beginning, not the end, of the war for independence.

The highlight for me was visiting the headquarters building that George Washington used over that winter. It is the building in the right half of the panorama below. Though he and a few officers were better housed than the soldiers under their command, the quarters were cramped and quite spartan. We have heard much of the sufferings of the soldiers at Valley Forge. Most of them were poorly supplied by their home colonies (not yet states), and subsisted by raiding supply trains meant for the British. Though no pitched battle was waged here, there were continual skirmishes all winter long, some triggered by supply raids, and others just probing of defenses. The army was actually fortunate that the winter was comparatively moderate, not the norm for the "Little Ice Age" that was just beginning to loose its grip but lasted until the 1840s.


An equally moving, but sadder view was the arch erected in 1901 to honor the men who suffered here.

This plaque inside the arch is particularly poignant, because the liberties for which these men fought are being eroded daily under the present administration. Will the coming generation look upon this plaque with reverence, awe and gratitude for the freedoms so sorely gained, or with puzzlement and incomprehension? For those who have trouble reading the photo:

And here in this place of sacrifice
In this vale of humiliation
In this valley of the shadow of that death
Out of which the life of America rose regenerate and free
Let us believe with an abiding faith
That to them Union will seem as dear
And Liberty as sweet and progress as glorious
As they were to our fathers
And are to you and me
And that the institutions which have made us happy
Preserved by the virtue of our children
Shall bless the remotest generation
Of the time to come [Henry Arnett Brown]

To which I say, "Amen!"

Friday, October 21, 2011

When they were a penny

kw: reminiscences, history, post cards

A friend directed me to the GenWeb Penny Post Card Archives, where I snagged a couple of images from my own past.

I spent half of my formative years in a suburb of Salt Lake City, Utah. We visited the Capitol Building once.

Even earlier, I was born in Pasadena, California, and we lived in the area until I was about six. My wife and my brother and I visited the old City Hall just a couple of years ago. Still as beautiful as ever.

I remember penny post cards, but vaguely. I also remember when a regular letter was two cents, but about the time we moved to SLC the price went to three cents.

It may be radio, but is it active?

kw: book reviews, nonfiction, science, physics, radioactivity, history

Click on this image to see the details more clearly. In ultra-brief form it embodies knowledge that led to a couple dozen Nobel prizes from 1901 to the 1930s.

In each small chart, the horizontal axis is the Proton number (the Atomic Number), Z, and the vertical axis is the Neutron number, N. Atomic Mass, A, is Z+N. Therefore, in the lower left Uranium Series, The starting point is U238: Z=92, N=146 and A=238.

A careful look reveals that three of the four series begin with or pass through a Uranium isotope, and all four begin with or pass through a Thorium isotope. All pass through at least Radium, Radon, Polonium, and Lead isotopes, as well as a few others. Three end at the stable isotopes of Lead, 206, 207 and 208, while the fourth ends at Thallium 205. In an alpha-beta decay scheme, one of those four isotopes must be the end result.

These are the end result. Where did we learn all this? That is the subject of Radioactivity: A History of a Mysterious Science by Marjorie C. Malley. Beginning with the discovery of "Uranium rays" that affected photo emulsions in 1896, scientists labored to learn, step by step, of the different "rays" and "emanations" of uranium, thorium and their decay products, which were initially given names like "Uranium X" and "Mesothorium".

A marvelous feature of the book is to immerse us in the time, using the terms current as the discoveries were being made. As the various radioactive "rays" were discovered, there were periods of years during which, for example, the alpha "ray" was misunderstood because, while its bending by a magnet could not at first be discerned, it was stopped by paper, unlike the x-rays to which it was being compared. Eventually the trichotomy was discerned: alpha equals fast-moving He++, beta equals electron, and gamma equals extra-powerful x-ray. Then the fun began! If heavy atoms "radiated" by emitting helium, the helium particle (this was before the neutron was known) must be a building block of atomic nuclei. Only much later were protons and neutrons found.

Before isotopes were discerned (I hesitate to say, discovered), confusion reigned. We now know that "Radium" referred to Ra226, while Actinium X, Mesothorium I and Thorium X referred to other isotopes of Radium. They could not be chemically separated, and it was only by measuring the atomic mass of radioactively-produced substances that they could be told apart until the invention of the mass spectrograph in 1919.

Radioactivity discoveries helped elucidate quantum theory. For example, the energy of emitted alpha particles was related to total intensity, or inversely related to half life. For uranium, for example, we find that isotopes with half lives of a minute or a few minutes have alpha energies near 7MeV, half lives of a few days go with energies near 6MeV, half-lives of years to thousands of years go with energies near 5MeV, and half-lives in the millions- to billions of years imply alpha energies of 4.5 MeV or less. The phenomenon of quantum tunneling and exponential statistics, coupled with Heisenberg's Uncertainty Principle, eventually explained such patterns.

Throughout the book, we learn of the persons who worked all this out, of their labors, theories, missteps and discoveries. Of course, the Curies are the most famous, and Roentgen and Becquerel and Rutherford not far behind. The roll call of famous pre-1920 physicists and chemists numbers in the dozens, and many received Nobel Prizes. Marie and Irène Curie stand out as the only mother and daughter to both receive a Nobel Prize, while the two William Braggs, father and son, received a joint Prize in 1915.

The dangers of handling radioactive materials were slow to be realized. Several persons induced radium burns in their skin, but longer-term effects went unknown for decades. As late as 1960 children touring uranium-producing facilities were given vials or capsules containing yellowcake, or pure U3O8. Both my mother and I received such souvenirs. In my case, I carried the capsule in my pocket for a few weeks before putting it in a dresser drawer. Later I gave it to a geology professor for use as a standard material in his radiation lab (by 1971 it was almost impossible to obtain uranium compounds). I don't know if carrying a strong gamma-emitter like that had anything to do with the cancer I had forty years later; it occurred at a location in my colon next to the pocket in which I carried the capsule at age 12.

By the time the Manhattan Project and similar European efforts were undertaken, the decay chains illustrated above were well known, and Radioactivity as a discipline had been subsumed into Nuclear Physics and Particle Physics. The focus of study turned to those few isotopes that could be stimulated to fission, the basis of nuclear power plants and atomic bombs. In the public mind these overshadow other advances such as nuclear medicine and radionuclide imaging and therapy, and even the tiny speck of an alpha-emitter in a smoke detector (It is a tiny enough amount that even if you dug it out and ate it, you'd suffer little harm).

We live in the post-Atomic age. Nuclear power plants are on the wane, particularly after a few melt-downs in recent years and the disaster last year in Japan. Yet much of modern life would be unthinkable without the discoveries of more than a century ago, when the understanding of how atoms worked was turned upside down, starting with a few pieces of photographic film fogged by proximity to uranium ore.

Last words of a tyrant

kw: world events, coups, assassinations

One way to spell his name is Muammar Muhammad Abu Minyar al-Gaddafi. He was usually called Gaddafi or Kadhafi. Now he is dead, and the world breathes a sigh of relief. While some deplore that he was killed without a trial, can you imagine the circus that would have resulted from bringing him to trial?

It is reported that his last words were, "What did I ever do to you?" What appalling self-blindness! I can imagine him asking the same thing of the thousands who were killed at his order, or the tens of thousands who were tortured. He takes his place among the genuinely evil, alongside Stalin, Mao, Hitler, Ceauşescu and Amin.

Thursday, October 20, 2011

Fumblemouth strikes again (almost literally)

kw: politics, public figures

It's all over some of the news: Joe Biden stuck his finger in a reporter's chest and said, "Don't you screw with me." The reporter for Human Events had asked if he "regretted" the "rape" comment he made in a speech the prior day. At that time and since, good ol' Joe denied the comment, stood behind it, and managed to prevaricate, speaking out of at least three sides of his mouth. I didn't know he had it in him. He is definitely not known for clear speaking, but this is superlative!

About a quarter of news outlets are carrying the story. For the rest, it seems it never happened. Care to guess how the biases of these outlets pan out?

None of my Delaware friends is willing to talk about him any more. For decades, he has been considered a bit of a fumbling fool, but, as you might say, "He is our fool". It is no secret that he's also a bully, but he's been careful in the past to keep it out of the news. Well, it is still not in 3/4 of the news. At least a few remnants of a free press remain in this country.

Just by the way, the substance of what Joe was trying to get across in his speech was that the "jobs" in the "jobs bill" were not temporary. Just proves he hasn't read the bill. Every job explicitly promised by the bill is a one-year project with no follow-on promised. Pity the poor fool that believes anything Mr. Fumblemouth has to say.

Wednesday, October 19, 2011

Mormon - so what?

kw: politics, faith

Much was made for a time at last evening's Republican candidates' debate about Mitt Romney's Mormon religion. In 1960 much was made of Jack Kennedy's Catholic religion. I think either point is moot. President Kennedy wasn't much of a Catholic. So far as I can find out, Candidate Romney is a serious Mormon. But what does that have to do with running the national executive office?

Sure, Evangelical Christians don't accept Mormons as Christians. I've lived in Salt Lake City—admittedly, before the age of 15—and spent time there since. To my observation, Mormons are about as "good" and "faithful" to their faith as Christians of more traditional stripe. It is who you are and what you do, not the church building you are found in on weekends, that determines your usefulness to society and fitness for high office.

I wonder what foofaraw people will raise the first time an avowed Muslim runs for President…

Tuesday, October 18, 2011

Things possible and impossible

kw: book reviews, nonfiction, science, cosmology

"Alice laughed: "There's no use trying," she said; "one can't believe impossible things."

"I daresay you haven't had much practice," said the Queen. "When I was younger, I always did it for half an hour a day. Why, sometimes I've believed as many as six impossible things before breakfast." ——Alice in Wonderland.

Judging from The Universe Next Door: The Making of Tomorrow's Science by Marcus Chown, a great many physicists are accustomed to believing impossible things not just before breakfast, but all day and night. The strange thing is, some of these impossible things become not just possible, but the products of our technological society. Consider ultrasensitive magnetometers called SQUIDs, for Superconducting QUantum Interference Device. They depend on the ability of an electron to pass through two apertures simultaneously and interfere with itself. A tiny magnetic field biases how many electrons actually self-interfere and how many pass through just one aperture and thus fail to interfere, producing a signal boost.

Others remain stubbornly impossible. It is estimated that about one-third of the brain energy of cosmologists has been consumed with string theory for the past few decades, and to date, every "result" must be firmly labeled speculative. So far, not one testable hypothesis has emerged from the field.

Still others seem fantastic, but plausible upon reconsideration. The last chapter of the book, titled "Alien Garbage", discusses the proposal by Alexey Arkhipov that there could be a few thousand artifacts on earth that are "space junk" from alien civilizations. Consider: In 54 years of the "space age", we have produced tens of thousands of items in orbit, most of them pieces of satellites or debris from their launching, plus at least two large space probes deliberately sent beyond the confines of the solar system. Consider a century hence, at which time we might have begun to make use of the asteroid belt. Over time, we might convert some fraction of a percent of its mass into artifacts of all sizes. Some of these will inevitably be lost to interstellar space. Using a calculation similar to the Drake Equation used for SETI predictions, Dr. Arkhipov estimated that about 4,000 pieces of alien space junk could have found their way to the Earth's surface in the past few billion years, assuming aliens have been around that long. This is considered a reasonable estimate, and, remarkably, you'd have to reduce the estimate by a factor of a few thousand in an "unreasonably pessimistic" direction, to claim that there are one or fewer alien artifacts that could have impacted Earth.

In between, the author has gathered quite an entertaining variety of speculations about the nature of the universe (or universes), of reality itself, and of life. Can it be that every time a choice must be made, the universe splits into a sufficient number such that every possible choice actually occurs, somewhere? Think of how many decisions you make daily, and multiply by seven billion; or better, multiply by the half trillion or so vertebrate brains on the planet; or even better, multiply by every option a quantum is faced with each and every nanosecond, and split universes accordingly. Now there is an impossible thing to consume with your breakfast! And I contend that this speculation is, indeed, impossible in the very most literal sense of the word. This is a consequence of the Copenhagen Interpretation of quantum theory, which states that a quantum event does not actually eventuate until an observation is made that "forces" the previously "mixed state" of the quantum or quanta involved to "choose" where to be and how fast to be moving. Such a "many-worlds" model is proposed as a way that all possible "choices" can be made simultaneously. A vastly simpler explanation is certain to arise.

At the other end of the scale, there is the existence of life itself. One life-bearing planet is proof that it is possible. But how likely? It is either very easy or very hard. Experiments in the lab have eliminated the easiest end of "very easy", but if you could carry on such experiments for a trifling million years or so, producing life might be found to be inevitable. Don't hold your breath. The blackness of the comets so far visited indicates that they are also likely places for living cells to arise (again, given a million years or so when they are still warm from creation and from medium-duration isotopes such as Al26).

Then there is the fifth dimension. I understand the special and general theories of relativity well enough to be comfortable that spacetime is a four-dimensional continuum, with the proviso that motion along the t dimension is not manipulable in any way other than by changing either velocity or gravitational potential. Can t be reversed, or can there be portions of space in which t is traversed in the opposite direction? Further, can there be yet another dimension of space, or multiple time dimensions? There is lots of speculation, but no data. By the way, the author does not denote terms for the directions along a fourth space direction. I suppose he is unaware that theorists use the terms ana and kata to correspond to "toward" and "away" along this extra dimension/direction.

While I enjoy reading about such speculations, I am equally amused that they get more than passing notice. It really is easier to believe in God than in many of these speculative cosmologies. Amazingly, there is a whole chapter titled "Was the Universe Created by Angels?", which re-introduces creationism, but relegates it so "superior" beings, who are less than "supreme". This just puts off the question by a step; how did the specially-tuned Universe in which these "superior" beings arose get created? Reminds me of the old Hindu who was asked "What is the Earth?" He stated, "The rounded back of a huge turtle." Asked what holds up the turtle, he said, "Four elephants." Asked if the elephants are standing on anything, he replied, "A larger turtle." OK, but what was the turtle on? Exasperated, he replied, "From there, it is turtles all the way down," and he walked away to forestall any further questions.

Any question of origins inevitably results in, if we are honest, "I don't know," and if we are more honest, "Probably, we can never know." So far as I know, Fred Hoyle has never reneged from his belief in continuous creation. He has his own explanations for various phenomena offered as "proof" of the "big bang." At least, his cosmology cannot be challenged by the question, "What was there before the beginning?" since it is without beginning. And perhaps that is the best place from which to think: Do not try to imagine a beginning, or a "before" state. Science firstly seeks to answer "What is, and what has happened?", then, "How do things happen?". To ask "Why" is not scientific, but theological, and as S.J. Gould suggested, is a different Magisterium, into which science simply cannot probe.

That won't stop scientists from speculating, of course. Nor should it.

Saturday, October 15, 2011

Pie night

kw: cooking, recipes

I made an apple pie this afternoon, part of getting ready for a potluck lunch tomorrow. Our apple tree is bearing heavily this year, and its apples are just tart enough to make great pies. Second to good apples, the key to a great pie is the crust.

I learned how to make pies from the old (1967) Betty Crocker's Good-n-Easy Cookbook. Here is the recipe for a two-crust apple pie, as I make it.

(1) The filling
  • About six apples of a sweet-tart variety such as Jonathan, McIntosh, or Winesap. Enough that when cut up they measure 5-6 cups, loosely piled. If you use Delicious or another sweet-only variety, add a tsp of lemon juice when you mix the sugar with the apples below.
  • 3/4 cup sugar
  • 1 tsp cinnamon
  • 2-3 Tbsp cornstarch
Peel, core and cut the apples into pieces not more than 1/2 inch thick (1.3 cm). Pile in a bowl. Mix the sugar, spice and starch well and pour over the apples. Set aside.

(2) The crusts
  • 1-3/4 cups flour
  • Half cup vegetable oil
  • 3 Tbsp cold water
  • 4 sheets wax paper, longer than the width
  • A ceramic, glass or metal pie dish that measures ten inches across the rim
Stir the oil into the flour with a fork until well mixed. Let it stand a minute or two then sprinkle the cold water over the mixture and stir again until well mixed. It should be easy to form into a ball. Split the ball into two.

Clean the tabletop. Wet with a nearly dripping wet dishrag and set a piece of wax paper, shiny side up, on the wet surface. Put one half the ball of dough on the paper and flatten a little with your hand. Top with a second piece of wax paper and roll it between them until it is a circle that just matches the width of the paper. Carefully strip off the upper wax paper. Lift the crust using the lower piece of wax paper and invert over the pie dish. Position the crust and peel the paper from the crust. Fit it into the dish so it overlaps all around. Fold up and raise the edge a little.

Now mix the apple-sugar-spice and pile into the crust in the pie dish. Set aside. I find it wise to put aluminum foil in the bottom of the oven to catch drips from the pie. Apple pies always drip. You can see three areas of overflow in the picture. Preheat the oven to 400 F.

Re-wet the table top. Roll out the second ball of dough like the first, strip off one paper, invert using the other piece of wax paper and position over the apples in the pie dish. Carefully strip off the wax paper. Seal all around the edge, either folding the top crust under the edge of the lower crust, or just smooshing them together. Flute if you like. Cut a few slits into the top crust for steam to escape. Otherwise the crust will balloon and burst. The apples will settle as they cook, so the crust needs to lower onto them.

(3) Cook and serve

Cook at 400 F on the middle rack for an hour. I check it at 50 minutes to see if the edge is getting too brown. The pie above is just exactly cooked right. A browner edge will have a burnt taste. The cook book specifies 425 F and using a curved strip of foil around the edge of the pie so it doesn't overcook. I've found a lower temperature and a full hour of cooking works best.

When you take out the pie, put it on a wooden board or pie rack to cool. It can be eaten in half an hour to an hour, once it is cooled enough not to burn the tongue. Hot, sugary apple juice is quite a bit hotter than boiling water!

Pie crust made with liquid oil is much tastier and flakier than crust made with lard or butter. Try it!

Friday, October 14, 2011

Brains of the sea, or dogs of the sea?

kw: book reviews, nonfiction, animals, whales, conservation

Diana Reiss is passionate about dolphins (AKA porpoises), and about toothed whales generally, and her passion makes it all the more enjoyable to read The Dolphin in the Mirror: Exploring Dolphin Minds and Saving Dolphin Lives. From time to time I have followed research on these small whales. Living in the Philadelphia area, the beaches that I can reach most easily are in southern New Jersey and Delaware. On many beach visits I have observed pods of porpoises passing by.

In the book, Dr. Reiss consistently uses the term Dolphin for these small toothed whales. I tend to prefer the term Porpoise, which is never applied to a fish, and I avoid Dolphin because of confusion with the dolphin fish, or mahi-mahi. However, the expected common name of the most familiar small whale is Bottlenose Dolphin, so I can go along with the author for the sake of this review.

Her premise is simple. The bulk of the book demonstrates that dolphins are unusually intelligent and that they share many characteristics that were once thought to be unique to humans, such as creating tools and toys, empathy and sympathy, and a theory of mind, even deception. Consider tools. How can a creature with no hands make a tool? It isn't easy, but it is possible. In areas with a coral bottom, rooting around in the bottom debris for fish that hide by self-burial is painful for a dolphin. Most of the dolphins in such an area get around this by breaking off a hollow sponge, and pushing the end of the snout (called the "rostrum") inside. They root around with the sponge, and when a fish flushes, quickly discard the sponge to snatch up the fish.

Then there are toys. Like all animals smarter than the average lizard (and maybe some of the lizards), dolphins play, even as adults. They play with the sponges when they've finished "fishing" with them, they play with shells and with floating debris, and they have been observed playing with bubble rings they blow with careful blasts from their blowholes.

They don't just make rings and watch them. They make multiple rings and manipulate them to merge or to pass through, a smaller through a larger. They drop a bit of fish or other debris into a ring, and the vortex will support it for a while.

In early experiments into creating a common language, Dr. Reiss built a simple keyboard with shapes the animals could easily discern, and created the association between one of the three keys and a bit of food, another with a toy, and the third with a rub or pat. The dolphins quickly learned, first, to come appropriately for one of these three things, and later to push the buttons to request one of them.

During training, when a dolphin acted inappropriately, such as by splashing, the trainer (usually the author) would give it a timeout by withdrawing or turning her back for a moment. After some days or weeks of training, she happened to offer a piece of food that one dolphin didn't like. The dolphin swam a short distance away then lifted half out of the water and looked at her; it gave her a timeout! Parents, if you use timeout with your kids, at what age will a kid who gets angry with you tell you that you need a timeout?

Then there is theory of mind. This is the researcher's term for a sense of self, and it is studied using a mirror. Your pet dog always thinks the image it sees in a mirror is a different dog. Dogs never recognize themselves. Great apes do recognize themselves, perhaps after several exposures to the mirror. Monkeys never do, but elephants and some birds do. So do dolphins and some larger whales.

This is first seen by a change of behavior. An animal (including very young humans) that thinks the image is a fellow being will first respond socially, perhaps by playing alongside, offering a toy, or trying to communicate. Once self-recognition occurs, things are quite different. Then it is a matter of turning this way and that, examining body parts not usually seen, and pirouetting while observing, "Boy, I look fine!" But scientists are reluctant to take this evidence as a sense of self. More is needed.

The Mark Test was devised to prove that chimps know they are looking at themselves. While playing with a chimp, or even under anesthesia, a mark is made, often on the forehead, using a harmless dye. When a marked chimp who is accustomed to mirrors sees his or her marked face, the response is immediate: touching the mark and even trying to rub it off.

How can an animal with no hands pass the Mark Test? Dolphins marked with waterproof dye react with clear surprise when they see it. In a few cases, a dolphin went to the side or bottom of the pool and rubbed the mark off against it, then returned to see that it was gone. Mission accomplished!

Just how intelligent are dolphins? This is still a very hard question. We can't yet communicate with them beyond the three or four keys on the keyboard the author used. We aren't ready to discuss whale philosophy or even ask how they structure their social groups. Many, many observed behaviors between dolphins indicate that they can communicate complex ideas, but we don't understand their whistled language…yes, I consider that they have genuine language.

A side note: once at Cape Henlopen, Delaware, a beach near Lewes, a pod of porpoises came by. I put my head underwater to listen to them. I could hear the clicks, creaks and rattles of their echolocation (sonar) as they used it to locate fish and obstacles. I could also hear whistles, swooping sounds and quite a variety of other noises they were making. It sure sounded like communication to me, particularly when similar sounds were made in different "voices", presumably by different animals.

So far the only "word" that Dr. Reiss has been able to clearly decode is the distress call made by a hurt dolphin. It is a descending glissando that sounds like the whistle of a bottle rocket. I find this ironic; dogs, cats and parrots at the very least have shown the ability to learn to understand dozens, even up to 200, human words. We've spent billions to learn three or four words of Dolphin. It would not surprise me if we one day find out that there are many dolphin languages, just as there are about 10,000 human languages.

Absent asking them, how do we determine how brainy they are? The Encephalization Quotient (EQ) is one estimate. A logarithmic formula is used to calculate how heavy the brain of any animal "ought" to be for its body mass. The ratio of actual brain to theoretical brain is the EQ. The human EQ ranges from 6.5 to nearly 8. Even a clinical imbecile with an IQ of 40 and a low EQ can learn to speak and converse. The datum for EQ is the house cat. Dogs, cats and horses all have an EQ near 1. Elephants, some birds, large whales and most monkeys come in near 2. Orcas and Chimps range to 3.5. Dolphins, and porpoises generally, have EQ's that range from 4.5 to 6. If dolphins had hands, would they show themselves brighter than chimpanzees? Probably.

Now we come to the crux of the book. We have established that dolphins are self aware and intelligent, and probably communicate with languages. How are we to treat them? Considering the history of contact between members of "advanced" and "primitive" civilizations, the prospect is not hopeful. Indeed, although we now do our best to buy only "dolphin safe" tuna, there are still places, such as Taiji, Japan, where pods of dolphins are herded into a bay and slaughtered like sheep. Or, I should say, worse than sheep, because we take care these days to kill a sheep quickly and humanely. The residents of Taiji and other places just go after them with knives and gaffs, and frequently eviscerate them before they have died. I refrained from adding a picture, because all the ones I found were simply too disturbing.

Dr. Reiss is passionate about ending the dolphin slaughter. If we can end, or nearly end, the slaughter of harp seals (with an EQ of 0.8), why not the second-most intelligent creature we know about?

Secondly, she is passionate about ending captivity for "performing" dolphins. In the US, at least, no wild-caught dolphins have been introduced to aquariums for about twenty years. Captive breeding ensures sufficient supply. The author thinks the number of captive whales ought to be allowed to reduce by attrition (as they die off, of age or disease), until none remain.

How, then, shall we continue doing research with dolphins? There are two facilities I know about where wild dolphins are encouraged to interact with researchers, yet spend most of their time going their own way. Research proceeds more slowly this way, but the dolphins are free collaborators, so the research results ought to be more robust and meaningful.

What is happening in captivity? It is little thought of, but what happens if a captive dolphin is, shall we say, refractory? Maybe a little too aggressive with "trainers", perhaps less cooperative. Such an animal is either released or euthanized. So we are selecting for tolerance and even affection for humans among our aquarium dolphins. Let us recall the fox studies in Russia. The researcher there selected for just one characteristic: tolerance for humans. Over just six generations, the foxes became a lot like dogs. Their ears got soft, their tails curled, and they began to bark and play more. Now it is a couple of dozen generations, and the Russian foxes are just dogs with pointy noses. We are producing dolphin dogs. They are to a wild dolphin as a dog is to a wolf. Possibly able to survive in a feral state, but much better adapted to life with human companions.

For this reason, I reckon the research we do on captive dolphins is being skewed as they become water dogs. Like it or not, we will soon need to conduct research in more open environments, collaborating with wild dolphins, to get any meaningful results at all. And I suspect that one of the first things we will learn about dolphin language is that each oceanic region will have its own language, or perhaps several. Language studies performed at Monterrey Bay may be completely meaningless when compared to work done in South Africa or in Spain.

If someone from a distant star system is watching us, what do they think of the way we treat the other brainy creatures around us? We have nearly extincted the Chimps. Killing off the dolphins would be harder, but we are certainly capable of doing so. I think if any animal can pass the mirror self-recognition test, it ought to be banned from the menu. There are plenty of dumber animals out there to eat, both on land and in the sea and air. Remember the old show titled "To Serve Man", where the handbook turned out to be a cookbook? If someone ever arms the whales, watch out!

Thursday, October 13, 2011

Brainy

kw: observations, intelligence

This chart, available from many sources, shows the brain-versus-body size and the Encephalization Quotent (EQ) for a number vertebrates. These are averages, so you can imagine each dot to represent a small cloud of points. The bold line marked "Higher vertebrates" shows the trend for mammals and birds, while the one for "Lower vertebrates shows the trend for reptiles, amphibians and fish.

The bold lines have a slope of 2/3 (in logarithmic terms), and are the scaling axes for EQ as a rough measure of relative intelligence. The upper line is drawn such that a 4 kg house cat would fall on the line, and is defined as the EQ = 1.0 line. The lower line is the EQ = 0.1 line. By proportion, you can see that humans, whose dot is near top center, are somewhat less than EQ = 10, and in fact if you use the formula shown along the line, an average person would have an EQ of about 7 to 7.5.

Just to the right of that point, "Porpoise" represents the bottlenose dolphin, which has an EQ in the range 4-5, making it the "brainiest" sea creature. I read somewhere that an octopus, I don't know which species, has an EQ around 3 or 4, but their brain is so much differently organized than the vertebrate brain—for one thing, it is ring shaped—that the measure may not be a meaningful comparison.

I don't know whether EQ truly correlates well with "intelligence". For one thing, we don't yet have a good definition of intelligence. But it is known to correlate well with the amount of time young animals spend playing. Humans of all ages, dolphins of all ages, and the young of elephants, octopi, dogs, cats (and many adult dogs and cats), and many kinds of birds have been observed playing. Even mice play. I haven't read whether fish or reptiles play. Maybe somewhere around EQ = 0.25 is a threshold below which play is not found.

Apparently, somewhere near EQ = 0.05 is a threshold of the amount of brain needed to keep a vertebrate body from dying outright. A bigger brain than this has added abilities to modify the environment (such as by building a nest) and conduct social interactions. The more "extra" brain there is, the more capable such functions become. I suppose. I am still waiting for a more clear answer about the amount of brain, either absolute or relative to body size, needed to form a self-concept and self-consciousness. The early hints are that it is near EQ = 2, where Chimps are found. Once we learn more, lots more, about natural intelligence, I hope we'll also be able to produce machine intelligences, or at least to know what it would take (IBM's Watson is still a far cry from a robust machine intelligence, and it is a multi-million-dollar stack of computers and databases the size of a bedroom).

I suspect the threshold of language is near EQ = 3, maybe less, so our efforts to communicate with dolphins (so far with poor success) make it clear that, if SETI ever does detect the radio broadcasts of space alien civilizations, we'll be in for a long, long learning process to figure out how to understand what they are saying.

Tuesday, October 11, 2011

Human personal ecology

kw: book reviews, nonfiction, biology, physiology, parasites, predators, symbiosis

Let's see, to be optimally healthy we need worms in our guts, germs on our skin (and inside also), and a better variety of foods to eat. In addition, our abilities including 3-color vision and startle reflexes, and our adrenaline flight-or-fight system, were honed by millions of years of being chased and eaten by predators large and small, and bitten by snakes.

The worm thing gets me. As Rob Dunn writes in The Wild Life of Our Bodies: Predators, Parasites, and Partners That Shape Who We Are Today, ingesting a dose of whipworm eggs, or contracting hookworm, three or four times yearly, can eliminate many "allergic" and "autoimmune" diseases such as Crohn's Disease. Humans and our ancestral primates, prior to the Twentieth Century, were universally infested with worms. Such diseases were unknown. In much of the world, most people are still full of parasitic worms, and don't get Crohn's Disease or a host of similar afflictions.

It seems to work like this: millions of years of byplay between worms and our immune system have resulted in a sort of draw. The worms trigger immune responses, but reply with "peacekeeper" molecules that calm down the immune response, thus allowing them to live in our bodies. The immune system is now used to having these peacekeeper molecules around, and overreacts when they are not, leading to allergic syndromes. I suppose if I had some really debilitating disease like Crohn's, I'd be willing to drink a worm cocktail, but the thought gives me the willies.

Then there are the germs. We are getting used to probiotics, which are germ cocktails, and yogurt with "active cultures", so we are just getting our feet wet, learning to manage our internal ecology. A chapter in the book addresses the appendix, which turns out to be a functioning organ. Millions of people have it removed every year, and seem to do well. But if you ever get Cholera, your appendix might save your life.

Cholera flushes nearly all the bacteria out of your intestines. If you can drink enough clean water while it is doing so, you'll live and come out the other side without the bacteria that produce about half the vitamins you need to survive. How will you repopulate your gut? Enter the appendix. It is filled with lymph tissue and a thick biofilm of essential symbiotic bacteria. After a bout of cholera or any other kind of heavy diarrhea, these stored bacteria repopulate the bowels and restore your internal ecology.

There are chapters about our fears and the predators that shaped them, and our color vision with its peculiar ability to detect a snake, and make you jump back, before your conscious mind notices it. The author asked his colleagues for stories about people they might know who'd been bitten by a venomous snake. To his surprise, about half of those colleagues had stories of their own. Among practicing biologists, with their worldwide travels (and tendency to pick up anything interesting), snakebite is a frequent occurrence! The reaction we have to snakes was determined when our ancestors were the size of housecats, or smaller. It takes learning to perceive a serpent as attractive.

And there is a long section about agriculture, with quite a different take on it than you'll find in most textbooks of ancient history. Rather than some triumph of ingenuity, agricultural practices, which arose many, many times and places (not just in Mesopotamia), were responses to food crises such as drought, famine or the exhausting of game reserves in an area. One group managed to subsist by drinking the milk of the Aurochs, the proto-cow; or, at least those who could tolerate the lactose in the milk survived and subsisted thereby. Others took advantage of one or another cereal grain and learned, from scratch, how to make some kind of bread, to replace whatever "gather" crop(s) had failed. Others sought out new root crops.

Imagine you live by fruits and a cold year comes along and freezes off the fruit before they are edible. You can roughly winnow barley by hand and eat it as is (I've done so). If you are an inefficient eater, and most are, some grains will scatter further from the stand of barley you found. The next year, the extra barley growing may not matter, but if several spring freezes in a row clobber the fruiting bushes, your little band of gatherers is likely to find barley is more reliable, and settle down to cultivate it. In addition to the "big four" (maize, wheat, rice and soy), there are dozens of sustenance crops worldwide, and each was probably first cultivated to stave off a food crisis. The foods that feed us well, and those that don't, will depend on which group out of several dozen or maybe several hundred, from which we are descended.

There is much more to the book. It is a fascinating read. Some of the things that might make our lives better may repel you, as the worms did me. But there is much to learn here. The kind of future we live in could well depend on those species that we welcome back into our lives.

Monday, October 10, 2011

Still rattled

kw: family events, deaths

I just got back from a week away, with my father, keeping watch with him while his second wife lay dying. She was only a few years older than I am, but was felled by squamous cell carcinoma of the bladder, which is quite rare, but is the second- or third-most aggressive cancer.

She first fell ill early this year, had surgery and chemotherapy, but just a few weeks ago a recurrence was discovered, already inoperable, plus "spots" in the lungs and elsewhere. She died this morning.

My first concern was my Dad, who lost his first wife, my mother, less than ten years ago, also to cancer. Now that he is in his late 80s, it is quite devastating to him. Various family members are kind of on rotation, taking care of him while he settles back down. That's really all I can say for now.

Saturday, October 08, 2011

Would you choose the lash or the clink?

kw: book reviews, nonfiction, sociology, prison reform

I truly don't know which I would choose. I have a strong aversion to pain. I also have a strong love of freedom. An attorney named Harvey Silverglate has written that Americans unknowingly commit three felonies per day. I'd have to read his book to figure out just how he is counting that. But let's assume that we do "break the law" from time to time, even the most upright or self-righteous among us, and a day comes that we are caught doing so. How will we fare? Very likely, not well at all. The laws are now written so tightly that police officers are required to make an arrest for any infraction. They ignore many infractions, otherwise they'd be constantly busy making arrests, which means our chances of being arrested are wholly arbitrary. But should that day come, and we are arrested, now what? What if the one arrested is not an amorphous "we" but you?

The prospect is not pretty. If the alleged offense for which you were brought in is at all serious, it could take a year for "the state" just to prepare to prosecute you. Just getting to an arraignment, at which you can plead Guilty or Not Guilty, can take weeks or months. During this time, if you cannot make bail, you will be jailed. Suppose you did do something illegal, even without realizing it at the time, but you know you did it, the police know it, and your guilt is clear. If you plead Guilty, now what? Most likely, more time incarcerated will follow, this time in a prison facility, not just the county jail.

Months or years later, you leave the prison, probably at 2AM, possibly having been transported to some standard drop-off point, with a "free" pass to two subway rides in your pocket and little else. If you are lucky, someone who cares about you will pick you up and whisk you away to continue your life. Unless you are very rich, though, you need a job. You'll never get back the job you had before. You'll never get a job nearly as good. Your income will probably be half what it was before if you do find a job. Big if; unemployment among convicted felons is about 50%.

The bottom line is this: A bad brush with the law and a bit of prison time are certain to shorten your life. You'll be poorer. You'll have worse medical care, or none at all that you can afford. You are now "known to the authorities" and are more likely to be arrested again for offenses such as "driving while ex-con".

Suppose there were an alternative. Upon your arrest, an advocate tells you, "If you want to try to beat this charge, go ahead. But if you know you did it, you have another choice. The typical sentence for conviction is five years. If you sign this form right here, you will instead be flogged, ten lashes. After that you will be free. No conviction or arrest record. No prison time. Return to your life, with a couple days off to heal until you can sit down. What do you say?" Indeed, what do you say?

This is the opening premise of In Defense of Flogging by Peter Moskos. This is a thought experiment, with unsurprising results. Most people would answer, after some thought, that they'd prefer the quicker, painful choice. Among those who have experienced incarceration, nearly 100% would choose a few lashes over a return to prison.

The author is not proposing that we re-institute flogging, which was used in the U.S. as recently as 1957. He is instead trying to induce us to look unflinchingly at the "corrections" system we have, to see that it is irredeemably broken, and perhaps to convince us to change it.

Fact: Fifty years ago about a third of a million Americans were in prisons, or 100 per 100,000.

Fact: Today there are 2.3 million, or 750 per 100,000. This is the highest in the world, higher than China (180/100,000 including political prisoners), Cuba (530/100,000) or Iran (220). Cuba is fourth; second and third are Russia (630) and Rwanda (605). Is that the company we like to keep? Shouldn't we instead become more like Japan, with 60/100,000? Or the European nations, which average about 100? If we have 2.3 million in prison, why do we have such a huge murder rate? Didn't we already lock up all the murderers?

Actually, no. In America, because of "no snitch" culture in the more crime-ridden neighborhoods, most murderers are never caught. Most of the two million added since 1970 are the spinoffs of the War on Drugs and a series of "get tough" laws that have led to huge increases in incarceration for "nonviolent offenders".

The bulk of the book is an unblinking look at the origins, growth and failures of the prison system. Prisons don't rehabilitate. They punish. And they are institutions of advanced criminal theory and practice. Whenever state and local governments have to cut budgets, they tend to cut programs that might help ex-cons. When several prisoners were told it costs an average %46,000 yearly to keep one person imprisoned, they all said, "Hell, I'd go straight if I had even half that kind of income."

Hmmm. 2.3 million times $46,000 is $105.8 billion. There are about 40 million poor in the U.S. in some 15 million families. A hundred billion spread out to those 15 million families comes to $7,000 each. That would raise many of them above the "poverty line", and greatly help the rest. I wonder how many kids with no hope today would see some hope in that? Maybe a lot of them would not choose to be drug dealers, often the only "job" opening in poor neighborhoods.

The author, being a former policeman, doesn't discuss legalizing drugs, except for a sentence or two, but I see clearly that the war on drugs has done much more harm than good, just as Prohibition did 80 years ago. It is time to repeal the war on drugs. Expand the age limit on alcohol to be an age limit on all recreational substances, and impose taxes on their use as we do for alcoholic and nicotinic substances.

What if we released all nonviolent offenders and imposed different punishments for such offenses? We could close 2/3 or more of our prisons. There would be some social disruption, always a problem during a recession. So, re-educate former prison guards to be job training counselors for the former prisoners. (But choose carefully; some of the former guards are actually vicious, violent bastards who managed to channel their sadism into the quasilegal arena of prisoner abuse. They belong in the slimmed-down prison system along with the genuinely violent, evil people we will still need to incarcerate.)

Why do we need to incarcerate anybody? Some people are, simply put, evil and can never be allowed to circulate freely in society. I think of not just the murderers, but persons such as the evil pediatrician in Delaware to videotaped himself raping 3-year-old girls as they screamed and fought. He has at least 100 known victims. He must never be allowed human contact again; I would advise capital punishment for such crimes. Since that is unlikely, prison is the sad, but better, alternative, infinitely preferable to release. But why put a kid who is caught with a couple ounces of pot into the same prison? It makes no sense.

Prisons destroy lives. We use them to brush under the rug millions of people we don't want to deal with. Some lives need to be destroyed. The "best" countries demonstrate that the number is in the range of 60-80 per 100,000. That would be less than 250,000 in the U.S. Whether we re-institute flogging as an alternative to prison, we must change things so as to reduce our incarceration rate to 1/5 or 1/10 what it is today.

Wednesday, October 05, 2011

The other Leonardo

kw: book reviews, nonfiction, biographies, mathematicians

Three hundred years before Da Vinci, there was Pisano, Leonardo of Pisa, who lived from about 1175 to at least 1240. He became a legend in his own time, then was nearly forgotten except for a peculiar story about rabbits that became attached to his nickname. Through great struggles modern scholars have pieced together the depth and breadth of his influence, which led directly to the changeover throughout Europe from Roman Numerals and the cumbersome methods of calculation they required, to the Hindu-Arabic Digits, modern arithmetic, and algebraic methods that, once symbolic operations were devised to make them more easily understood, continued and advanced to the present day. Yet, because of a nickname based on a few instances in which he signed himself filis Bonacci, or "offspring of Bonacci", he is known today primarily as the originator of the Fibonacci Series, based on the multiplication of hypothetical rabbits.

The amazing biography of Leonardo of Pisa, The Man of Numbers: Fibonacci's Arithmetic Revolution, by Keith Devlin, brings together in a rather small book everything we know about Leonardo, which is, surprisingly, rather little. Nearly everything known with certainty is based on a handful of statements he made about himself: how he was brought by his father to an African trade center, where he learned the Hindu-Arabic system, his travels to learn more from its expert practitioners, and his determination upon returning to Pisa to publicize the methods throughout Italy and beyond.

Much more is inferred from his works themselves: Liber Abbaci (frequently and wrongly spelled Liber Abaci) and De Practica Geometrie in particular. The former book, first released in 1202 and revised in 1228, brings together all the streams of number and calculation that he had researched and learned and devised on his own, into a scholarly text that is in itself a great education in arithmetic and basic algebra. The latter book did much the same for geometric methods. But it was Liber Abbaci that he himself revised into a simpler text (now lost), which was endlessly copied, frequently with some of the geometrical methods of the other book appended, and effected a revolution in, first, mercantile calculations, and later, mathematics in general.

A modern person conversant with algebra would find Liber Abaci to be tough sledding. I contains hundreds of examples, worked out for the reader, but every one is what we call a "word problem", and the solution is also in narrative format that takes a great deal of getting used to. It was not until a few generations after Leonardo's death that symbolic notation was developed into things like the dreaded 3x+4y=12, where in Leonardo's time one had to say, "Twelve are found of the first quantity tripled and four times the second quantity…", except I have used "quantity" to represent special words the mathematicians used for their unknowns. (Note: this is only half a problem. There would be a second set of quantities so one could use cancellation to solve the system.)

While such methods are cumbersome compared to modern algebra, they made things possible that were impossible with Roman numerals. Why, it is really quite difficult just to multiply XXVI by LIII (the answer is MCCCLXXVIII). The notion of putting a line above the I, V, X, L, C, D and M to multiply each by 1,000 came along centuries after Roman numerals fell out of use for everything except cornerstones, clock faces and movie credits. Thus, calculations that produced quantities greater than a few thousand were not attempted.

It was quite a feat of detective work that demonstrates how Leonardo was behind the revolution. Nearly half the book traces the threads that bind the story together. A great part of the problem was that there was little notion of plagiarism. It was commonplace for a new book to be written that consisted largely of extended quotes from other works, entirely without attribution. It is very rare to find a prior author mentioned or cited in a medieval manuscript. So Leonardo of Pisa was cited once or twice in his own lifetime, or just after, and no more than two or three times later, except for that persistent rabbit puzzle.

In case someone doesn't know this: Suppose you have a mated pair of young and fertile rabbits that can bear young once per month, and rabbits of age one month can mate for the first time, a month later to bear their own little rabbits. Suppose further that each litter is exactly two, a male and a female. How many rabbits, total, will you have after one, two, and up to thirty months? You start with 1 pair. A month later you have 2 pair, the original pair plus a newborn pair. The next month you have 3 pair: the original pair, the young pair now old enough to mate, and a pair of newborns from the original pair. And so it goes: 1, 2, 3, 5, 8, 13, 21, 34, 55,… each month's quantity is the sum of the prior two quantities. If you assume immortal rabbits, this goes on without end. This is the Fibonacci series, and I encourage those who find it a new thing to look it up. I'll not go into it here.

Today we live in a world of numbers. By the time we're grown, even if some of us "hated math", we find many kinds of simple calculations second nature. We check grocery receipts to make sure we got correct change; we can keep track of our own bowling scores; we buy gasoline and do a quick division to see how many miles per gallon we are getting. We are used to the numerals 9 8 7 6 5 4 3 2 1, and would be practically crippled without them. It is not too much to say we owe more to this Leonardo, than to the better known one.

Tuesday, October 04, 2011

Not close enough for a mathematician

kw: mathematics, golden ratio

If you click on this image, from Wikimedia Commons, you'll get one more than twice the size, where it is easier to discern the two curves. The illustration shows the similarity between the Fibonacci Spiral (in green) and the Golden Spiral (in red). They are very close, but they are not the same.

The Fibonacci Spiral is drawn by making a set of nested squares with sides that follow the classic Fibonacci Sequence: 1, 1, 2, 3, 5, 8… In each of these nested squares you inscribe a quarter circle.

Each number in the F.S. is the sum of the prior two numbers. As you use larger and larger members of the F.S., the ratio of successive numbers approximates the Golden Ratio φ (phi) more and more closely. The value of φ is approximately 1.61803398875, and is defined as φ=(1+√5)/2. It also has the characteristic that 1/φ = φ-1.

The Golden Spiral is generated by calculating a logarithmic spiral, which is just a logarithmic curve in polar coordinates; this particular logarithmic spiral has the characteristic that the ratio of its r coordinate increases by a factor of φ with each quarter turn. This yields a factor of φ4 (6.854…) for each full turn.

At the scale shown, the two curves are difficult to distinguish. If you saw either one by itself, you'd be hard pressed to determine which one it is. The easiest way would be with a template having many circular arcs of different radii. Draw a set of axes that cross at the start of the curve, and see if a circular arc of some size matches one of the curve's sections. For the Fibonacci Spiral there is an abrupt change of curvature with each quarter turn, while the Golden Spiral has a smoothly decreasing curvature as the spiral opens up.

Logarithmic spirals and similar spirals with increasing gape as the spiral turns are rather common in nature, although a spiral that comes close to a Golden or Fibonacci spiral is quite rare. Most are tighter than this. Spirals in general have a kind of primal beauty.

Monday, October 03, 2011

Some competition for Harry

kw: book reviews, fantasy, magic

It is a very good thing there is no genuine magic. Human nature being what it is, there are rogues aplenty who would prey upon the "less magical" around them, and destroy any who complained. In the real world there are many "he who shall not be named" for every Harry Potter. The human race would soon be reduced to a handful of the luckiest and most powerful mages. With this in mind, I have yet to read a convincing story based on wizardry whatever it may be called. The continued survival of the majority of humanity, in all magical fantasy, is always based on an unusual level of altruism among the major characters.

The Wise Man's Fear by Patrick Rothfuss, well-written as it is, and well packed with clever ideas, is a case in point. Kvothe is a student of sundry magical arts at a University that bears a glancing reference to Hogwart's, but is run along different lines. This volume is subtitled "The Kingkiller Chronicle: Day Two", and the reader gradually understands that the book is presented as a transcription of a single day's narration by the aging Kvothe to a Chronicler (really, an amanuensis). That's a point to which I'll return anon.

The events cover about a year in the life of young Kvothe, as recalled in his late middle age: young enough that his hair remains red, old enough to have slowed down a bit. But Kvothe is the subject of stories and songs aplenty, and is now known by the name Kote, living among people who know little of the legend from which he has distanced himself.

For Rothfuss, magic is somewhat differently divided than the way other writers present it. Kvothe is a master of sympathetic magic, based on the similarity of things, but we also read of sygaldry, the embodiment of spells in runes inscribed on objects, and naming, whereby the greatest powers are unleashed by those who learn the true names of things. The "Day One" book, The Name of the Wind, is based largely on naming magic. Alchemy and magical medicine make their own showing in this book.

What do wise men fear? The sea in a storm, a night with no moon, and the anger of a gentle man. The way I learned the proverb, it ended "the wrath of a patient man." I like that version better. Young Kvothe is hardly a man, being sixteen years of age throughout, perhaps attaining seventeen by the book's end. So the story is a coming of age tale, and interesting in its details, for the author has a good way of writing the feelings of an adolescent who hardly knows his own mind. The boy is a skilled musician, and for this I felt greater empathy, having been through it myself. But it's been decades since the last paying gig for me, and, it seems, for Kvothe/Kote the narrator.

Thus, unrealistic as it is (I really did have it hard suspending disbelief), I found the story charming, which made the reading a pleasure. I'd soon have lost patience with a 990-page book written with less skill. But here I couldn't help thinking about the "Day Two" matter. The book has half a million words, and we are to believe it was dictated to and handwritten by Chronicler in a single day, from breakfast-time to late evening, perhaps twelve hours. That comes to about seven hundred words per minute, and I don't know anybody who can write longhand faster than 25 wpm. Poor analytical mind that I have. The thought kept intruding and spoiled some of my enjoyment.

But do not take me wrong. It is an enjoyable book for all that. Considering that Kvothe is yet to be evicted from the University, though that was mentioned several times in the narrative, and a number of other amazing events were mentioned, but are pending, there is lots of room for the author to bring us book after book, presumably dictated day after day.

Sunday, October 02, 2011

Amusingly persistent TomTom

kw: observations, travel, computers

We spent the afternoon and early evening with our son in Edison, NJ. He is in graduate school at nearby Rutgers. On the way home, I was showing my wife how to use the GPS, a TomTom unit that I really like. Getting there she had learned to program in the address we were going to, and learn to cope with the sometimes frequent admonishments and directions. In particular, today the traffic conditions kept changing, and it offered several times to change the route to compensate, but we know that traffic delays appear and vanish in the Princeton area frequently, so we kept telling it "No" (It is one of the ones that takes voice commands).

The programming for the return trip was totally easy: the first screen had the options of "Home" and "Another Destination", so we said, "Home" and we were off. Or so we thought. After trundling along checking about 80,000 road choices it announced that the quickest way had tolls. There are three ways to get between Edison and Highway 95 near Ridley Park, PA. One is via the NJ Turnpike, and seems to be the way the GPS favors, so when it asked if tolls were OK I said, "No".

Getting down US Hwy 1 toward Trenton was no problem. As expected, the unit was directing us toward Philadelphia on I-95. We ignored that ramp and took the next one, toward I-295, which we always take to US 130 and 322 to cross the Barry Bridge at Chichester, PA. At the time that we were approaching the I-95 ramp, the expected arrival at home was 8:54 PM. Once we were well on I-295, and the unit had recalculated, this changed to 9:02. This seemed about right, but then I saw it was trying to take us off the next exit and make a U-turn. When we passed that exit, it recalculated, and set up a U-turn at the next exit.

It did so for every exit between milepost 65 on I-295 until we got to US 130, where we were sure it would "let" us go the way we were planning, to 322 and across the bridge. But it persisted. I finally realized that the Barry Bridge has a $5 toll, and I had told it "No tolls". It was still trying to get us back to the Trenton bridge, the only one without a toll! By this time it was estimating our arrival home as after 10:30 PM!! Once we were approaching the toll booths and there were no other choices, the GPS finally displayed a path across the bridge and reset its time of arrival as 8:59 PM. We actually drove into our driveway right at 9:00.

One consequence of all this nagging by the GPS, in its neutral female voice (though I began to imagine growing desperation), was that I needed no caffeine to keep me awake on the 2-hour drive.I usually get a large soda, a cola with caffeine, about ten miles into the trip out of Edison, but this time I neglected it, and didn't need it. My wife and I were discussing how persistent the unit was. A naggy GPS may be a wakefulness promoter, but I don't think I'll do this the same way again. Now that I know why, I'd just find it absurdly irritating.

Friday, September 30, 2011

It doesn't take much of a molecule

kw: drugs, laws

The concept usually called Therapeutic Window is relevant to recent news. First, there is the issue of a number of designer drugs collectively called "bath salts". They are hallucinogens with this characteristic: the amount that you need to get "high" is rather close to an overdose. They have a rather narrow Window. The range between overdosing, where psychotic symptoms can become permanent, and fatal overdose is, fortunately, a little wider.

This is one of the "bath salts" molecules. Strange that such a small molecule can have such profound effects. Of course, one of the smallest molecules, HCN, or cyanide, is fatal in very small amounts.

One fortunate circumstance: little Delaware is likely to outlaw "bath salts", perhaps as early as today. The world would be a better place if marijuana were legalized and the sale of "bath salts" hallucinogens were made a felony. Pot has a very wide therapeutic window. Whether used for pain management or recreationally, it is hard to kill yourself with it.

Then there is this stuff. Propofol, the molecule that killed Michael Jackson. In yesterday's court debate, the defense claimed that the doctor was weaning the singer off the drug. Strangely, he had just ordered another three gallons of it!

There is no way it ought to be used as a sleep aid. It is used for a quick knockout when a patient is being prepped for surgery. Its effects only last for ten minutes, by which time safer long-term anesthetics have been administered.

Basically, if you can't sleep without an injection of something, you've got huge problems. I suspect the King of Pop was using stimulants to sustain his frenetic performances, to the extent that he couldn't sleep without something equally powerful to counteract them.

Finally, heads up on book reports: I am a quarter of the way through a 990-page novel, so it'll be a while before I get it done and review it.