Answer on Question #62439 – Math – Discrete Mathematics
Question
A panel is conducting an interview on six candidates of different heights. If they are to put them in line, in how many ways can they arrange them in line such that no three consecutive candidates are in increasing order of height from front to back?.
Solution
First, note that there are ∣X∣=6!=720 ways to arrange the candidates.
Next, let Dn be the event that the n-th through n+2-th candidates are in increasing order of height. We therefore want to find ∣X∖(D1∪D2∪D3∪D4)∣.
By the inclusion-exclusion principle we have
∣(D1∪D2∪D3∪D4)∣==∣D1∣+∣D2∣+∣D3∣+∣D4∣−(∣D1∩D2∣+∣D2∩D3∣+∣D3∩D4∣+∣D1∩D3∣+∣D2∩D4∣)+∣D1∩D4∣)+(∣D1∩D2∩D3∣+∣D2∩D3∩D4∣+∣D1∩D2∩D4∣+∣D1∩D3∩D4∣)−∣D1∩D2∩D3∩D4∣==4∗∣D1∣−3∗∣D1∩D2∣−2∗∣D1∩D3∣−∣D1∩D4∣+2∗∣D1∩D2∩D3∣+2∗∣D1∩D2∩D4∣−∣D1∩D2∩D3∩D4∣==4∗∣D1∣−3∗∣D1∩D2∣−2∗∣D1∩D3∣−∣D1∩D4∣+2∗∣D1∩D3∣+2∗∣D1∩D2∩D4∣−∣D1∩D2∩D4∣==4∗∣D1∣−3∗∣D1∩D2∣−∣D1∩D4∣+∣D1∩D2∩D4∣=4∗(36)∗3!−3∗(46)∗2!−(36)+1==4∗20∗6−3∗15∗2−20+1=371.
So ∣X∖(D1∪D2∪D3∪D4)∣=∣X∣−∣(D1∪D2∪D3∪D4)∣=720−371=349.
Answer: 349.
www AssignmentExpert.com
Comments