Expected Value: Coin flip not same as previous flip

Click For Summary
The discussion focuses on calculating the expected number of switches, E(X), in a sequence of N coin tosses. Each switch occurs when the result of a toss differs from the previous toss. It is noted that 2/n of sequences have 0 switches and 2/n have n-1 switches, but the values in between remain unclear. The relationship between the number of heads and tails is emphasized as crucial for determining E(X). The hint suggests considering the expected number of heads in the sequence to aid in finding the solution.
DerekJ
Messages
1
Reaction score
0

Homework Statement


Given a sequence of Heads and Tails, let’s say that the sequence has a switch each time one toss is different than the toss before it. For instance, the sequence HHTHTTTHTH has 6 switches.

Suppose you toss a fair coin N times and record the resulting sequence of Heads and Tails. If X is the number of switches in the sequence, find E(X).

Homework Equations


We are assuming that the expected value, E(X) = ∑x_i*P(X=x_i) (the sum of each element of X, multiplied by the respective probability of that element occurring)

The Attempt at a Solution


I understand that this is going to have something to do with the number of heads and tails in the sequence and the relationship between the two. Clearly 2/n of the sequences have 0 switches, and 2/n of the sequences have n-1 switches, however I'm unsure of how to work out the values in between in general.
 
Physics news on Phys.org
it's rather simple. use E(X+Y)=E(X)+E(Y)
 
DerekJ said:

Homework Statement


Given a sequence of Heads and Tails, let’s say that the sequence has a switch each time one toss is different than the toss before it. For instance, the sequence HHTHTTTHTH has 6 switches.

Suppose you toss a fair coin N times and record the resulting sequence of Heads and Tails. If X is the number of switches in the sequence, find E(X).

Homework Equations


We are assuming that the expected value, E(X) = ∑x_i*P(X=x_i) (the sum of each element of X, multiplied by the respective probability of that element occurring)

The Attempt at a Solution


I understand that this is going to have something to do with the number of heads and tails in the sequence and the relationship between the two. Clearly 2/n of the sequences have 0 switches, and 2/n of the sequences have n-1 switches, however I'm unsure of how to work out the values in between in general.

Can you see how to do it without doing any calculations? Hint: what is the expected number of Heads in a sequence of tosses?
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K