Expected number of questions to win a game

  • Context: MHB 
  • Thread starter Thread starter reg_concept
  • Start date Start date
  • Tags Tags
    Game
Click For Summary
SUMMARY

The discussion centers on calculating the expected number of questions a participant needs to answer to win a quiz game, where the participant earns 1 point for each correct answer and must reach 5 points to win. The game includes a penalty where answering 4 consecutive questions incorrectly resets the score to zero. The probability of answering correctly is defined as p = 1/3. The problem is modeled as an Adsorbing Markov chain, with a transition matrix P and the fundamental matrix N used to compute the expected number of steps to reach the winning state.

PREREQUISITES
  • Understanding of Markov chains and their properties
  • Familiarity with probability theory, specifically transition matrices
  • Knowledge of matrix inversion techniques
  • Basic concepts of expected value in probability
NEXT STEPS
  • Study the properties of Adsorbing Markov chains and their applications
  • Learn about matrix inversion methods and their computational complexity
  • Explore the concept of transient states in Markov processes
  • Read the tutorial on Markov chains provided in the discussion for practical exercises
USEFUL FOR

Mathematicians, statisticians, game theorists, and anyone interested in probability modeling and Markov processes.

reg_concept
Messages
6
Reaction score
0
Let, a person is taking part in a quiz competition.
For each question in the quiz, there are 3 answers, and for each correct answer he gets 1 point.
When he gets 5 points, he wins the game.
If he gives 4 consecutive wrong answers, then his points resets to zero (i.e. if his score is now 4 and he gives 2 wrong answers, then his score resets to 0).My question is, on an average how much questions he needs to answer to win the game?
Someone please help.
 
Last edited:
Physics news on Phys.org
concept said:
Let, a person is taking part in a quiz competition.
For each question in the quiz, there are 3 answers, and for each correct answer he gets 1 point.
When he gets 5 points, he wins the game.
If he gives 2 consecutive wrong answers, then his points resets to zero (i.e. if his score is now 4 and he gives 2 wrong answers, then his score resets to 0).My question is, on an average how much questions he needs to answer to win the game?
Someone please help.

An important detail is missing: for each question what is the probability p of correct answer?... if p=1 then the expected number of answers is 5... of course...

Kind regards

$\chi$ $\sigma$
 
chisigma said:
An important detail is missing: for each question what is the probability p of correct answer?... if p=1 then the expected number of answers is 5... of course...

Kind regards

$\chi$ $\sigma$

Since there are 3 choices per question, so probability of correct question is 1/3
 
Never mind, we can indicate with p the probability of correct answer and q=1-p the probability of wrong answer at each step. The problem is a Markov chain type that uses the following state transition diagram... http://d2yq0g4vt6ipuo.cloudfront.net/c7/8e/i68062919._szw565h2600_.jpg

The probability transition matrix is...

$\displaystyle P = \left | \begin{matrix} q & p & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & q & p & 0 & 0 & 0 & 0 & 0 & 0 \\ q & 0 & 0 & p & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & q & p & 0 & 0 & 0 & 0 \\ q & 0 & 0 & 0 & 0 & p & 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 0 & 0 & 0 & q & p & 0 & 0 \\ q & 0 & 0 & 0 & 0 & 0 & 0 & p & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & q & p \\ q & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & p \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{matrix} \right| $ (1)

The presence of the final state 10 makes the Markov chain an Adsorbing Markov chain and, because the state 10 is the only adsorbing state we can compute the fundamental matrix N as...

$\displaystyle N = \sum_{k=0}^{\infty} Q^{k} = (I_{9}-Q)^{-1}$ (2) ... where $I_{9}$ is the 9 x 9 unity matrix and Q is the 9 x 9 matrix obtained from P deleting the last row and the last column...

$\displaystyle Q = \left | \begin{matrix} q & p & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & q & p & 0 & 0 & 0 & 0 & 0 \\ q & 0 & 0 & p & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & q & p & 0 & 0 & 0 \\ q & 0 & 0 & 0 & 0 & p & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & q & p & 0 \\ q & 0 & 0 & 0 & 0 & 0 & 0 & p & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & q \\ q & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \end{matrix} \right| $ (3)

Now the expected number of steps is the vector...

$\displaystyle \overrightarrow{t} = N \cdot \overrightarrow{1}$ (4)

... where $\displaystyle \overrightarrow{1}$ is the 9 x 1 'all 1' column vector. Of course the main task is the matrix inversion in (2), normally very time expensive to do by hand... Kind regards $\chi$ $\sigma$
 
Last edited:
chisigma said:
The presence of the final state 10 makes the Markov chain an Adsorbing Markov chain and, because the state 10 is the only adsorbing state we can compute the fundamental matrix N as...

$\displaystyle N = \sum_{k=0}^{\infty} Q^{k} = (I_{9}-Q)^{-1}$ (2)

Thankx for ur great help.
But one question, I can't find any transient state in the matrix. Is it possible to implement the above equation if there is no transient state?

Could you please suggest me a book to read and understand this scenario of marcov chain in detail?

Regards
Concept
 
concept said:
Thankx for ur great help.
But one question, I can't find any transient state in the matrix. Is it possible to implement the above equation if there is no transient state?

Could you please suggest me a book to read and understand this scenario of marcov chain in detail?

Regards
Concept

The states from 1 to 9 are all 'transient states' and the matrix P represents the probability to pass from the state i to the state j for i=1,2,...,10 and j=1,2,...,10...

Regarding a 'good text' about Markov chain I can suggest You the following tutorial article ...

http://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/Chapter11.pdf

... that includes a large number of exercizes and references...

Kind regards

$\chi$ $\sigma$
 
chisigma said:
The states from 1 to 9 are all 'transient states'
Thankx you.
From the book of Wayne winston, I find that,a state i is transient if there is a way to leave state i that never returns to state i.
I can move from state 1 to state 0 by giving 4 consecutive wrong answers and again can come back to state 1 by giving right answer. So, is it a transient state?

Could you please explain?

Another approach: I need three chances to answer a correct question. So, it will take 5*3=15 questions to get 5 points. Is it right?
 
concept said:
Thankx you.
From the book of Wayne winston, I find that,a state i is transient if there is a way to leave state i that never returns to state i.
I can move from state 1 to state 0 by giving 4 consecutive wrong answers and again can come back to state 1 by giving right answer. So, is it a transient state?

Could you please explain?

Another approach: I need three chances to answer a correct question. So, it will take 5*3=15 questions to get 5 points. Is it right?

In your case for the states from 1 to 9 there is at least one emerging path that conducts to the adsorbing state 10, so that they are all transient states...

Regarding 'other approaches' what I can say is that the problem can't [probably] be solved with 'conventional' statistic approaches...

Kind regards

$\chi$ $\sigma$
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
17K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
9K