Permutations vs. combinations and when to use each formula

Suppose you have four flavors of ice cream and want to choose three. Do you care which one you eat first? That one question tells us whether we’re counting permutations or combinations.

Decide whether changing the order gives a new result

A permutation is an ordered arrangement. If you swap the second and third scoops, you get a different permutation. A combination is a group of items. Swapping their order still gives the same combination.

When to use each count
What we’re countingDoes order matter?
Permutations of three scoopsYes
Combinations of three scoopsNo

Count the permutations of three scoops

Let’s say we have one scoop each of chocolate, strawberry, vanilla, and mint. There are 4 choices for the first scoop, 3 for the second, and 2 for the third. Once we choose a scoop, it’s gone.

4×3×2=24

The formula writes that same product using factorials. If we arrange k of n distinct items without repetition, use P(n,k). The denominator cancels the factors left over after the first k choices.

P(n,k)=n!(n-k)!P(4,3)=4!1!=24

Count the combinations of three scoops

Every group of three shows up in 3!=6 orders among those permutations. Divide by 3! so that chocolate, strawberry, vanilla and chocolate, vanilla, strawberry count as one group.

C(n,k)=n!k!(n-k)!C(4,3)=246=4

We can check the answer by leaving out one flavor at a time. Leaving out chocolate, strawberry, vanilla, or mint gives the four different groups. You may also see C(n,k) written as a binomial coefficient and read as “n choose k.”