Permutations vs. Combinatorial vs. Factorials vs. Exponents

5.1k Views Asked by At

I'm currently working on a probability course, and I am constantly having trouble figuring out when to use permutations vs. combinations vs. factorials vs. exponents in order to calculate sample size, or in order to complete calculations. I was wondering if there is some kind of set of rules to go by when deciding when to use each?

Thank you very much.

2

There are 2 best solutions below

4
On

You use combinations for calculating the number of subsets of size $k$ in a set of size $n$, denoted by $\binom{n}{k}$. When you consider subsets, the order of elements doesn't matter.

When you want to know the number of ordered tuples of size $k$ with different elements taken from a set of size $n$, you use $_nP_k$.

notice $\binom{n}{k}=\frac{_nP_k}{k!}$.

When you want to know the number of permutations of all the elements is a set of $n$ elements, you use $n!$. Because the first position has $n$ choices, the second position has $n-1$ choices and so on...

When you want to calculate the number of functions from a set of $n$ elements to a set of $k$ elements, you use $k^n$. Because for each element in the set with $n$ elements, there are $k$ possible choices for it to be mapped to.

2
On

An easier approach in understanding them,

  1. Exponent: Let us say there are four different grades in a class - A, B, C, D. Five students. We can provide a grade to any number of students. We won't run out of grades. When more students get added we can keep giving them all A grades, for instance. For n students and k grades the possible number of outcomes is k^n.

  2. Factorial: Consider a scenario where you have three different candies. The candies can be same, or have differences in flavor/brand/type. Now you have to distribute this to three children. When you give away your first candy to the first kid, that candy is gone. We have finite number of objects to be distributed among a finite set of members. Also notice that different distribution will result in a different outcome for the children. This is permutation (order matter...which kid gets which candy matters),but this is also a special case of permutation because number of members are equal to number of products. We have n! outcomes when there are n candies going to n children.

  3. Permutation: Consider the case above, but instead of having only 3 children we have 10 children out of which we have to choose 3 to provide the 3 candies to. This is also permutation but a more general case. Here number of members is not equal to number of objects. We have n!/(n-r)! outcomes. From the example, we have 10 children so n = 10, 3 candies so r = 3. So factorial is same as the permutation, but when n = r.

  4. Combination: Now consider a slightly different example of case 3 above. Instead of assigning candies, you have to pick three candies from a bucket full of candies. The bucket may have about 10 candies in total. And you get to keep all 3 of them that you pick. Now, does it matter in what order you pick the three? It doesn't. In a scenario like this, picking candy1, candy2, candy3 in that order will be no different for you from picking candy3, candy2, candy1 (different order). So this is a case pf permutations but where certain outcomes are equal to each other. Hence the total combinations of r picks from n items is n!/r!(n-r)!

I haven't discussed the mathematics of deriving the equation in depth. But this answer aims to provide an understanding that would help recognize patterns when you have to apply them.