Professional Documents
Culture Documents
050383-0153
January 26, 2024
Introduction
The game rock paper scissors was first invented in 206 BCE, and ever since then, the
game has spread throughout the world and has become a go-to for children and adults alike when
trying to settle a score. I remember playing the simplistic game with my brothers to figure out
who would do the chores for that day. And somehow, I would always lose, leaving all the work
on me. Even now, when playing casually with my friends, I normally end up on the losing side.
The game consists of 3 symbols: a rock symbolized by a closed fist, scissors, symbolized
by a v-shape made with the pointer and middle finger, and paper which is symbolized by a flat
hand. In the game, rock beats scissors, scissors beats paper, and paper beats rock. You can either
Aim
The aim of my IA is to analyze the different plays and understand the patterns players of the
game use within a specific round to win. To aid me in this IA, I used mathematical models such
as Markov chains, and the chi-square test, to visualize and explain the different
Theoretical Probability
To further understand the odds of winning rock paper scissors, I found each combination that
could possibly happen in five rounds (for example, winning all five rounds, losing all five
rounds, winning twice, losing twice and tying once, etc). In five rounds alone, there are 243
possible outcomes. 98 of them end in a win, 94 of them end in a loss, and 53 of them end in a tie.
I decided to find the probability of Player V winning given that they win the first round.
𝑃(𝐴∩𝐵)
𝑃(𝐴|𝐵) = 𝑃(𝐵)
In which, 𝑃(𝐴|𝐵) = the probability of winning the game given that you win the first round,
𝑃(𝐴 ∩ 𝐵)= the probability of winning the game and the first round, A = the probability of
winning the game , and B = the probability of winning the first round
Because the two events are dependent on each other, I manually found 𝑃(𝐴 ∩ 𝐵) instead of
53
𝑃(𝐴 ∩ 𝐵) = 243
53 84
Therefore, 𝑃(𝐴|𝐵) = 243
÷ 243
53
𝑃 (𝐴|𝐵) = 84
≈ 63%
Therefore, to have a greater chance of winning the game, one must win the first round.
My source of data comes from tests I ran with the help of my fellow classmates. I had 6 pairs of
prove the fact that the probability that someone will win is
𝑑𝑓 = (3 − 1)(3 − 1)
𝑑𝑓 = 4
With all this information, I was finally able to run the test. The equation is as follows:
2
2 (𝑂−𝐸)
𝑥 = ∑ 𝐸
2
Where 𝑥 = the test statistic, O = the observed frequency (ie the raw data), and E = the expected
frequency
= 14.0762638
≈ 14.08
Since 14.08 > 9.49, the null hypothesis that the variables are R P S Total
independent has been rejected and I now know that the probability that
1 6 2 5 13
one wins, loses, or ties is dependent on the symbol played.
and the round number is dependent on each other as well. The table on
3 5 4 2 11
the right shows the number of times each symbol was played each
round. I once again used the chi-square test to prove the dependence. 4 3 4 2 9
I used the same formula to find the degree of freedom for this table.
5 4 5 5 14
𝑑𝑓 = (#𝑜𝑓 𝑟𝑜𝑤𝑠 − 1)(#𝑜𝑓 𝑐𝑜𝑙𝑢𝑚𝑛𝑠 − 1)
6 3 3 6 12
𝑑𝑓 = (10 − 1)(3 − 1)
𝑑𝑓 = 18 7 5 4 2 11
Using this value, I was able to find the critical value of the table, which
8 1 4 6 11
came out to be 28.869.
9 2 5 5 12
10 6 3 5 14
Total 38 36 46 120
I then found the expected frequencies of the table, and used them in the chi-square equation. My
prove the point that rock paper scissors is not just a simple game of chance. A player’s play is
Conditional Probability
Most people believe that Rock Paper Scissors is a game of chance. However, our
decisions in the game are influenced by different psychological and physical factors. According
to Gradient, rock is the most common first play with a probability of being thrown at 51%,
followed by scissors, at 26%, then paper, with a chance of 23%. Figure 4 is a simplified version
of a payoff matrix. Through the perspective of only one player. In this version, a player gets 0
points if they lose, 1 point if they win, and 0.5 points if they tie. Using this, I
decided to calculate the expected value of throwing each symbol in the first
round.
The expected value of playing any symbol first can be shown through the
following formula:
𝑛
𝐸(𝑉𝑥) = ∑ 𝑥𝑖 (𝑝𝑋 = 𝑥𝑖 )
𝑖
Where E(Vxi) = the expected value, xi = the expected payoff, and (pX= xi) = the probability of xi
happening.
When the values of each variable are added, the equation will look like the following:
𝐸(𝑉𝑝) = 1 · 0. 51 + 0 · 0. 26 + 0. 5 · 0. 23
5
𝐸(𝑉𝑝) = 8
= 0. 625
𝐸(𝑉𝑟) = 1 · 0. 26 + 0 · 0. 23 + 0. 5 · 0. 51
103
𝐸(𝑉𝑟) = 200
= 0. 515
𝐸(𝑉𝑠) = 1 · 0. 23 + 0 · 0. 5 + 0. 5 · 0. 26
9
𝐸(𝑉𝑠) = 25
= 0. 36
From this, I can conclude that the value of playing paper is greater than playing any other hand.
This can also be proven by the fact that most people play rock first, with paper being the least
common play. By playing paper first, you are most likely to win the first round, therefore having
Figure 5 is a markov chain, which visualizes the transitional probabilities a player takes
𝑛
𝐸(𝑥) = ∑ 𝑥𝑖 (𝑝𝑋 = 𝑥𝑖 )
𝑖
Where E(x) = the expected value, xi = the expected payoff, and (pX= xi) = the probability of xi
happening.
The following workings shows the expected values of throwing rock, paper, and scissors,
respectively.
8 17 1
𝐸(𝑅) = 0 · 99
+1 · 99
+ 0. 5 · 9
5
= 22
13 10 7
𝐸(𝑃) = 0 · 99
+1 · 99
+ 0. 5 · 99
3
= 22
16 1 2
𝐸(𝑆) = 0 · 99
+1 · 9
+ 0. 5 · 33
14
= 99
From this alone, I can deduce that playing rock has the highest value out of all 3 possibilities.
𝑥 λ
λ 𝑒
𝑓(𝑥) = 𝑥!
Where λ = expected value, X = number of events, and f(x) = the likeness of the event occurring. I
decided to use 4 as the number of events, to represent the other four rounds of rock paper
scissors.
5
5 4
( 22 ) 𝑒 22
𝑓(𝑅) = 4!
≈ 1.39·10-4
3
3 4
( 22 ) 𝑒 22
𝑓(𝑃) = 4!
≈ 1.65·10-5
14
14 4
( 99 ) 𝑒 99
𝑓(𝑆) = 4!
≈ 1.91 ·10-5
From what we can see, the playing of scissors has the highest likelihood of occurring out
of all three rounds. Therefore, players should use rock the most out of the other symbols. This
could also be deduced through the fact that the expected value of rock was the highest out of the
three.
Conclusion
My investigation actively debunks the myths of RPS being a simple, chance-led game.
My findings show that every variable is dependent on the other, and that in order to win, one
must understand the way their opponent thinks. By using mathematical data, as well as game
Adam Hayes. “Poisson Distribution: Formula and Meaning in Finance.” Investopedia, 19 May
January 2024.
https://app.kognity.com/study/app/sbi3u7/sid-64-cid-238918/book/chi-squared-test-id-94
Li, Timothy. “Expected Value Definition, Formula, and Examples.” Investopedia, 25 August
2024.