10182

# The Prisoner's Dilemma

Two suspects, A and B, are taken into custody by the police. The police do not have sufficient evidence for a conviction so they separate the prisoners and visit them individually to offer them the same deal. If one confesses and will testify against the other while the other still stays silent, the one who testifies will go free while the other will serve a very long time in jail. However, if both confess, then both will spend a medium time in jail. Finally, if both stay silent they will serve a very short period of time in jail.
Each prisoner thus has to chose to betray the other or to remain silent. The Pareto optimal case is that both stay silent. However, each player's dominant strategy is to confess.
This Demonstration illustrates a very common game theory concept, that the Pareto optimal strategy is not always the dominant strategy. The initial settings of the sliders , , (.5 , 5 , and 10) are very common values used in the prisoner's dilemma problem to show this. As a matter of fact, any setting where and will similarly lead to the same situation. However, you can set the sliders so that the dominant strategy of both prisoners is not to confess.

### DETAILS

An outcome of a game is Pareto optimal if no other outcome makes every player at least as well off and at least one player better off.
A dominant strategy occurs when one strategy is better than any other for one player regardless of the other players' actions.

### PERMANENT CITATION

 Share: Embed Interactive Demonstration New! Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.

#### Related Topics

 RELATED RESOURCES
 The #1 tool for creating Demonstrations and anything technical. Explore anything with the first computational knowledge engine. The web's most extensive mathematics resource. An app for every course—right in the palm of your hand. Read our views on math,science, and technology. The format that makes Demonstrations (and any information) easy to share and interact with. Programs & resources for educators, schools & students. Join the initiative for modernizing math education. Walk through homework problems one step at a time, with hints to help along the way. Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet. Knowledge-based programming for everyone.