There are n distinct white and n distinct black balls. The number of ways of arranging them in a row so that neighbouring balls are of different colours is:
A
n+1C2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(2)(n!)2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
(n!)2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
noneofthese
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B(2)(n!)2 Possible arrangements are BWBW....... or WBWB......
For combination BWBW..... , n blacks can permutate in n! ways and n white balls can permutate in n! ways
Total number of arrangements are (n!)(n!)
Since there are two possible arrangements total ways =2(n!)2