Question
Question: if there are 5 persons who want to get off a lift in any one of the 7 floors such that each goes to ...
if there are 5 persons who want to get off a lift in any one of the 7 floors such that each goes to a different floor then find number of ways
2520
Solution
The problem asks us to find the number of ways 5 persons can get off a lift in any one of 7 floors such that each person goes to a different floor. This is a permutation problem because the order in which persons choose floors matters, and each person must choose a unique floor.
We have 7 distinct floors available and 5 distinct persons.
Let's consider the choices for each person:
- The first person has 7 options for the floor to get off.
- Since the second person must get off at a different floor than the first, there are 6 remaining options for the second person.
- For the third person, there are 5 remaining floor options (different from the first two).
- For the fourth person, there are 4 remaining floor options.
- For the fifth person, there are 3 remaining floor options.
By the fundamental principle of counting (product rule), the total number of ways is the product of the number of choices for each person:
Number of ways = 7×6×5×4×3
Calculating the product:
7×6=42
42×5=210
210×4=840
840×3=2520
Alternatively, this can be solved using the permutation formula P(n,k)=(n−k)!n!, where 'n' is the total number of items to choose from (7 floors) and 'k' is the number of items to choose (5 persons).
P(7,5)=(7−5)!7!=2!7!=2×17×6×5×4×3×2×1=7×6×5×4×3=2520.
The total number of ways is 2520.