(Click on the right arrow to begin.)
(Click the right arrow to continue.)
ABCD BACD CABD DABC
ABDC BADC CADB DACB
ACBD BCAD CBAD DBAC
ACDB BCDA CBDA DBCA
ADBC BDAC CDAB DCAB
ADCB BDCA CDBA DCBA
(Click right arrow to continue.)
* I often call these "success" and "failure" piles in class. Successes are the things you're interested in (looking for) and failures are those things you're not interested in.
(Click the right arrow to continue.)
AB CD BA CD CA BD DA BC
AB DC BA DC CA DB DA CB
AC BD BC AD CB AD DB AC
AC DB BC DA CB DA DB CA
AD BC BD AC CD AB DC AB
AD CB BD CA CD BA DC BA
(Click right arrow to continue.)
So let's split each permutation into a selected (success) pile with X = 2 members and a discard (failure) pile with n - X = 2 members.
split
selected discarded
AB CD BA CD CA BD DA BC
AB DC BA DC CA DB DA CB
AC BD BC AD CB AD DB AC
AC DB BC DA CB DA DB CA
AD BC BD AC CD AB DC AB
AD CB BD CA CD BA DC BA
(Click right arrow to continue.)
In practice, the order of the members (items) in the discard pile never matters; it's always a set. So, for example, the two permutations AB CD and AB DC count as one arrangement.
Because CD is the same as
DC, these two count as one.
AB CD BA CD CA BD DA BC
AB DC BA DC CA DB DA CB
AC BD BC AD CB AD DB AC
AC DB BC DA CB DA DB CA
AD BC BD AC CD AB DC AB
AD CB BD CA CD BA DC BA
(Click right arrow to continue.)
We can reduce the total count of n! = 24 by the number of ways we can arrange the discard pile, (n - X)! = 2! = 2. Our count is now 4!/2! = 12 unique arrangements.
AB CD BA CD CA BD DA BC
AC BD BC AD CB AD DB AC
AD BC BD AC CD AB DC AB
(Click right arrow to continue.)
This then is the number of ways to draw X = 2 items from a set of n = 4 when order does not matter in the discard pile and order does matter in the selected pile: 4!/(4-2)! = 12. That is, we draw out one list and one set, which is a partial permutation.
AB CD BA CD CA BD DA BC
AC BD BC AD CB AD DB AC
AD BC BD AC CD AB DC AB
(Click right arrow to continue.)
If order doesn't matter in the selected pile--for example, when we consider AC BD to be the same as CA BD--then we further reduce this permutation by X! = 2! = 2. So now 4!/(2!2!) = 6. We draw out two sets. This is a combination.
Order matters in the selected pile.
Order doesn't matter in the discard pile.
(Click the down arrow for the solution.)
Order matters in the selected pile.
Order doesn't matter in the discard pile.
AB AC AD AE BA BC BD BE CA CB CD CE
DA DB DC DE EA EB EC ED
(Click on the right arrow for the next example.)
Order doesn't matter in the selected pile.
Order doesn't matter in the discard pile.
(Click the down arrow for the solution.)
Order doesn't matter in the selected pile.
Order doesn't matter in the discard pile.
ABC ABD ABE ACD ACE ADE
BCD BCE BDE CDE
(That's it. Close the window when you're done.)