Question about permutation formula -- How to use the formula when r = 0 ?

In summary, the conversation was about the importance of having a healthy work-life balance. The two speakers discussed the negative effects of overworking and shared tips on how to maintain a balance between work and personal life. They emphasized the importance of prioritizing self-care and setting boundaries to avoid burnout.
  • #1
songoku
2,368
349
Homework Statement
This is not homework

The formula of permutation is ##P^n_r=\frac{n!}{(n-r)!}=n(n-1)...(n-r+1)##

I want to ask how to use the formula when r = 0
Relevant Equations
##P^n_r=\frac{n!}{(n-r)!}=n(n-1)...(n-r+1)##
##P^5_0=\frac{5!}{(5-0)!}=1##

But when I use ##P^n_r=n(n-1)...(n-r+1)##, I get ##P^5_0=5(4)...(6)##

Where is the mistake? Thanks
 
Physics news on Phys.org
  • #2
You use the forlula which is applicable for r ##\ge## 1 and not applicable for r=0. 5>4>3>...>6 is obviously unreasonable.
 
  • Like
Likes songoku
  • #3
anuttarasammyak said:
You use the forlula which is applicable for r ##\ge## 1 and not applicable for r=0. 5>4>3>...>6 is obviously unreasonable.
Sorry I still don't really understand.

##P^n_r=n(n-1)...(n-r+1)## is derived from ##P^n_r=\frac{n!}{(n-r)!}## and for the later formula there is no restriction ##r \geq 1##

So it means we add a new restriction when deriving the formula ##P^n_r=n(n-1)...(n-r+1)##?

Thanks
 
  • #4
The formula [tex]
n! = \prod_{r=1}^n r[/tex] for [itex]n > 0[/itex] gives the familiar [tex]
n! = n \times (n-1) \times \dots \times 2 \times 1.[/tex] But for [itex]n = 0[/itex] it gives the empty product which by convention is [itex]\displaystyle \prod_{r \in \emptyset} r = 1[/itex]. So it should not surprise you that formulae derived for cases where arguments of ! are strictly positive may not apply when an argument of ! is zero.
 
  • Like
Likes songoku
  • #5
Thank you very much for the explanation anuttarasammyak and pasmith
 
  • #6
Another explanation is that ##P^5_0=\frac{5!}{(5-0)!} = \frac{5!}{5!} = 1##
In words, the number of permutations of 5 things taken 0 at a time is, per the above, 1.
 
  • Like
Likes songoku
  • #7
songoku said:
##n(n-1)...(n-r+1)##
… means: start with 1, then multiply it by n, then by n-1, etc., but don't go below n-r+1.
With r=0, n is already below n-r+1, so stop at 1.
 
  • Like
Likes songoku

FAQ: Question about permutation formula -- How to use the formula when r = 0 ?

What is the permutation formula?

The permutation formula is used to determine the number of ways to arrange a subset of items from a larger set. It is given by P(n, r) = n! / (n-r)!, where n is the total number of items, and r is the number of items to arrange.

What does it mean when r = 0 in the permutation formula?

When r = 0 in the permutation formula, it means you are selecting 0 items from a set of n items. This is a special case where you are essentially not selecting any items at all.

How do you calculate P(n, 0) using the permutation formula?

To calculate P(n, 0) using the permutation formula, you substitute r with 0 in the formula: P(n, 0) = n! / (n-0)!. This simplifies to P(n, 0) = n! / n!, which equals 1 because any number factorial divided by itself is 1.

Why is P(n, 0) equal to 1?

P(n, 0) is equal to 1 because there is exactly one way to arrange zero items, which is to do nothing. In combinatorial terms, there is one way to choose an empty subset from any set, which explains why the result is 1.

Can you provide an example of using the permutation formula when r = 0?

Sure! Let's say you have a set of 5 items (n = 5) and you want to find the number of ways to arrange 0 items (r = 0). Using the formula P(5, 0) = 5! / (5-0)!, we get 5! / 5!, which simplifies to 1. Therefore, there is exactly one way to arrange 0 items from a set of 5.

Similar threads

Back
Top