• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Basic Mathematics
  • ⌕
Permutations and Combinations: How to Choose a Counting Method

Permutations and Combinations: How to Choose a Counting Method

Written by Jean Carlos Novaes

Counting methods let you find how many outcomes are possible without listing every outcome. The right method depends on what makes two outcomes different: their order, their members, or both. You also need to know whether an item may be selected more than once.

Start with the multiplication principle

Suppose a shop offers three shoe models in two colours, and every model comes in both colours. Choosing a model and then a colour gives 3 × 2 = 6 possibilities. Multiply the number of choices at each stage. If a choice changes the options available later, use the number actually available at that stage.

Three models, each with two colour options, give six model-and-colour selections. Each path ends at one choice.
Three models, each with two colour options, give six model-and-colour selections. Each path ends at one choice.

What does a factorial count?

The factorial of a positive integer multiplies it by every smaller positive integer. By convention, zero factorial equals one. This agrees with the single way to arrange an empty selection.

5!=5×4×3×2×1=120;0!=1

Arranging every item

For n distinct items placed in n positions, there are n choices for the first position, then n − 1, and so on. Three candidates can finish in 3 × 2 × 1 = 6 orders, assuming there are no ties.

Pn=n!

When some items are identical, exchanging them does not create a new arrangement. Divide by the factorial of each repeated group. The word LEVEL has five letters, with two Ls and two Es, giving 30 distinct arrangements.

P=n!n1!n2!⋯nk!

When does the order of a selection matter?

Selecting three different digits from {1, 2, 3, 5, 7, 9} to make a three-digit number is an ordered selection without repetition. The numbers 123 and 321 are different, so the count is 6 × 5 × 4 = 120.

P(n,k)=n!(n−k)!

If repetition is allowed, each position again has all n options. Two positions filled from the five vowels give 25 strings, including AA and AE.

N=nk;52=25

Combinations count groups, not orders

Choosing three distinct marbles from twelve gives 220 possible selections. This counts one group of three, not a partition of all twelve marbles into several containers. Each group would otherwise have been counted in every possible internal order.

C(n,k)=n!k!(n−k)!

Why choosing three marbles from twelve gives 220 groups

Suppose twelve marbles are all different and we select three without replacement. The same three marbles in a different order are still the same selection, so use a combination with n = 12 and k = 3.

  1. Substitute the two counts into the combination formula. Since 12 − 3 = 9, the second factorial in the denominator is 9 factorial.

    C(12,3)=12!3!×9!
  2. Cancel the common factorial of 9. The three factors left in the numerator count ordered selections; the denominator removes the six orders of each group.

    C(12,3)=12×11×103×2×1
  3. Multiply the numerator and denominator, then divide. Each unordered group is counted exactly once.

    C(12,3)=13206=220

There are 220 selections. Multiplying 220 by the six internal orders gives 1,320 ordered selections, which checks the original count.

Choosing with repetition

If three pairs of shoes may be chosen from ten brands, brands may repeat and the purchase order does not matter, there are 220 brand selections. This assumes availability is unrestricted and distinguishes selections only by brand.

C(n+k−1,k)=(n+k−1)!k!(n−1)!

Here n is the number of available types and k is the number selected. For selections without repetition, k cannot exceed n. Before using a formula, compare two outcomes such as AB and BA: if they mean the same thing, order should not be counted. Then check separately whether AA is allowed. Those two decisions prevent most counting errors.

References

  • OpenStax. College Algebra 2e: Counting Principles.
Jean Carlos Novaes

About Jean Carlos Novaes

I hold a degree in Computer Science from the Federal University of Bahia (2017) and I am the editor and founder of this website.

Footer

Basic Mathematics

Basic Mathematics website with clear school content for elementary and high school students. Learn easily and efficiently!

ABOUT

  • About Us
  • Contact
  • Site Map

LEGAL

  • How to Cite
  • Cookie Policy
  • Privacy Policy
  • Content License
English
  • Portuguese (Português)
  • Danish (Dansk)
  • German (Deutsch)
  • English
  • Spanish (Español)
  • Finnish (Suomi)
  • French (Français)
  • Italian (Italiano)
  • Dutch (Nederlands)
  • Norwegian (Norsk)
  • Polish (Polski)
  • Portuguese (Portugal)
  • Swedish (Svenska)

© 2015–2026 · Basic Mathematics · All rights reserved.