Solution:
Concept: An event and its complement together make up the whole sample space, so P(not E)=1−P(E).
Step 1 — Count the ways of placing the letters. The first letter can go into any of n envelopes, the second into any of the remaining n−1, and so on, so the letters can be placed in n! equally likely ways.
Step 2 — Count the ways in which every letter is right. Each letter must go into its own envelope, and there is only 1 such way:
P(all letters right)=n!1
Step 3 — Solve part (i). We read "all the letters are not placed in the right envelope" as "not all the letters are placed in the right envelopes", the complement of the event in Step 2:
P(not all right)=1−n!1
Step 4 — Solve part (ii). For three letters there are 3!=6 ways of putting the letters into the envelopes, and only 1 of them puts every letter into its right envelope:
P=3!1=61
Note: The words in part (i) can also be read as "no letter goes into its right envelope"; that is a different event (for three letters its probability is 62, or 31). The answer above follows the first reading.
Therefore, (i) the probability is 1−n!1 and (ii) the probability is 61.