Sherlock: The case of Moriarty's maths

January 10, 2012 By Pete Wilton
Image: Sherlock's shadow at Baker Street tube station. Credit: Chris McKenna.

(PhysOrg.com) -- In the movie Sherlock Holmes: A Game of Shadows the sleuth’s arch-enemy has a new weapon: mathematics supplied by a team from Oxford University.

Alain Goriely and Derek Molton at Oxford’s Mathematical Institute were initially asked by the film’s creators to come up with 19th Century equations to fill Moriarty’s blackboard for one scene.

"Although they were quite secretive about the story, they told us that Moriarty was a professor and that they wanted us to help them add more meat to the script," Alain told New Scientist’s Jessica Hamzelou.

In the end, as the article reports, they ended up going on to invent a secret code that Moriarty uses in the film to send messages aimed at tipping Europe into war.

They based the code on hints by Arthur Conan Doyle that Moriarty wrote books on binomial theorem and asteroids: "Binomial theorem is linked to Pascal’s triangle, so we devised a secret code based on that," Alain comments to Jessica.

Numbers hidden in Moriarty’s notebook tell the reader which Fibonacci p-code - a way to take digits from Pacscal's triangle - to use. This gives a set of numbers which indicate the page, line, and words you need to look up to crack the code.

Moriarty’s interest in celestial objects is reflected in a lecture Alain and Derek wrote for the character to deliver in the film: it covers the n-body problem – the maths of how objects interact with each other as a result of gravitational forces.

"If you could build a missile and throw it out of the atmosphere, it could re-enter with an asteroid-like impact. It would be brought back by gravitational forces," Alain explains.

So does Oxford maths help the villainous Moriarty win out or does Holmes use his deductive powers to close the case? You’ll need to watch the film to find out.

Explore further: New Jersey Lawmakers May Ban Texting While Driving

Related Stories

New Jersey Lawmakers May Ban Texting While Driving

March 27, 2007

New Jersey drivers who insist on sending text messages on their cell phones or personal digital assistants may find themselves on the wrong side of the law if legislators approve a new bill.

Affordable solar technology

January 6, 2011

An innovative Oxford company has developed new solar cell technology that is manufactured from cheap, abundant, non-toxic and non-corrosive materials and can be scaled to any volume.

DNA falls apart when you pull it

May 20, 2011

DNA falls apart when you pull it with a tiny force: the two strands that constitute a DNA molecule disconnect. Peter Gross of VU University Amsterdam has shown this in his PhD research project. With this research, researchers ...

Wolfram Research introduces new programmable document type

July 25, 2011

(PhysOrg.com) -- Wolfram Research, the same folks who brought us both Mathematica, and Wolfram Alpha (see here, here, and here), the search computation site, is now announcing via Conrad Wolfram’s blog, that it has designed ...

Supernova 'brightens up' September 7-8

September 8, 2011

(PhysOrg.com) -- The nearest supernova of its type to be discovered for 40 years is predicted to be at its brightest 7-8 September and will be visible through a good pair of binoculars.

Recommended for you

The couple who Facebooks together, stays together

July 27, 2015

Becoming "Facebook official" is a milestone in modern romance, and new research suggests that activities on the popular social networking site are connected to whether those relationships last.

Oldest known Koran text fragments discovered

July 23, 2015

Two pages of text written on parchment that are believed to be sections of the Koran (Chapters 18 and 20) have been discovered by a PhD student in a British university library and are believed to be the oldest ever found. ...

First evidence of farming in Mideast

July 22, 2015

Until now, researchers believed farming was "invented" some 12,000 years ago in the Cradle of Civilization—Iraq, the Levant, parts of Turkey and Iran—an area that was home to some of the earliest known human civilizations. ...

1 comment

Adjust slider to filter visible comments by rank

Display comments: newest first

Bigbobswinden
not rated yet Jan 12, 2012
Its a good film but like most modern films they are overdoing the special effects, the cracking the code was a nice touch.

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.