Let me shade some light on this extreme beautiful question.
When a condition is only about
who sits to the left or right of whom, we don’t need to place people in exact seats.
- Pick the “marked” set (the people in the condition).
- Among them, there are k! possible relative orders.
- Each is equally likely.
- Favorable fraction = valid orders/k!.
- Multiply by n! total arrangements.
This is called the
relative order method (or symmetry in linear arrangements). I am not sure what it is called but I read it in my Engineering course.
Apply to this example
- Total = 7!.
- Marked set = {A,F,E}.
- Relative orders = 3!=6.
- Condition: E<F<A. Only 1 of the 6 works.
- Answer = 1/6×7!=7!/6.
Here are some tiny example around which you spindle your head.
- 8 people, A must sit to the left of B.
- 9 people, A must sit to the left of both B and C.
- 7 people, A between B and C.
- 6 people, A left of B and C left of D (independent).
Answers
1. Answer = 8!/2
2. (A is first among the three). Valid orders = 2/6.
Answer = 9!/3.
3. (A in middle → BAC or CAB). Valid orders = 2/6.
Answer = 7!/37!/37!/3.
4. Each pair has 1/2 chance, so total fraction = 1/4.
Answer = 6!/46!/46!/4.
bb Bunuel KarishmaB chetan2u Please check my solution — if I’ve messed up, feel free to roast me gently. And I’m desperate for kudos, so don’t be stingy... they’re calorie-free anyway!”