More on this book
Community
Kindle Notes & Highlights
by
Matt Parker
Read between
June 12 - June 23, 2024
An error of 0.000095 percent may not feel like much; it is only off by one part in a million. And when the time value is small, the error is also small. But the problem with a percentage error is that, as the value gets bigger, the error grows with it. The longer the Patriot system was running, the larger the time value became and the bigger the error accumulated was. When the Scud missile was launched that day, the Patriot system near the target had been on for about a hundred continuous hours, roughly 360,000 seconds. That’s about a third of a million seconds. So the error was about a third
...more
Ironically, if the system had consistently been off from the correct time, it could still have worked OK. Tracking a missile requires accurate tracking of time differences, so a consistent error would cancel out. But now different parts of the system were using different levels of precision in their conversion, and a discrepancy slipped in. The incomplete upgrade is why the system could not track the incoming missile. Even more depressing is the fact that the US Army knew about this problem and, on February 16, 1991, it had released a new version of the software to fix it. As this would take a
...more
In mathematics, it is impossible to divide numbers by zero. Many an internet argument has raged over this, with well-meaning people maintaining that the answer to dividing by zero is infinity. It is not. The argument is that if you take 1/x and let x get closer and closer to zero, the value shoots off to be infinitely large. Which is half true. It only works if you come at it from the positive direction; if x starts negative and then approaches zero from below, the value of 1/x races toward negative infinity, completely the opposite direction of before. If the limiting value is different
...more
But, as always, some calculators slip through the gaps. And not just calculators: US Navy warships can get division by zero wrong too. In September 1997, the cruiser USS Yorktown lost all power because its computer control system tried to divide by zero. It was being used by the navy to test their Smart Ship project: putting computers running Windows on warships to automate part of the ship’s running and reduce the crew by around 10 percent. Given that it left the ship floating dead in the water for over two hours, it certainly succeeded in giving the crew some time off. The prevalence of
...more
This highlight has been truncated due to consecutive passage length restrictions.
Unlikely events can happen. On June 7, 2016, Colombia was playing Paraguay in the 2016 Copa América. The referee flipped a coin to see which soccer team got to choose which end of the field their goal would be. Except the coin landed perfectly on its edge. After only a moment’s hesitation, and a few laughs from the nearby players who saw it happen, the referee picked the coin up and managed to flip it successfully. I will accept that falling into grass makes an edge landing more probable. A coin landing on its edge on a hard surface is almost impossible. I believe the coin with the highest
...more
This highlight has been truncated due to consecutive passage length restrictions.
In 1999 a British woman was sentenced to life in prison for the murders of two of her children. However, the two deaths could have been entirely accidental; every year, just under three hundred babies in the UK die unexpectedly from sudden infant death syndrome (SIDS). During the trial, the jury had to decide if she was guilty of murder beyond reasonable doubt. Was she the perpetrator or the victim in this emotionally charged case? The jury was presented with stats that seemed to imply that two siblings both dying of SIDS was extremely rare. They returned a verdict of guilty (with a majority
...more
Take a look at my predictions: the final two choices of mine are the same as the first two of my opponent. My goal is to cut them off at the pass. Sure, one player could win on the very first three flips of the coin (a 12.5 percent chance for each person), but after that, the winning run of heads and tails will be preceded by a run of three that overlaps it. I want to choose that preceding group. For something like TTT, it either has to be the first three flips, or it will definitely be beaten by HTT coming directly before it. A midsequence run of three tails will always have a head directly
...more
This is the difference between transitive and nontransitive relations. A transitive relation is one that can be passed along a chain. The size of real numbers is transitive: if nine is bigger than eight and eight is bigger than seven, then we can assume that nine is bigger than seven. Winning in rock-paper-scissors is nontransitive. Scissors beats paper and paper beats rock but that does not imply that scissors can beat rock.
The second probability game you can use to trick humans was invented by mathematician James Grime. He developed a set of nontransitive dice, which now bear his name: Grime dice (which is now the second-best boy-band name in this book). They come in five colors (red, blue, green, yellow, and magenta), don’t have the normal numbers 1 to 6 on them, and you can use them to play a game of highest number wins. You and your opponent choose a dice* each and roll them at the same time to see who gets the highest number. But for every dice there is a different-colored dice that will beat it more often
...more
This highlight has been truncated due to consecutive passage length restrictions.
Nontransitive dice are a relative newcomer to the world of mathematics. They appeared on the math scene only in the 1970s, but they quickly made a big impact. Multibillionaire investor Warren Buffett is a big fan of nontransitive dice and brought them out when he met a fellow multibillionaire, computer guy Bill Gates. The story goes that Gates’s suspicion was aroused when Buffett insisted that Gates pick his dice first, and upon a closer inspection of the numbers, he in turn insisted that Buffett choose first. The link between people who like nontransitive dice and billionaires may be only
...more
There are people online trying to sell their secrets to winning the lottery. Much of the pseudoscience around lottery draws tries to cloak itself as being mathematical and is normally a variation on the gambler’s fallacy. This logical fallacy is that, if some random event has not happened for a while, then it is “due.” But if events are truly random and independent, then an outcome cannot be more or less likely based on what has come before it. Yet people track which numbers have not come up in the lottery recently to see which ones are due an appearance. This reached fever pitch in Italy in
...more
This highlight has been truncated due to consecutive passage length restrictions.
Another thing that happens is that people mistakenly think that recent results are unlikely to happen again. I’ve seen advice online like “Don’t choose numbers that have won the big jackpot before” and “Using a combination that has gone through the system already will stack the odds even higher.” It’s all rubbish. In 2009 the Bulgarian lottery drew the same numbers—4, 15, 23, 24, 35, and 42—two draws in a row, on September 6 and 10. They were drawn in a different order but, in a lottery, the order does not matter. Amazingly, no one won the jackpot the first time they were drawn but, the
...more
But we owe it to ourselves to try to work out these probabilities as best we can. This is what Richard Feynman was faced with during the investigation into the shuttle disaster. The managers and high-up people in NASA were saying that each shuttle launch had only a 1-in-100,000 chance of disaster. But, to Feynman’s ears, that did not sound right. He realized it would mean there could be a shuttle launch every day for three hundred years with only one disaster. Almost nothing is that safe. In 1986, the same year as the disaster, there were 46,087 deaths on roads in the United States—but
...more
This highlight has been truncated due to consecutive passage length restrictions.
Far from getting a string of faultless test flights, NASA was seeing signs of possible failure during tests. There were also some noncritical failures during actual launches, which did not cause any problems with the flight itself but showed that the chance of things going wrong was higher than NASA wanted to admit. They had calculated their probability based on what they wanted and not on what was actually happening. But the engineers had used the evidence from testing to try to calculate the actual risk, and they were about right. When humankind puts its mind to it and doesn’t let its
...more
What counts as a mistake in finance? Of course, there are the obvious ones, where people simply get the numbers wrong. On December 8, 2005, the Japanese investment firm Mizuho Securities sent an order to the Tokyo Stock Exchange to sell a single share in the company J-COM Co., Ltd. for ¥610,000 (around $5,100 at the time). Well, they thought they were selling 1 share for ¥610,000 but the person typing in the order accidentally swapped the numbers and put in an order to sell 610,000 shares for ¥1 each. They frantically tried to cancel it, but the Tokyo Stock Exchange was proving resistant.
...more
This highlight has been truncated due to consecutive passage length restrictions.
These clay tablets are from the Sumerian city of Uruk (in modern-day southern Iraq) and were made between 3400 and 3000 BCE, so over five thousand years ago. It seems the Sumerians developed writing not to communicate prose but rather to track stock levels. This is a very early example of math allowing the human brain to do more than it was built for. In a small group of humans you can keep track of who owns what in your head and have basic trade. But when you have a city, with all the taxation and shared property that it requires, you need a way of keeping external records. And written
...more
Kushim and Nisa are particularly special to me not because they are the first humans whose names have survived but because they made the first ever mathematical mistake, or at least the earliest that has survived (at least, it’s the earliest one I’ve managed to find; let me know if you locate an earlier error). Like a modern trader in Tokyo incorrectly entering numbers into a computer, Kushim entered some cuneiform numbers into a clay tablet incorrectly. From the tablets we can find out a bit about the math that was being used so long ago. For a start, some of the barley records cover an
...more
This highlight has been truncated due to consecutive passage length restrictions.
In August 2012 the New York Stock Exchange started a new Retail Liquidity Program, which meant that, in some situations, traders could offer stocks at slightly better prices to retail buyers. This Retail Liquidity Program received regulatory approval only a month before it went live, on August 1. Knight Capital rushed to update its existing high-frequency trading algorithms to operate in this slightly different financial environment. But during the update Knight Capital somehow broke its code. As soon as it went live, the Knight Capital software started buying stocks of 154 different companies
...more
This highlight has been truncated due to consecutive passage length restrictions.
In high-speed trading, data is king. If a trader has exclusive information about what the price of a commodity is likely to do next, they can place orders before the market has a chance to adjust. Or rather, that data can go straight into an algorithm that can place the order, making decisions at incredible speeds. These times are measured in milliseconds. In 2015 Hibernia Networks spent $300 million laying a new fiber-optic cable between New York and London to try to reduce communication times by 6 milliseconds. A lot can happen in a thousandth of a second. Let alone six.
For financial data, time is literally money. The University of Michigan publishes an Index of Consumer Sentiment, which is a measure of how Americans are feeling about the economy (produced after phoning roughly five hundred people and asking them questions), and this information can directly affect financial markets. So it was important how this data was released. Once the new figures were ready, Thomson Reuters would put them on its public website at precisely 10 a.m. so everyone could access them at once. In exchange for this exclusive deal to release the data for free, Thomson Reuters paid
...more
This highlight has been truncated due to consecutive passage length restrictions.
The two competing technologies are fiber-optic cables and microwave relays. Light going down a fiber-optic cable travels at about 69 percent of the maximum speed of light in a vacuum, which is still blisteringly fast, covering about 128,000 miles every second. Microwaves move through the air at almost the full 186,282 miles per second maximum speed of light, but they have to be bounced from base station to base station to follow the curvature of the Earth. There are also problems about where microwave base stations can be built and where fiber-optic cable can be laid. So the path from DC to
...more
This highlight has been truncated due to consecutive passage length restrictions.
It would be remiss of me not to say something about the global financial crisis of 2007–8. It was kicked off by the subprime-mortgage crisis in the United States, then rapidly spread to countries all around the world. And there are some interesting bits of mathematics that fed into it. My personal favorites are collateralized-debt-obligation (CDO) financial products. A CDO groups a bunch of risky investments together on the assumption that they couldn’t possibly all go wrong. Spoiler: they all went wrong. Once CDOs could themselves contain other CDOs, a mathematical web was built that few
...more