Probability distribution pin code guessing

In summary, the conversation discusses the distribution of a stochastic variable X, which represents the number of attempts needed to find the correct last digit of a pin code. The solution provided includes a formula for calculating the probability of a specific number of attempts, with the overall distribution following a decreasing pattern. The conversation ends with a question about whether there is a formula for calculating P(X=x).
  • #1
Max.Planck
129
0

Homework Statement


What is the distribution of stochastic variable X = "the number of attempts needed to find the correct last digit of a pin code"


Homework Equations





The Attempt at a Solution


I thought it was like this:
P(X=1) = 1/10
P(X=2) = 9/10*1/9
P(X=3) = 9/10*8/9*1/7
...
...
P(X=10) = 9/10*8/9*7/8*6/7*5/6*4/5*3/4*2/3*1/2*1

Thank you!
 
Physics news on Phys.org
  • #2


Max.Planck said:

Homework Statement


What is the distribution of stochastic variable X = "the number of attempts needed to find the correct last digit of a pin code"


Homework Equations





The Attempt at a Solution


I thought it was like this:
P(X=1) = 1/10
P(X=2) = 9/10*1/9
P(X=3) = 9/10*8/9*1/7
...
...
P(X=10) = 9/10*8/9*7/8*6/7*5/6*4/5*3/4*2/3*1/2*1

Thank you!

Looks good.

RGV
 
  • #3


Ray Vickson said:
Looks good.

RGV

Thanks. Is it possible to capture P(X=x) in a formula?
 

1. What is a probability distribution?

A probability distribution is a mathematical function that describes the likelihood of a random variable taking on a certain value or range of values. It can be used to model and predict the outcomes of random events.

2. How can probability distribution be used in pin code guessing?

In pin code guessing, probability distribution can be used to determine the likelihood of a certain combination of numbers being the correct pin code. By using a probability distribution, one can calculate the probability of guessing the correct pin code and make more informed guesses.

3. What factors affect the probability distribution in pin code guessing?

The factors that affect the probability distribution in pin code guessing include the number of digits in the pin code, the allowed range of numbers for each digit, and any known information about the pin code (such as common patterns or repeated numbers).

4. How can one improve their chances of guessing the pin code using probability distribution?

One can improve their chances of guessing the pin code by using the probability distribution to make educated guesses. By considering the factors that affect the distribution, one can eliminate unlikely combinations and focus on more probable ones.

5. Are there any limitations to using probability distribution in pin code guessing?

Yes, there are limitations to using probability distribution in pin code guessing. The accuracy of the distribution depends on the quality of the data and assumptions made about the pin code. Additionally, the use of probability distribution does not guarantee a correct guess, as it is still based on chance.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
591
  • Calculus and Beyond Homework Help
Replies
3
Views
951
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
535
  • Calculus and Beyond Homework Help
Replies
1
Views
675
  • Calculus and Beyond Homework Help
Replies
5
Views
191
  • Calculus and Beyond Homework Help
Replies
2
Views
459
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
31
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
996
Back
Top