Skip to main content

P(n,r)

P(n,r) is the number of ways to choose and arrange r items from n distinct items when order matters. In Intro to Statistics, you use it for probability and counting problems.

Last updated July 2026•Fiveable Content Team

What is P(n,r)?

P(n,r) is the permutations formula in Intro to Statistics, and it counts how many ordered arrangements you can make by taking r objects from a set of n distinct objects. The order matters, so ABC is different from ACB. That is the big idea that separates permutations from combinations.

The formula is P(n,r) = n! / (n-r)!. That fraction may look fancy, but it is really just a shortcut for multiplying the number of choices at each step: n choices for the first spot, then n - 1 for the next, then n - 2, and so on until you fill r positions. For example, if you are arranging 3 books out of 5 on a shelf, the count is 5 x 4 x 3, which is P(5,3) = 60.

A good way to think about P(n,r) is as a partial lineup. You are not using all the items, just enough to fill a specific number of slots, and each different order counts as a new outcome. That is why P(n,n) becomes n!, because when you use all the objects, you are counting every possible arrangement of the full set.

This term shows up a lot in probability because many probability problems start by counting possible outcomes. If a problem asks for the chance of getting a specific ordered result, you first count the favorable outcomes and the total outcomes with permutations. That makes P(n,r) part of the setup, not the final answer by itself.

One common mistake is using P(n,r) when the order does not matter. If you are just choosing a group, use combinations instead. If the problem gives roles, rankings, passwords, schedules, or any ordered sequence, P(n,r) is usually the right move.

Why P(n,r) matters in Intro to Statistics

P(n,r) matters in Intro to Statistics because a lot of probability work starts with counting ordered outcomes correctly. If you count the sample space wrong, your probability answer will be off even if the rest of your math is perfect. This is why permutations show up early in the probability unit, right next to factorials and the Fundamental Counting Principle.

It also helps you decide which counting tool fits the situation. A class roster, contest ranking, or seating order can look similar to a simple selection problem, but the math changes as soon as order matters. P(n,r) gives you a fast way to tell whether the situation is about arrangement rather than just choosing a group.

In intro stats problems, permutations often connect to real decisions and real data situations. You might count possible lineups, rankings, passwords, or ordered results in a probability scenario. Once you can spot the structure, you can set up the problem faster and avoid mixing up permutations with combinations or repeated-choice situations.

Keep studying Intro to Statistics Unit 3

Official unit cheatsheet

open one-pager

How P(n,r) connects across the course

Permutation

P(n,r) is the formula used to count a permutation when you select r items from n distinct items and the order matters. If a question says ranking, arranging, or assigning positions, you are usually dealing with a permutation. This is the broader counting idea that P(n,r) turns into a quick calculation.

Combination

Combination is the closest comparison because it also counts choices from a set, but order does not matter there. If you are picking a group of three people and the positions are irrelevant, combinations fit better than P(n,r). A lot of mistakes happen when students count the same group in different orders as if they were different outcomes.

Fundamental Counting Principle

The permutation formula comes from repeated multiplication, which is exactly what the Fundamental Counting Principle describes. You multiply the number of choices for each step, then narrow the pool after each selection if items cannot repeat. P(n,r) is basically the shortcut version of that step-by-step counting pattern.

Factorial

Factorial notation is the engine behind P(n,r), because n! and (n-r)! appear in the formula. Knowing how factorials expand helps you see why the permutation formula works and why terms cancel. If factorials feel messy, they are usually easier once you rewrite them as products.

Is P(n,r) on the Intro to Statistics exam?

A quiz problem will usually give you a situation and ask for the number of ordered outcomes, or ask you to find a probability based on ordered selections. Your job is to notice whether the order matters, then decide whether P(n,r) fits. If the problem describes ranking finalists, assigning seats, or making an ordered code, use permutations rather than combinations.

For a computation question, plug the values into P(n,r) = n! / (n-r)!, or expand it as a product if that is easier. If the question is part of a probability setup, use the permutation count to build the sample space or favorable outcomes before dividing. A common error is forgetting that changing the order creates a new outcome, which can make the denominator or numerator too small.

On written or discussion problems, explain why the answer uses permutations by pointing to the order in the situation. That explanation usually matters as much as the arithmetic.

P(n,r) vs Combination

These two are easy to mix up because both count selections from a set. The difference is order: P(n,r) counts ordered arrangements, while combinations count groups where order does not change the outcome. If switching the positions changes the result, use P(n,r). If it does not, use combinations.

Key things to remember about P(n,r)

  • P(n,r) counts ordered arrangements of r items chosen from n distinct items.

  • The formula is P(n,r) = n! / (n-r)!, which is a shortcut for step-by-step multiplication.

  • Use permutations when order matters, like rankings, lineups, or assigned positions.

  • If order does not matter, P(n,r) is the wrong tool and combinations are usually the better choice.

  • In probability, P(n,r) often helps you count outcomes before you calculate a probability.

Frequently asked questions about P(n,r)

What is P(n,r) in Intro to Statistics?

P(n,r) is the number of ways to arrange r items chosen from n distinct items when order matters. In Intro to Statistics, it shows up in counting and probability problems where the sequence or ranking changes the outcome. The formula is P(n,r) = n! / (n-r)!.

How do you know when to use P(n,r) instead of combinations?

Use P(n,r) when order matters, like first place, second place, or a seating lineup. Use combinations when you only care about which items are chosen, not the order they appear in. A quick check is to ask whether swapping two items changes the result.

How do you calculate P(n,r)?

Plug n and r into P(n,r) = n! / (n-r)!. You can also think of it as multiplying n choices, then n - 1, then n - 2, until you have r factors. For example, P(5,3) = 5 x 4 x 3 = 60.

Why does order matter in permutations?

Order matters because different positions create different outcomes. If you are assigning ranks, seats, or roles, changing the arrangement changes the meaning of the selection. That is why ABC and ACB count as different permutations.