• Education
    • Higher Education
    • Scholarships & Grants
    • Online Learning
    • School Reforms
    • Research & Innovation
  • Lifestyle
    • Travel
    • Food & Drink
    • Fashion & Beauty
    • Home & Living
    • Relationships & Family
  • Technology & Startups
    • Software & Apps
    • Startup Success Stories
    • Startups & Innovations
    • Tech Regulations
    • Venture Capital
    • Artificial Intelligence
    • Cybersecurity
    • Emerging Technologies
    • Gadgets & Devices
    • Industry Analysis
  • About us
  • Contact
  • Advertise with Us
  • Privacy & Policy
Today Headline
  • Home
  • World News
    • Us & Canada
    • Europe
    • Asia
    • Africa
    • Middle East
  • Politics
    • Elections
    • Political Parties
    • Government Policies
    • International Relations
    • Legislative News
  • Business & Finance
    • Market Trends
    • Stock Market
    • Entrepreneurship
    • Corporate News
    • Economic Policies
  • Science & Environment
    • Space Exploration
    • Climate Change
    • Wildlife & Conservation
    • Environmental Policies
    • Medical Research
  • Health
    • Public Health
    • Mental Health
    • Medical Breakthroughs
    • Fitness & Nutrition
    • Pandemic Updates
  • Sports
    • Football
    • Basketball
    • Tennis
    • Olympics
    • Motorsport
  • Entertainment
    • Movies
    • Music
    • TV & Streaming
    • Celebrity News
    • Awards & Festivals
  • Crime & Justice
    • Court Cases
    • Cybercrime
    • Policing
    • Criminal Investigations
    • Legal Reforms
No Result
View All Result
  • Home
  • World News
    • Us & Canada
    • Europe
    • Asia
    • Africa
    • Middle East
  • Politics
    • Elections
    • Political Parties
    • Government Policies
    • International Relations
    • Legislative News
  • Business & Finance
    • Market Trends
    • Stock Market
    • Entrepreneurship
    • Corporate News
    • Economic Policies
  • Science & Environment
    • Space Exploration
    • Climate Change
    • Wildlife & Conservation
    • Environmental Policies
    • Medical Research
  • Health
    • Public Health
    • Mental Health
    • Medical Breakthroughs
    • Fitness & Nutrition
    • Pandemic Updates
  • Sports
    • Football
    • Basketball
    • Tennis
    • Olympics
    • Motorsport
  • Entertainment
    • Movies
    • Music
    • TV & Streaming
    • Celebrity News
    • Awards & Festivals
  • Crime & Justice
    • Court Cases
    • Cybercrime
    • Policing
    • Criminal Investigations
    • Legal Reforms
No Result
View All Result
Today Headline
No Result
View All Result
Home Science & Environment

The Hidden Game Theory of Sherlock Holmes todayheadline

June 24, 2025
in Science & Environment
Reading Time: 6 mins read
A A
0
2
SHARES
5
VIEWS
Share on FacebookShare on Twitter


Looking at my bookshelf, I’m stricken with guilt: the collected Sherlock Holmes stories by Arthur Conan Doyle have been sitting untouched for years. Unfortunately, I never got past the fantastic television adaptation starring Benedict Cumberbatch to read the source material. But happily for Holmes, the British detective has a following the world over.

In fact, stories about the ingenious sleuth and his brilliant nemesis, Professor James Moriarty, so appealed to mathematician John von Neumann and economist Oskar Morgenstern that they played a role in the creation of game theory in the early 20th century. This mathematical discipline explores the strategies for solving various decision-making problems. Take the classic “cake problem,” which posits that the fairest way for two people to split a cake such that each gets as much as possible requires one person to try to cut the cake into two equal pieces and the other to select a slice. Morgenstern and von Neumann did not devise this solution (it has been known since ancient times), but it is a good illustration of how game theorists devise optimal strategies.

The pair were particularly taken by a scenario described by Doyle in his short story “The Final Problem,” in which Moriarty pursues Holmes to a platform at Victoria station in London. There Moriarty sees Holmes jump onto a train to Dover. Moriarty can no longer board the train. He therefore hires a single motorized railroad carriage in pursuit. Holmes’s train does not go straight to Dover, however, but stops at Canterbury on the way. So Moriarty has to make a decision: Should he stop in Canterbury, in the hope that Holmes will get off the train there, or travel all the way to Dover? Holmes, too, must weigh his choices. From Dover, he can flee to the European mainland. He knows that Moriarty may expect that outcome and wait for him there, though, so maybe Holmes should get off the train at Canterbury. But what if that is exactly what Moriarty wants Holmes to think?


On supporting science journalism

If you’re enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


This scenario intrigued Morgenstern and von Neumann, who ultimately came to the conclusion in their 1944 foundational book that “Sherlock Holmes is as good as 48% dead when his train pulls out from Victoria Station.” But how could they put such a precise figure on it? And how should Holmes act to escape his adversary? All this can be answered with the help of game theory.

A Battle of Wits

The first thing to consider is that the clever Holmes and Moriarty are each likely to guess what the other is thinking. (“If he thinks that I think that he thinks….”) These considerations could easily land Holmes in an endless logic loop with no way out.

Holmes should therefore assume that Moriarty will foresee his decision in either case and limit the damage accordingly. In other words, the detective ought to optimize his decision with the most pessimistic assumptions in mind. This strategy was published by von Neumann as early as 1928 and was used to demonstrate that a player’s profit can be maximized if one assumes that one’s opponent intends to deal the greatest possible damage.

With no clear winning strategy—unlike in the cake problem—only chance can help. Consider games such as rock-paper-scissors: as soon as one player picks a pattern, the opponent can exploit it to win. The best strategy is therefore to select scissors, rock and paper equally, with a probability of one third each. On average, both parties should then win and lose equally often, minimizing their damage.

The case of Holmes and Moriarty is a bit more complex. To understand this point, it helps to go through the various possible scenarios individually and weight them using numbers, as von Neumann and Morgenstern did. The two mathematicians decided to use values between –100 and 100, with a high value symbolizing a particularly rewarding situation for a given person. The exact numerical values (known as payoffs) chosen for each situation are subjective, but this subjective weighting can then be used to make an optimal decision from an objective point of view.

Morgenstern and von Neumann determined that four different situations could ultimately occur. First, Moriarty and Holmes could both travel to Dover, where Moriarty would assassinate the detective. For Moriarty, this is optimal, so it corresponds to a payoff of 100. For Holmes, on the other hand, it is a disastrous –100 outcome.

Second, Moriarty could get off the train at Canterbury while Holmes travels to Dover. This is bad news for Moriarty because Holmes could flee to the European continent, making it even harder to catch him. This situation is therefore weighted at –50 for Moriarty. For Holmes, on the other hand, it is a positive outcome, so von Neumann and Morgenstern give it a value of 50.

In the third scenario, Moriarty travels to Dover, but Holmes has already disembarked at Canterbury. This is bad for Moriarty but at least better than the case described above. The situation can therefore be weighted 0 for him; the same applies to Holmes, who is still stuck in England.

In the final case, both Moriarty and Holmes disembark in Canterbury. This would be optimal for Moriarty, a clear 100, and would mean death for Holmes, whose payoff is –100.

Each person aims to maximize their payoff. With no clear optimum decision, however, Holmes and Moriarty must rely on chance. Here things get more interesting. For example, they could each flip a coin to decide whether they get off at Canterbury or Dover. If Moriarty stops at Canterbury, the expected value of Holmes’s payoff is: 0.5 × 50 – 0.5 × 100 = –25. If, on the other hand, Holmes gets off the train at Canterbury, the expected value for Holmes is –0.5 × 100 + 0.5 × 0 = –50. In total, Holmes’s expected payoff is therefore –0.5 × 25 – 0.5 × 50 = –37.5. Moriarty’s payoffs have the same magnitude but the opposite sign.

Even worse: In a scenario when their decision hinges on a coin flip, Holmes will die with a probability of 50 percent. That’s because Moriarty will murder the detective if both men get off at the same place, which has a probability of 0.5 in each scenario. This results in a probability of death of 0.5 × 0.5 + 0.5 × 0.5 = 50 percent.

Playing with Probabilities

Holmes has statistically better odds if he follows a different probability distribution—if, for instance, he flips a coin that will land on heads or tails unequally. Let’s assume that Holmes chooses Dover with a probability of p and that Moriarty does so with a probability of q (correspondingly, the two players travel to Canterbury with a probability of 1 – p and 1 – q, respectively). If Moriarty travels to Dover, Holmes’s expected payoff is: –100 × p + 0 x (1 – p) = –100p. If, on the other hand, Moriarty gets off at Canterbury, Holmes’s payoff is: 50 × p – 100 x (1 – p) = 150p – 100.

In the first case (if Moriarty travels to Dover), Holmes’s payoff decreases as p increases; in the second, it increases. To prepare for the worst situation, Holmes should therefore choose the p for which the payoffs are the same—regardless of Moriarty’s decision. To do this, both expected values must be made equal: 150p – 100 = –100p. If you solve the equation for p, you get the value 0.4. This means that Holmes should travel to Dover with a probability of 40 percent and leave the train at Canterbury with a probability of 60 percent.

Incidentally, the same reasoning applies to Moriarty, only in reverse. If you carry out the calculation in the same way, you end up with q = 0.6; this means that Moriarty should travel to Dover with a 60 percent probability. Holmes’s overall chance of survival in this scenario is therefore: (probability that Holmes is in Dover) × (probability that Moriarty is in Canterbury) + (probability that Holmes is in Canterbury) × (probability that Moriarty is in Dover) = 52 percent, slightly higher than if both had flipped a coin.

In this way, von Neumann and Morgenstern cracked the dilemma Holmes faced, at least from a mathematical point of view. But what happens in the short story?

Holmes and Moriarty have neither a rigged coin nor a random number generator with them. Nevertheless, they follow the laws of game theory. Holmes gets off the train in Canterbury and watches as Moriarty happily travels toward Dover in his single carriage, unaware that Holmes has evaded him.

The fact that Doyle opted for this version is more remarkable when you consider that game theory didn’t exist yet, and he couldn’t have known this was an optimal solution. It may have been coincidence—or he may have had good instincts. Either way, I’m reminded to take another look at his writing sometime soon.

This article originally appeared in Spektrum der Wissenschaft and was reproduced with permission.

Previous Post

Michael’s Miscellany: Earth and Sky Joined

Next Post

How to Get People to Remember — and Repeat — Your Message todayheadline

Related Posts

A strategy for peaceful Golden Dome development

June 24, 2025
2
YouTube video

¿Cómo se nombran los huracanes? » Yale Climate Connections

June 24, 2025
1
Next Post

How to Get People to Remember — and Repeat — Your Message todayheadline

  • Trending
  • Comments
  • Latest
Family calls for change after B.C. nurse dies by suicide after attacks on the job

Family calls for change after B.C. nurse dies by suicide after attacks on the job

April 2, 2025
Pioneering 3D printing project shares successes

Product reduces TPH levels to non-hazardous status

November 27, 2024

Police ID man who died after Corso Italia fight

December 23, 2024

Hospital Mergers Fail to Deliver Better Care or Lower Costs, Study Finds todayheadline

December 31, 2024
Harris tells supporters 'never give up' and urges peaceful transfer of power

Harris tells supporters ‘never give up’ and urges peaceful transfer of power

0
Des Moines Man Accused Of Shooting Ex-Girlfriend's Mother

Des Moines Man Accused Of Shooting Ex-Girlfriend’s Mother

0

Trump ‘looks forward’ to White House meeting with Biden

0
Catholic voters were critical to Donald Trump’s blowout victory: ‘Harris snubbed us’

Catholic voters were critical to Donald Trump’s blowout victory: ‘Harris snubbed us’

0

A strategy for peaceful Golden Dome development

June 24, 2025
YouTube video

¿Cómo se nombran los huracanes? » Yale Climate Connections

June 24, 2025
beach

New study explains why your skin feels tight at the beach: It’s the salt water

June 24, 2025
Back-to-school spending persists despite economic pressure, consumer survey says

Back-to-school spending persists despite economic pressure, consumer survey says

June 24, 2025

Recent News

A strategy for peaceful Golden Dome development

June 24, 2025
2
YouTube video

¿Cómo se nombran los huracanes? » Yale Climate Connections

June 24, 2025
1
beach

New study explains why your skin feels tight at the beach: It’s the salt water

June 24, 2025
4
Back-to-school spending persists despite economic pressure, consumer survey says

Back-to-school spending persists despite economic pressure, consumer survey says

June 24, 2025
5

TodayHeadline is a dynamic news website dedicated to delivering up-to-date and comprehensive news coverage from around the globe.

Follow Us

Browse by Category

  • Africa
  • Asia
  • Basketball
  • Business & Finance
  • Climate Change
  • Crime & Justice
  • Cybersecurity
  • Economic Policies
  • Elections
  • Entertainment
  • Entrepreneurship
  • Environmental Policies
  • Europe
  • Football
  • Gadgets & Devices
  • Health
  • Medical Research
  • Mental Health
  • Middle East
  • Motorsport
  • Olympics
  • Politics
  • Public Health
  • Relationships & Family
  • Science & Environment
  • Software & Apps
  • Space Exploration
  • Sports
  • Stock Market
  • Technology & Startups
  • Tennis
  • Travel
  • Uncategorized
  • Us & Canada
  • Wildlife & Conservation
  • World News

Recent News

A strategy for peaceful Golden Dome development

June 24, 2025
YouTube video

¿Cómo se nombran los huracanes? » Yale Climate Connections

June 24, 2025
  • Education
  • Lifestyle
  • Technology & Startups
  • About us
  • Contact
  • Advertise with Us
  • Privacy & Policy

© 2024 Todayheadline.co

Welcome Back!

OR

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Business & Finance
  • Corporate News
  • Economic Policies
  • Entrepreneurship
  • Market Trends
  • Crime & Justice
  • Court Cases
  • Criminal Investigations
  • Cybercrime
  • Legal Reforms
  • Policing
  • Education
  • Higher Education
  • Online Learning
  • Entertainment
  • Awards & Festivals
  • Celebrity News
  • Movies
  • Music
  • Health
  • Fitness & Nutrition
  • Medical Breakthroughs
  • Mental Health
  • Pandemic Updates
  • Lifestyle
  • Fashion & Beauty
  • Food & Drink
  • Home & Living
  • Politics
  • Elections
  • Government Policies
  • International Relations
  • Legislative News
  • Political Parties
  • Africa
  • Asia
  • Europe
  • Middle East
  • Artificial Intelligence
  • Cybersecurity
  • Emerging Technologies
  • Gadgets & Devices
  • Industry Analysis
  • Basketball
  • Football
  • Motorsport
  • Olympics
  • Climate Change
  • Environmental Policies
  • Medical Research
  • Science & Environment
  • Space Exploration
  • Wildlife & Conservation
  • Sports
  • Tennis
  • Technology & Startups
  • Software & Apps
  • Startup Success Stories
  • Startups & Innovations
  • Tech Regulations
  • Venture Capital
  • Uncategorized
  • World News
  • Us & Canada
  • Public Health
  • Relationships & Family
  • Travel
  • Research & Innovation
  • Scholarships & Grants
  • School Reforms
  • Stock Market
  • TV & Streaming
  • Advertise with Us
  • Privacy & Policy
  • About us
  • Contact

© 2024 Todayheadline.co