The Multiplication Rule for Successive Choices

When each allowed first choice has the same number of second choices, the product counts complete ordered outcomes.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Count simple configurations
  2. Check a changing branch count
  3. Compare a rectangular choice space with a branching one
  4. Count completed decisions

Count simple configurations

Two cases, each available in three colors, give six case-color pairs. With a free choice of four labels for each pair, there are 24 complete configurations. Cartesian products model such independent selection rules.

Check a changing branch count

If one case supports three colors and the other only two, there are five pairs. Add the different branch sizes rather than multiplying by a guessed common value. Counting disjoint cases gives that sum.[1]

Compare a rectangular choice space with a branching one

If any of three covers can pair with either of two bindings, every cover creates two distinct combinations and there are six. If one cover supports only the sewn binding, the count changes to five. Products apply when the number of choices per branch is equal. See Cartesian products.

Cover A: spiral, sewn → 2
Cover B: spiral, sewn → 2
Cover C: sewn → 1
Valid combinations: 2+2+1=5

Count completed decisions

Two routes through a decision tree can yield the same final object if earlier choices leave no trace. Check whether every path identifies a distinct output. Otherwise count equivalence classes or make the representation distinguish paths.

References

  1. Eric Lehman, F. Thomson Leighton and Albert R. Meyer, Mathematics for Computer Science ↩