Solveeit Logo

Question

Question: In how many ways \(n\) books can be arranged in a row so that two specified books are not together....

In how many ways nn books can be arranged in a row so that two specified books are not together.

A

n!(n2)!n! - (n - 2)!

B

(n1)!(n2)(n - 1)!(n - 2)

C

n!2(n1)n! - 2(n - 1)

D

(n2)n!(n - 2)n!

Answer

(n1)!(n2)(n - 1)!(n - 2)

Explanation

Solution

Total number of arrangements of nn books 6P5×56mu!=864006P_{5} \times 5\mspace{6mu}! = 86400.

If two specified books always together then number of ways =(n1)6mu!6mu×2= (n - 1)\mspace{6mu}!\mspace{6mu} \times 2

Hence required number of ways =n6mu!(n1)6mu!6mu×2= n\mspace{6mu}! - (n - 1)\mspace{6mu}!\mspace{6mu} \times 2

=n(n1)6mu!6mu(n1)6mu×2=(n1)6mu!6mu(n2)= n(n - 1)\mspace{6mu}!\mspace{6mu} - (n - 1)\mspace{6mu} \times 2 = (n - 1)\mspace{6mu}!\mspace{6mu}(n - 2).