Skip to main content

Algorithms to Live By - Brian Christian and Tom Griffiths *****

I was captivated by much of this book. It's the perfect antidote to the argument you often hear from young maths students - 'What's the point? I'll never use this in real life!' This often comes up with algebra (which often is useful), but reflects the way that we rarely cover the most applicable bits of maths to everyday life at high school. Although this book is subtitled 'the computer science of human decisions', it's really about the maths of human decision making (which is often supported by computers) - I suspect the 'computer science' label is to make it more sexy than boring old mathematics.

If there is any danger that the 'M' word would turn you off, the book tends to skip over the mathematical workings, concentrating on the outcomes and how they're relevant to the kind of decisions we make in everyday life - and it's that application side that makes it particularly interesting (helped by a good, readable style from the co-authors). So, for instance, one of the earliest areas covered is the kind of decision where you are selecting between a number of options that arrive sequentially and where you have to make a decision on which is best for you part way through the sequence, even though there may be better options in the future. The classic examples for this are some kinds of job interviews, house buying and finding a partner for life.

It might seem there can be no sensible advice, but mathematically it's very clear. You wait until you've got through 37% of the choices, then pick the next one that's better than any you've seen before. It's not that this will necessarily deliver your best of all possible worlds. More often than not it won't. But it will give you a better result than any other mechanism for deciding when to go for a particular option. Of course it's not always easy to apply. For example, unless it's something like an interview with closed applications, how do you know when you are 37% of the way through the available options? Luckily, the authors point out that there are approximations to get around this, which include that the approach can also apply to the amount of time available for the process.

And that's just the start. Along the way you will discover the best way to sort the books on your shelves into alphabetic order (something I confess I did last year, using a sub-optimal mechanism), how to balance exploration (for example, trying out new restaurants) with exploitation (for example, returning to tried and tested restaurants), how the concept of caching can revolutionise your filing system (and make that pile of papers on your desk that everyone mocks the sensible approach), why Bayes theorem is so important and much more. I absolutely revelled in this book.

The content only fades a bit when the applications aren't about real world decisions. So, for instance, there's some material about how the internet works that is very interesting if you like that kind of thing (I do), but hasn't got the same feeling of personal utility to it, so lacks some of the bite of the other chapters. This is even more obvious in the section on randomness. I would also have liked to see more acknowledgement that most of the content was really from the area of study called operational (operations in the US) research, a discipline that happens to make use of computers, rather than true computer science - but that's a specialist moan.

Realistically speaking, I don't think much of the content of this book will truly change how any of us do things. Interestingly, the authors reveal than an expert in the field pretty much consciously ignored the mathematical approach in a particular case, opting for more of a 'feels right' choice. But that doesn't stop the whole business, whether it's the relative simplicity of the 37% rule or the mind twisting possibilities of game theory, from being both potentially practical and highly enjoyable as presented here. Recommended.

Hardback 

Kindle 
Review by Brian Clegg

Comments

Popular posts from this blog

Quantum Space: Jim Baggott *****

There's no doubt that Jim Baggott is one of the best popular science writers currently active. He specialises in taking really difficult topics and giving a more in-depth look at them than most of his peers. The majority of the time he achieves with a fluid writing style that remains easily readable, though inevitably there are some aspects that are difficult for the readers to get their heads around - and this is certainly true of his latest title Quantum Space, which takes on loop quantum gravity.

As Baggott points out, you could easily think that string theory was the only game in town when it comes to the ultimate challenge in physics, finding a way to unify the currently incompatible general theory of relativity and quantum theory. Between them, these two behemoths of twentieth century physics underlie the vast bulk of physics very well - but they simply can't be put together. String theory (and its big brother M-theory, which as Baggott points out, is not actually a the…

Beyond Weird - Philip Ball *****

It would be easy to think 'Surely we don't need another book on quantum physics.' There are loads of them. Anyone should be happy with The Quantum Age on applications and the basics, Cracking Quantum Physics for an illustrated introduction or In Search of Schrödinger's Cat for classic history of science coverage. Don't be fooled, though - because in Beyond Weird, Philip Ball has done something rare in my experience until Quantum Sense and Nonsense came along. It makes an attempt not to describe quantum physics, but to explain why it is the way it is.

Historically this has rarely happened. It's true that physicists have come up with various interpretations of quantum physics, but these are designed as technical mechanisms to bridge the gap between theory and the world as we see it, rather than explanations that would make sense to the ordinary reader.

Ball does not ignore the interpretations, though he clearly isn't happy with any of them. He seems to come clo…

Everything You Know About Planet Earth is Wrong - Matt Brown ****

This is the latest of a series of 'Everything You Know About... is Wrong' books from Matt Brown. Although I always feel slightly hard done by as a result of the assertion in the title, as there are certainly things here I know that aren't wrong (I mean, come on, the first corrected piece of 'knowledge' is that 'The Earth is only 6,000 years old' and I can't imagine many readers will 'know' that), it's a handy format to provide what are often surprisingly little snippets of information that are very handy for 'did you know' conversations down the pub (or showing up your parents if you're a younger reader).

Some of the incorrect statements that head each article are well-covered, if often still believed (for example, people thought that world was flat before Columbus), some are a little tricksy in the wording (such as seas have to wash up against land) and some are just pleasantly surprising (countering the idea that gold is a rar…