Here we’re going to continue looking at how many different ways there are to order collections of objects, but with certain constraints.
We saw previously that if you have (distinguishable) objects, you can arrange them in ways ( positions for the first object for the second, etc, with a single position for the last object).
Now we can ask what is the way of arranging of objects. That is, if I give you a deck of cards and ask you to take any five cards and put them in some order, how many possibilities are there in total?
Well, clearly the first card is going to be one of 52 different possibilities (in a 52 card deck). The second card is going to be one of 51 possibilities, etc. So the answer is going to be:
can we write this in terms of factorials? Let’s multiply and divide this number by :
But the top is just , so this is given by:
Where did the come from? It’s just the total cards in the deck minus the number of cards we were choosing. So this is:
In general an expression of this form is known as a falling factorial and is denoted:
What if we had asked for all the ways to arrange not 5 cards, but 52 cards in the deck? Well, then both and would be 52, so we would have:
In general .
How many different one-to-one functions are there from the set to the set ?
Well let’s call our function . For instance we might have . How many possible functions of this form are there?
Well, we can see that we are essentially choosing 4 objects from the set of 7 to be the results of . The order is important here, so it is exactly the same as saying how many ways can we draw four cards from a deck of 7. The answer is thus:
If I were to deal you four cards randomly from a deck of 52, what are the chances that you would get the same cards twice in a row, in the same order?
Well, the first answer is zero because I haven’t told you that I was going to put the first cards back in the deck, but presuming I have put them back, we can ask how many possible draws of four cards there could be. The answer of course is . So the chances of getting the same draw twice in a row (given that I am only doing this experiment once) is .
Bonus material: Graham’s number
So we’ve seen that there is an efficient notation for writing towers of exponents and we’ve defined a few pretty big numbers, but these are minuscule compared to what we’re about to get.
We saw that:
where the tower is high. ie. high. This is a huge huge number!!…but we’re going further. What about:
Where now the tower of 3’s is high. We have gone way way beyond the realms of comprehension already. We will name this number . Now let’s see how hyperbolically silly this can go. What if we defined:
Where the number of ‘s was . Now we define in the same way by having ‘s…etc. you see where this is going.
OK, So Graham’s number is It is an unimaginably, outrageously, ludicrously large number, but it is well defined, and, (only) in theory computable. There are larger numbers discussed in the mathematics literature but this (for some time) was known as the largest number which can in theory be computed and was in a mathematical proof.
Graham’s number is used in an area of mathematics called Ramsey theory which has connections to graph theory (the theory of connected nodes, their structure and their order). One famous result from Ramsey theory, which you can test yourself is that if you are at a party with at least six people, you will always find that there are at least 3 people, all of whom know one another, or you will find at least three people, none of whom know one another.
Graham’s number is the upper bound to a problem in Ramsey theory which is similar to the above. The answer is not known (ie. what is the minimum number of people at a party, for a particular condition to hold), but it is known to be greater than or equal to 13 and less than Graham’s number…you can see that this is a pretty weak bound!!
Hi Sir, there’s a mistake. 7P4=7×6×5×4 not 7×6×5.
OLGMOF001
Spot on, thank you!
[…] MAM1000 lecture notes part 17 – Ordering objects […]