Probability distribution pin code guessing

Click For Summary
SUMMARY

The discussion focuses on the probability distribution of the stochastic variable X, representing the number of attempts needed to correctly guess the last digit of a pin code. The probabilities are calculated as follows: P(X=1) = 1/10, P(X=2) = 9/10 * 1/9, and P(X=3) = 9/10 * 8/9 * 1/7, continuing this pattern up to P(X=10). Participants confirm the calculations and inquire about capturing P(X=x) in a generalized formula. The conversation emphasizes the mathematical approach to understanding discrete probability distributions.

PREREQUISITES
  • Understanding of stochastic variables
  • Basic knowledge of probability theory
  • Familiarity with discrete probability distributions
  • Ability to manipulate mathematical formulas
NEXT STEPS
  • Research the concept of geometric distributions in probability
  • Learn how to derive probability mass functions
  • Explore the application of combinatorial mathematics in probability
  • Study the law of total probability and its implications
USEFUL FOR

Students in statistics, mathematicians, and anyone interested in probability theory, particularly those studying discrete distributions and their applications in real-world scenarios.

Max.Planck
Messages
128
Reaction score
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


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
 


Ray Vickson said:
Looks good.

RGV

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

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
15
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
2K
Replies
31
Views
7K
  • · Replies 30 ·
2
Replies
30
Views
4K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K