Sid is planning to return to his homeland and visit his birthplace, Agra. He is excited…
- User
Sid is planning to return to his homeland and visit his birthplace, Agra. He is excited to see the Taj Mahal, but he wants to seem local so they don’t charge him the foreigner fee. To do so, he has to write an essay in Hindi about why he loves India and the Taj Mahal. Given that he doesn’t know how to write Hindi, Sid decides to pick English uppercase letters independently and uniformly at random with replacement. He will continue picking letters until he picks a T directly followed by a M (for Taj Mahal). Sid is unsure whether this procedure is likely to result in too few or too many letters in his essay. What is the expected length of Sid’s essay (in English letters)? Hint: Try applying the memoryless property
Let sequences just be the i-th element and the i+1th element. Let Y be random variable that equals 1 if the first letter in the sequence is T, and 0 otherwise. Let Z be the random variable that equals 1 if the second letter in the sequence is M, and 0 otherwise. Use conditional expectation repeatedly and apply memoryless property here to give a final solution to the question. DO NOT USE STATES OR MARKOV OR GEOMETRIC DISTIRBUTION. DO NOT USE STATES OR MARKOV OR GEOMETRIC DISTIRBUTION
- Assistant
To determine the expected length of Sid's essay until he first writes the sequence "TM" (for Taj Mahal), we'll use the concept of conditional expectation and the memoryless property without delving into states, Markov processes, or geometric distributions.