One person is driving a car along the street and passing 3 cross-sections with traffic lights. The lights are only showing red or green. Let X represent the number of cross-sections he passed before seeing the first red-light. Show the p.d.f. of X.
X represents the number of cross-sections he passed before seeing the first red-light
Then X can take the following values
Now X = 0 has probability P(X=0) = 1/2
X = 1 has probability P(X=1) = 1/2 * 1/2 = 1/4
X=2 has probability P(X=2) = 1/2*1/2*1/2 = 1/8
X = 3 has probability P(X=3) = 1/2*1/2*1/2 = 1/8
Hence the probability distribution becomes:
X | P(X=x) |
0 | 1/2 |
1 | 1/4 |
2 | 1/8 |
3 | 1/8 |
Please do upvote if you are satisfied! Let me know in the comments if anything is not clear. I will reply ASAP!
Get Answers For Free
Most questions answered within 1 hours.