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.

Answer from Swathi Shanmugasundaram on Stack Exchange
🌐
Reddit
reddit.com β€Ί r/mathhelp β€Ί factorials vs. permutations
r/MathHelp on Reddit: Factorials VS. Permutations
June 20, 2018 -

I tried to get my teacher to help me distinguish factorials from permutations and how to know when to use which, and well, he pretty much couldn't. Can anybody clear up how to know when to use which? I understand that 4! would be 1 * 2 * 3 * 4, and that you use factorial when repetitions are aloud, while with permutations, you want to get rid of repetitions.

What are the core differences in the math behind factorials VS. permutations, and how can I know when I need to use one or the other in a question?

Top answer
1 of 1
2
You use factorial notation to describe both permutations (where order is considered distinguishable) and combinations (where order is not distinguishable). I think when you are talking about "repetition" being allowed you may be referencing counting problems where the things you are choosing from do not get depleted by choosing them. For example: counting PIN numbers with 4 digits, and any digit can be 0-9. That would involve repetition being allowed, because the number you choose as first number could be any of 10 numbers, number you choose as second number could be any of 10 numbers, and so on. In that situation, the total count of possible PINs would be 10 * 10 * 10 * 10. So you would not need factorial notation for that. You might use exponent notation though: 104 A different example: If you are figuring out the ways to award first, second, third, and fourth prize in a contest among 10 players, and want a count of that, then each pick you make is going to influence what remaining picks are allowed. Once you've chosen the first place person from among 10, there are only 9 people to choose from for the second place person. (In a sense, you're not allowed to "repeat" picking a person you've already picked!) Total count of possible ways of ranking players this way would be 10 * 9 * 8 * 7. That in itself can be expressed using factorial notation in a sneaky way: 10!/6!. Do you see why 10!/6! would turn out to equal 10 * 9 * 8 * 7? The notation sometimes used for that situation is 10P4, meaning from 10 we are permuting 4 players, and the formula using factorial notation for nPr = n!/(n–r)!. So all three of these things mean the same thing: 10P4 = 10!/6! = 10 * 9 * 8 * 7 For more instruction, post over in r/learnmath or r/askmath .
Top answer
1 of 2
8

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.

2 of 2
2

You use combinations for calculating the number of subsets of size in a set of size , denoted by . When you consider subsets, the order of elements doesn't matter.

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

notice .

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

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

🌐
Mathematics LibreTexts
math.libretexts.org β€Ί bookshelves β€Ί algebra β€Ί college algebra and trigonometry (beveridge) β€Ί 7: combinatorics
7.2: Factorial Notation and Permutations - Mathematics LibreTexts
October 6, 2021 - A "permutation" uses factorials for solving situations in which not all of the possibilities will be selected. So, for example, if we wanted to know how many ways can first, second and third place finishes occur in a race with 7 contestants, ...
🌐
BetterExplained
betterexplained.com β€Ί articles β€Ί easy-permutations-and-combinations
Easy Permutations and Combinations – BetterExplained
5 factorial! ... And why did we use the number 5? Because it was left over after we picked 3 medals from 8. So, a better way to write this would be: where 8!/(8-3)! is just a fancy way of saying β€œUse the first 3 numbers of 8!”. If we have n items total and want to pick k in a certain order, we get: And this is the fancy permutation formula: You have n items and want to find the number of ways k items can be ordered: Combinations are easy going.
🌐
Wyzant
wyzant.com β€Ί home β€Ί math resources and math lessons β€Ί precalculus help, problems, and solutions β€Ί factorials, permutations and combinations
Factorials, Permutations and Combinations - Wyzant Lessons
February 23, 2021 - If you take a close look at the formulae for Combinations and Permutations, you will be able to see that the two can be expressed in terms of one another, i.e. from the above, the following relationship can be derived: The above can be proved by substituting the formula for permutations into the equation Β· Which as we already saw is the formula for Combinations. ... We have seen that a relatively big number (like 10 in this example) can be broken down into a product of factorials i.e.
🌐
Florida State University
math.fsu.edu β€Ί ~wooland β€Ί hm2ed β€Ί Part1Module5 β€Ί Part1Module5.pdf pdf
PART 1 MODULE 5 FACTORIALS, PERMUTATIONS AND COMBINATIONS n! "n factorial"
The answer to this problem is not 60. Although the code words "abc," "cba," and "bac" are all different from one another, the Β· subsets {a, b, c}, {c, b, a} and {b, a, c} are all the same as one another. This means that Β· the number of 3-element subsets must be fewer than 60. ... SOLUTION We choose 5 elements from a set of 8 elements. The order in which we Β· select or list the elements is not important, so this is a combination problem.
🌐
Mcckc
mcckc.edu β€Ί tutoring β€Ί docs β€Ί blue-river β€Ί math β€Ί prob_stats β€Ί Counting_Factorials_Permutations_and_Combinations.pdf pdf
The Fundamental Principle of Counting Computing Factorials
How many different possible schedule combinations Β· could you come up with if you can choose between 3 Math classes, 4 Science ... Answer οƒ  # π‘œπ‘“ π‘π‘œπ‘ π‘ π‘–π‘π‘™π‘’ π‘ π‘β„Žπ‘’π‘‘π‘’π‘™π‘’ π‘π‘œπ‘šπ‘π‘–π‘›π‘Žπ‘‘π‘–π‘œπ‘›π‘ = 3 βˆ™ 4 βˆ™ 2 = 24 ... 𝒏 π’‡π’‚π’„π’•π’π’“π’Šπ’‚π’= 𝒏! = 𝒏 βˆ™(π’βˆ’πŸ) βˆ™(π’βˆ’πŸ) βˆ™β€¦ βˆ™πŸ‘βˆ™πŸβˆ™πŸ Β· Examples - Evaluate 5! ... Permutations - The number of different ways that a group of things can be ordered.
Find elsewhere
🌐
YouTube
youtube.com β€Ί watch
Factorials, Permutations, and Combinations - YouTube
Let's learn to count. Factorials, permutations, and combinations all rely on the terribly important Fundamental Counting Principle. Make it your friend! If t...
Published Β  July 4, 2020
🌐
Math is Fun
mathsisfun.com β€Ί combinatorics β€Ί combinations-permutations.html
Combinations and Permutations
And the total permutations are: ... In other words, there are 3,360 different ways that 3 pool balls could be arranged out of 16 balls. Without repetition our choices get reduced each time. But how do we write that mathematically? Answer: we use the "factorial function"
🌐
Quora
quora.com β€Ί What-is-the-difference-between-a-permutation-and-a-factorial
What is the difference between a permutation and a factorial? - Quora
Answer (1 of 3): The Permutation is a set of all possible arrangements of some or all of a number of given things, where the order is important, for ex , the arrangement β€œab” is different from arrangement β€œba”. The Combination is similar in concept to permutation, except that β€œab” and β€œba” are c...
🌐
Free Homework Help
schooltutoring.com β€Ί home β€Ί algebra β€Ί math review of permutations and factorials
Math Review of Permutations and Factorials | Free Homework Help
December 2, 2014 - (read 10 factorial) is 10 βˆ™ 9 βˆ™ 8 βˆ™ 7 βˆ™ 6 βˆ™ 5 βˆ™ 4 βˆ™ 3 βˆ™ 2 βˆ™ 1. The number 0! is equal to 1, much in the same way that x0 is equal to 1. It is a mathematical convention that makes calculations easier. ... Combinations are rankings where the order doesn’t matter.
🌐
YouTube
youtube.com β€Ί watch
Factorials, PERMUTATIONS & Combinations | solving n-choose-k problems - YouTube
This tutorial explains what a factorial is, and how factorials are used in formulas to solve permutation and combination problems, sometimes called n-choose-...
Published Β  October 27, 2020
🌐
Blueworldcartoons
blueworldcartoons.com β€Ί PCandFNumbers.html
Permutations, Combinations & Factorial Numbers
In both of these, the factorial function is used but with a slight difference between them. You can divide the Permutation Function by r! to get the Combination Function.
🌐
Student Doctor Network
forums.studentdoctor.net β€Ί home β€Ί dental communities (dds and dmd) β€Ί dental admissions test (dat)
Combinations and Permutations and Factorials confusion | Student Doctor Network Forums
May 23, 2015 - So that's total permutations. Order does not matter when picking random events, friends to attend a movie, picking 4/10 books to randomly read...things like that. Here's Ari on the books on the shelf question: "You have 9 books total right? And presumably 9 spots on the book shelf. If all of the books were different, we'd just do 9 factorial. But since we have replicas of the same books, we're going to get duplicate combinations.
🌐
AnalystPrep
analystprep.com β€Ί home β€Ί solving counting problems through labeling, factorial notations, combinations, and permutations
Factorials, Combinations & Permutations | CFA Level 1
February 14, 2025 - When asked to come up with a number of ways to choose r items from n items when the order is not important, use the combination formula. If the order is important, use the permutation formula.
🌐
Medium
tracyrenee61.medium.com β€Ί perform-factorials-combinations-and-permutations-in-excel-629996b72aec
Perform factorials, combinations, and permutations in Excel | by Crystal X | Medium
April 24, 2025 - The factorial of number n is equal ... team’s yearbook photo, with the code being:- ... The COMBIN() function returns the number of combinations for a given number of items....
🌐
Reddit
reddit.com β€Ί r/mathhelp β€Ί why do we use factorials in permutation questions, especially repeated permutations?
r/MathHelp on Reddit: Why do we use factorials in permutation questions, especially repeated permutations?
October 31, 2021 -

So, let's say we've got characters of [a,b,c] and all the possible words from these characters: 3! = 6, right?

let's say we've got character of [a,a,b,b] and all the possible words from these characters: 4! / 2! 2! = 6.

so I wonder why and how we use factorials to find these results? What does factorials have to do with it? I want to learn the logic behind this permutation and using factorial to find it.

🌐
BYJUS
byjus.com β€Ί maths β€Ί permutation-and-combination
Permutation and Combination Questions
June 14, 2023 - In Mathematics, the concept called β€œpermutation and combinations” are applied in probability, relations and functions, set theory and so on. ... The factorial formula is used in the calculation of permutations and combinations, which is ...
🌐
Reddit
reddit.com β€Ί r/askscience β€Ί why do we use factorial to get possible combinations in the card deck?
r/askscience on Reddit: Why do we use factorial to get possible combinations in the card deck?
December 1, 2015 -

I saw this famous fact in some thead on reddit that there are less visible stars than there are possible combinations of outcomes when shuffling a deck of 52 cards.

That is by using factorial. And I've been taught that x! or "factorial" is an arithmetic process used only when elements of the group can repeat themselves, i.e. your outcome could be a deck full of aces. But this outcome is impossible.

If this is wrong, does this mean that there is a different proces than factorial that gives you even larger number?

Top answer
1 of 18
529
You are thinking of a slightly different problem. If you draw a new card at random from the deck and put it back 52 times in a row, then you would have 52 possibilities for the first card, 52 possibilities for the second card, etc. and the number of possible "shuffles" you could make would be: 52 * 52 * 52... = 5252 = 1.7e89. In that scenario you could pick up 52 aces of hearts in a row, though with a probability of 1/1.7e89. But shuffling a deck isn't like that. Shuffling a deck is equivalent to starting with an unshuffled deck and picking cards at random from it but not replacing them after you take them out. There are 52 outcomes for the first card. For each possible first card, there are only 51 cards to choose next. And for each of those combinations, there are only 50 possible number three cards to choose. So the total number of shuffles is 52 * 51 * 50 *... = 52! = 8.1e67. Still a big number, but a much smaller number than the first one we calculated. When you shuffle a deck it is obviously impossible to get 52 aces of hearts in a row, unless you are playing poker with someone who is both very sketchy and not too bright.
2 of 18
433
I think you're overthinking it. Suppose you have 52 cards scattered about. You decide to pick one of the 52 cards and lay it down in front of you - that's the bottom card of the deck. Now, you pick one of the 51 remaining cards and place it on top. Then, pick one of the remaining 50 cards and place it on top, etc. At each step, you have 52 choices, and then 51 choices, etc, so the product of these number of choices at each step is your number of possible decks: 52!