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

Rockets and Rayguns - Andrew May ****

The Cold War period saw dramatic developments in science and technology, coinciding with the flourishing of the science fiction genre. In Rockets and Rayguns, Andrew May draws on the parallels between reality and fiction, each influencing the other.

Inevitably a major Cold War theme was the threat of nuclear war, and May opens with the bomb. It's fascinating that fiction got there first - nuclear weapons were featured in science fiction when many physicists were still doubting the practicality of using nuclear energy. Of course, it's a lot easier to simply take a concept and dream up a weapon than it is to make it for real - for example, H. G. Wells' prophetic nuclear bombs from his 1914 The World Set Free were nothing like the real thing. And some science fiction devices concepts - notably ray guns and force fields - came to very little in reality. However this doesn't prevent the parallels being of interest.

May gives us a mix of the science - describing how nuclear we…

Galileo Galilei, the Tuscan Artist – Pietro Greco ****

Near the beginning of John Milton’s epic poem Paradise Lost, he refers to a ‘Tuscan artist’ viewing the Moon through an optic glass. He’s talking about Galileo – one of history’s greatest scientists, but not the most obvious person to slap an ‘artist’ label on. Yet Galileo lived at a time – the Renaissance – when it was fashionable to dabble impartially in both the arts and sciences. Look up ‘Renaissance man’ on Wikipedia and you’ll see Galileo’s picture right there underneath Leonardo da Vinci’s. It’s a less well-known side to his life, but it crops up again and again – interspersed among his many scientific achievements – in this excellent new biography by Pietro Greco.

If you’re looking for interesting trivia, you’ll find plenty in this book. Galileo’s father was a musician with scientific leanings, who carried out some of the first experiments on musical acoustics – which Galileo may have assisted with. As a young professor of mathematics, Galileo delivered a couple of lectures on …

The Ultimate Interplanetary Travel Guide - Jim Bell **

Not too long ago, NASA brought out a series of spoof ‘space tourism’ posters for various destinations in the Solar System. For people like me, who have watched NASA depressingly fail to send humans to the other planets for decade after decade, it was just another painful twist of the knife. On the other hand, the posters probably have more appeal for younger and less cynical minds, by presenting familiar astronomical objects in a new and engaging way. There may even be scope for a whole book along these lines – and that’s what Jim Bell has attempted here.

The main thing I learned from it is that my brain is programmed to read either fiction or non-fiction, and can’t handle a 50:50 mix of the two – which is what this book is. It drove me mad –  not least because I could see that the same material, presented as straight non-fiction, could have made a really excellent book. Using the NASA posters as a starting point, he could have enumerated the potential ‘tourist sights’ at each location…