PDF download Download Article
Calculate permutations with and without repetition
PDF download Download Article

If you're working with combinatorics and probability, you may need to find the number of permutations possible for an ordered set of items. A permutation is an arrangement of objects in which the order is important [1] (unlike combinations , which are groups of items where order doesn't matter [2] ). You can use a simple mathematical formula to find the number of different possible ways to order the items. To start off, you just need to know whether repetition is allowed in your problem or not, and then pick your method and formula accordingly.

Permutation Formula

The formula for computing permutations is . is the total number of options to choose from and is how many items you need to choose.

Method 1
Method 1 of 2:

Calculating Permutations without Repetition

PDF download Download Article
  1. This kind of problem refers to a situation where order matters, but repetition is not allowed; once one of the options has been used once, it can't be used again (so your options are reduced each time). [3]
    • For instance, you might be selecting 3 representatives for student government for 3 different positions from a set of 10 students. No student can be used in more than one position (no repetition), but the order still matters, since the student government positions are not interchangeable (a permutation where the first student is President is different from a permutation where they're Vice President).
    • This kind of problem is often labeled as or , where is the number of total options you have to choose from and is how many items you need to choose.
  2. Watermark wikiHow to Calculate Permutations
    . In the formula, is the number of total options you have to choose from and is how many items you need to choose, where order matters and repetition is not allowed.
    • In this example, would be the total number of students, so would be 10, and would be the number of people chosen, so would be 3.
    Advertisement
  3. Watermark wikiHow to Calculate Permutations
    Plug your numbers in for and .
    • In this case you'd have .
  4. Watermark wikiHow to Calculate Permutations
    • If you have a calculator handy, find the factorial setting and use that to calculate the number of permutations. If you're using Google Calculator, click on the x! button each time after entering the necessary digits.
    • If you have to solve by hand, remember that, for each factorial , you start with the main number given and then multiply it by the next smallest number, and so on until you get down to 0.
    • For example, you would calculate 10! by doing (10 * 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1), which gives you 3,628,800 as a result. 7! would be (7 * 6 * 5 * 4 * 3 * 2 * 1), which would equal 5,040. You'd then calculate 3,628,800/5,040.
    • In the example, you should get 720. That number means that, if you're picking from 10 different students for 3 student government positions, where order matters and there is no repetition, there are 720 possibilities.
  5. Advertisement
Method 2
Method 2 of 2:

Calculating Permutations with Repetition

PDF download Download Article
  1. Watermark wikiHow to Calculate Permutations
    • For example, if you have 10 digits to choose from for a combination lock with 6 numbers to enter, and you're allowed to repeat all the digits, you're looking to find the number of permutations with repetition.
    • A permutation with repetition of n chosen elements is also known as an " n -tuple". [4]
  2. Watermark wikiHow to Calculate Permutations
    . In this formula, n is the number of items you have to choose from, and r is how many items you need to choose, in a situation where repetition is allowed and order matters. [5] [6]
    • In the example, is , and is .
  3. Watermark wikiHow to Calculate Permutations
    • In the example, you'll get the equation .
  4. Watermark wikiHow to Calculate Permutations
    If you have a calculator handy, this part is easy: Just hit 10 and then the exponent key (often marked x y or ^ ), and then hit 6 .
    • In the example, your answer would be . This means that, if you have a lock that requires the person to enter 6 different digits from a choice of 10 digits, and repetition is okay but order matters, there are 1,000,000 possible permutations.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Is there an easy way in order to memorize the formula for this?
    Alex
    Top Answerer
    Yes. Think of it like this: subtract the total amount by the total items. For example 7 and 4. Then, find 7! to 4, so 7x6x5 and then find the answer, and you’ll get the permutations.
Ask a Question
      Advertisement

      Tips

      • Some graphing calculators offer a button to help you solve permutations without repetition quickly. It usually looks like n P r . If your calculator has one, hit your value first, then the permutation button, and then your value.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 84,319 times.

      Did this article help you?

      Advertisement