Logic is not correct at all, that's why it's working for only few cases.
If we put only first 2 letter in correct envelopes, that doesn't mean that we have 2 options for each of the remaining spots (If it were, then our answer would be 2*2*2=8 not 2) , because filling each spot is dependent on other in this question.(We need inclusion-exclusion principle to calculate)
Suppose ABCDE is the correct order. Let's see the cases in which only AB is at correct place.
Case 1- when C is at 4th place - ABECD (1 arrangement)
Case 2- when C is at 5th place- ABDEC (1 arrangement)
Total possible arrangements 1+1=2(right way to solve it)
Since there is only 1 arrangement possible in each case, that false logic works(2*
1).If the arrangements are more than 1 in each case, then this logic fails(as in the following case.)
Suppose ABCDE is the right order
Number of ways to put only A in the right place
i)When B is at 3rd place - ACBED, ADBEC, AEBCD
ii)When B is at 4th place - ACEBD, ADEBC, AEDBC
iii) When B is at 5th place - ACEDB, ADECB, AEDCB
We have 3 arrangements possible in each case. (total possible arrangements is 3+3+3, not 3*1)
If you still have any doubt, you can ask.
ShreyasJavahar wrote:
Hi Nick,
Could you please explain why the logic here is not working? The same procedure works for the other scenarios, I'm unable to arrive at 5*9 using the logic that works for the other scenarios.