135,053 views
37 votes
37 votes
A 8 letter Code word is selected. What is the probability that there are no repeated letters?

User Ferdymercury
by
2.9k points

2 Answers

16 votes
16 votes

Answer:

0.3016

Explanation:

If we have an 8 letter code word...

Total number of possible letters = 26

The number of letters possible = 8

So...

26 ^ 8 = 0.3016

Hope this helps!

User Clemens Kofler
by
3.0k points
17 votes
17 votes

Answer:


\approx 0.30164

Explanation:

The Alphabet contains 26 characters, and to better understand this probability, let's do each letter one step at a time.

Any letter being chosen should have an equal probability of:
(1)/(26), and for the first letter we don't really have to worry about choosing a non-repeated letter, since it's impossible to have a non-repeated letter on the first letter... since it's the first letter, so no other letter has been chosen.

This means we have a probability of: 1 to get a non-repeated letter when we choose the first letter.

The probability when we choose the 2nd letter is different, since there is a possibility of choosing a repeated letter. As stated above, the probability of choosing any one letter should be equal for each letter and is:
(1)/(26)

Since we want to avoid this one letter we choose in the beginning, the probability of choosing it is:
(1)/(26), which means the probability of not choosing it is:
(25)/(26)

For the 3rd letter it follows the same pattern, assuming we have two non-repeated letters, the probability of choosing a repeated letter from the previous two is there combined probabilities of:
(1)/(26) + (1)/(26) = (2)/(26). Since we want a non-repeated letter, we subtract this probability from one, because the entire probability will equal one.

This gives us a probability of:
(24)/(26) of choosing a non-repeated letter.

You'll notice a pattern, the numerator is decreasing by one! This makes sense since each time we choose a non-repeated letter, well the number of non-repeated letters will decrease by one.

This gives us the probability for each letter up to eight letters


(26)/(26), (25)/(26), (24)/(26), (23)/(26), (22)/(26), (21)/(26), (20)/(26), (19)/(26)

To get an eight letter code that has no no repeated letters, all these events have to occur. To find the collective probabilities of all these events happening, we simply multiply them, assuming they're independent which we have no reason to believe they aren't independent.

This gives us a total probability of approximately:
0.30164

User SergeyBukarev
by
3.4k points