If I have 4 people and I want to take a picture of them standing side by side, how many total different combinations can I use? If I have 5? if I have 10? Is there a mathematical equation that would figure out the total no matter how many people I start with?



If person A can be in any of four positions, then person B can be in any of three, and so on.

Combination= n! or in this case 4*3*2*1

Suppose you have N people. Then there are N choices for choosing which person will stand to the right of everyone else. Clearly all these N choices for choosing which person will stand on the right will lead to different combinations.

Once you have made your choice for the person who will stand on the right, you have N-1 persons left. You can then choose which of these persons will stand next to the first person you have chosen. For a given choice of the first person all these N-1 choices will lead to different combinations. In fact, if you keep the choice for the first person fixed, the total number of combinations is just what the answer to the original problem would be if N were replaced by N-1.

So, we can conclude that for N persons the number of combinations is N times the number of combinations for N-1 persons. Now for 1 person the number of combinations is, of course, 1. This means that for 2 it is 2*1 = 2. For 3 it is 3*2*1 = 6, for 4 it is 4*6 = 24, etc.

The notation N! (factorial N) is used to denote this quantity:

N! = N*(N-1)*(N-2)*...*1

good post.

To calculate the total number of different combinations, you can use the factorial function, denoted as N!. This is because you have N choices for the first person, N-1 choices for the second person, N-2 choices for the third person, and so on, until you have only 1 choice left for the last person.

So, the mathematical equation to find the total number of combinations for N people is:

Combination = N!

For example:
- If you have 4 people, the total combinations would be 4! = 4*3*2*1 = 24.
- If you have 5 people, the total combinations would be 5! = 5*4*3*2*1 = 120.
- And if you have 10 people, the total combinations would be 10! = 10*9*8*7*6*5*4*3*2*1 = 3,628,800.

Using the factorial function allows you to easily find the total number of combinations for any number of people.