a computer user tries to recall his password. she knows it can be one of 4 possible passwords. she tries her passwords until she finds the right one. let x be the number of wrong passwords she uses before she finds the right one. find E(x) and Var(x).
She knows it's 1 of the 4 passwords x= no. of wrong password before she finds the right one she can guess correct at first so x=0 Probability of this \[P(x=0)= \frac{1}{4}\] she guesses correct at second time \[P(x=1)= P(getting\ wrong\ at\ first) \times P( getting\ right\ at\ second\ time)\] \[P(x=1)=\frac{3}{4} \times \frac{1}{3}\]
Did you understand till this?? then we'll proceed
what is math processing error...??
Oh just reload the page
understand till this.... you can procced ...?
Just wait for sometime. I'll solve it
So we have \[P(x=1)= \frac{1}{4}\] Now Let's find the probability of getting two wrong before getting right \[P(x=2)= \frac{3}{4} \frac{2}{3} \frac{1}{2}=\frac{1}{4}\] Probability of getting three wrongs \[P(x=3)= \frac{3}{4} \frac{2}{3} \frac{1}{2} \frac{1}{1}=\frac{1}{4}\] So we have x P(x) 0 1/4 1 1/4 2 1/4 3 1/4 \[E(x)=\sum_{x=0}^{x=3} x P(x)= 0 * 1/4+1*1/4+2*1/4+3*1/4=1.5\]
Did you understand this?
yes..... i do understand
Great, now can you find variance?
yes..
Good :)
Join our real-time social learning platform and learn together with your friends!