Solveeit Logo

Question

Question: 7 people leave their bags outside temple and returning after worshiping the deity picked one bag eac...

7 people leave their bags outside temple and returning after worshiping the deity picked one bag each at random. In how many ways at least one and at most three of them get their correct bags?

A

7C3 .9 + 7C5 .44 + 7C1 .265

B

7C6 .265 + 7C5 .9 + 7C7 .44

C

7C5 .9 + 7C2 .44 + 7C1 .265

D

None of these

Answer

7C3 .9 + 7C5 .44 + 7C1 .265

Explanation

Solution

No. of ways getting one correct

= 7C1 6! (111!+12!13!+...+16!)\left( 1 - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + ... + \frac{1}{6!} \right)

= 7C1.265

No. of ways getting two correct

= 7C2. 5! (111!+12!13!+...15!)\left( 1 - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + ... - \frac{1}{5!} \right)

= 7C2 . 44

No. of ways getting three correct

= 7C3.4! (111!+12!13!+14!)\left( 1 - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + \frac{1}{4!} \right)

= 7C3.9

Required no. of ways

= 7C3 . 9 + 7C2 . 44 + 7C1. 265