Approach I | Probability W/o Too Much of Counting
The first person can choose one right and one left shoe in $2$ ways, each having the same probability. They can can either choose the right shoe first and then the left shoe or the other way round.
The probability of choosing a right shoe to begin with would be $\frac{n}{2n}$ [choosing any of the $n$ right shoes out of the $2n$ shoes]. Then the probability of picking a left shoe would be $\frac{n}{2n - 1}.$
So the probability of the first person choosing one right and one left shoe would be
$$2 \cdot \frac{n}{2n} \cdot \frac{n}{2n-1}$$
Again, multiplying by $2$ because they either start with the left or the right shoe.
At this stage, we have $n-1$ right and $n-1$ left shoes left. Altogether $2n - 2$.
So, for the next person, the probability of selecting one right and one left shoe would be
$$2 \cdot \frac{n-1}{2n-2} \cdot \frac{n-1}{2n-3}$$
Continuing with this, for the last person, the probability would be
$$2 \cdot \frac{1}{2} \cdot \frac{1}{1}$$
Since all of them have to make their choices one after the other, we multiply their individual probabilities. So, the required probability would be
$$
\begin{align*}
P \, &= \, 2 \cdot \frac{n}{2n} \cdot \frac{n}{2n-1} \,\, \cdot \,\, 2 \cdot \frac{n-1}{2n-2} \cdot \frac{n-1}{2n-3} \,\, ... \,\, 2 \cdot \frac{1}{2} \cdot \frac{1}{1} \\[0.3cm]
&= \frac{2^n \cdot (n!)^2}{(2n)!}
\end{align*}
$$
And that's it. Let's look at another approach.
Approach II | Using Counting
- Calculating Total Possibilities
There are a total of $2n$ shoes. What happens eventually is each person (of the n people) gets paired with $2$ shoes. One way to do this is to arrange all the shoes in a row and assign the first two shoes to the first person, next two to the next person and so on.
Now each set of two shoes (or pair of shoes) can be arranged among themselves in $2! = 2$ ways. And there are $n$ pairs. So, we will need to divide the total number of arrangements by $2^n$ to remove duplication. A person getting a left and a right shoe is the same as them getting the right and the left shoe.
Now, the total number of arrangement of $2n$ shoes is $(2n)!$. So,
$$\text{Total possibilities } = \frac{(2n)!}{2^n}$$
- Number of Acceptable Possibilities
Next, we determine the number of ways in which each person has $1$ right and $1$ left shoe.
Basically this is the same as no two adjacent shoes being of the same side (left or right). This is a simple problem to solve.
We start by arranging the $n$ left shoes in a row. This can be done in $n!$ ways.
Now, we can place one right shoe after each left shoe as shown below, for example.$^{[1]}$
$$L \,\, R \,\, L \,\, R \,\, L \,\, R$$
This way each pair of adjacent shoes (that people will get) will have one right and one left shoe.
And, the $n$ right shoes can be arranged among themselves in $n!$ ways.
So altogether, the number of desired arrangements is
$$\begin{align*}
n! \times n! = (n!)^2
\end{align*}$$
Hence the required probability would be
$$\begin{align*}
\frac{(n!)^2}{\frac{(2n)!}{2^n}} = \frac{2^n \cdot (n!)^2}{(2n)!}
\end{align*}$$
$^{[1]}$ We may also place one right shoe before each left shoe as shown below.
$$R \,\, L \,\, R \,\, L \,\, R \,\, L$$
But this doesn't make any difference. Each person get the same pair of shoes. As we saw in calculating the total possibilities, left or right doesn't make a difference.